Under the Hood with FreeBSD and Ampere Altra

  • Thread starter Thread starter Anne Dickison
  • Start date Start date
Status
Not open for further replies.
A

Anne Dickison

Guest
LuihtVclcfxLzYufFzE2-FxsG07LM2yet9SQA0ly6LIbw4TWT-T_je4WUdtc5orLZY2piW9kJCBl9FYBa7GMOI_JwYBozX1R1bNb3fjqJwXW1zbPmkF7KNX5zfG4Ae_XqwSYA7w970wkJO5MDNI-U5SIEhCdINoVhvZZvIyJ2Vf1YxBp6SCi3QyaqKdFiWHhoCk-Ipup7Q

Ed modeling with the Ampere Altra Platform in the FreeBSD Foundation’s Kitchener office.

The FreeBSD Project has been working with Ampere Computing for several years, making sure that FreeBSD is well supported on Ampere CPUs, and using Ampere servers for building FreeBSD/arm64 package sets. Ampere recently provided the project with a pair of Ampere Altra systems, initially for platform bring-up and later to support performance improvements in FreeBSD.

WfsSLjwIeiH8I1rc4vQrBI8B19pKI1Ay3TKJsPiTWzObD6htfynjScOMeiuzsy8CoJjXgxk-34c1-qnasBOJPz954M4MIViJT9THFXhqjLsEQCdekD0zn14jxkZ9HT2yu1Lugvt_BuY1yUqhrjtJsUJM9Os4oKSLYGJQbAt7GUSGIJcnW5WyqtHPEsX-J6NGzT7UjGMYjA

Oh no! The Altra does not fit in our donated rack space. We’re going to move it to a suitable home in another facility.

We brought one of the Altras to the FreeBSD Foundation’s development office in Kitchener, Ontario, Canada, for hands-on development. The second one went to the project’s donated datacenter space. Unfortunately it turns out our racks are not deep enough to fit!

K-lNG33qt0km0H_B21yzmZoXaWV34MCKcR4VnfWnk0DMvD_YH1XvyQwm1rkL7uVhh0ty-aBBOmrQd-_Qk-DOXkYrFQrCYWoFa_eTUv6MvJlikdVl9vbcQNWewSFS7LhnZlsOgsJoEnWeIJgLhSvCxYUiG6rLsTcqn7bP6-68ybLXeYHW-kV7pvtFpXR-IFvkzTPFkzELZA

The Ampere Mt. Collins platform fits in the Kitchener test rack.

We first powered it up with a FreeBSD snapshot image. Unfortunately our first experience was a kernel panic! Andrew Turner found the problem and had the fix ready in short order. The fix was committed in https://cgit.freebsd.org/src/commit/?id=e3917bb256dea63945b5bef7fe2b792a280fcafe, and we moved onto further bring-up tasks.

Rc6F8qvLqzSYfsON79MFsFIK6vctqsNjE4TLIgIg4v1Qc8_QXBNYRDetQcqBJDfHnuqZBZtMGqoa9tdcpitpx50maDK4GI7U43zS_7Ybei5wLTcTNmABuxWxmicVsjpE0-dw3aSWm5g6ZobWK8fpwe5kRolRTdmYZuM76ehojATgZjxigr04M17v32aP5aC8r4icQDwOBA

First signs of life – we had a panic on boot.
tCmuZ5CvPglcm1q48Sv-uyIsU_XP7ybgZjVVjaZs7i2sn52YYbkQlkBhrOu6BISPgdEKq1dq9dxrEL7I9c0_l6LbIvLItzMAyhSR31jn_7x0_r9Ygfqxr4CofS9rRhf8eRTJ16yLkX8onlRb3CDyGMrkwemQ-9AKVbOUs2r_E_kNAmpLFRrI6BPJfNNJ4eV3XMt0dF8-_A

Panic Resolved
izzX1DQtRhX7YaFrZV2Vijdi7AKcpGmBqS8lj8KDrMfOuepxYspntkdlX_u_Un_vgOAtsWgNYFanuFfVCp3dVi06oYalaTHKec5v-w3TAowqk0p4KB3_MTjWbR04_yUwqPFW892gyJM5qSjx8q0VREsI3B88AcP62n7X-54-t7KeQjCR37MwdD05areQCWoWNjOxqTrxpg

Looking at htop – that’s a lot of cores!

We’re continuing with FreeBSD development on the Altra, currently working on development and integration of AArch64 support for FreeBSD’s native hypervisor, bhyve. Next steps include FreeBSD performance optimization for high core counts, and bolstering our package building capacity.


Thanks again to Ampere for their support of FreeBSD over the years, and stay tuned for further updates!


The post Under the Hood with FreeBSD and Ampere Altra first appeared on FreeBSD Foundation.

Continue reading...
 
Status
Not open for further replies.
Back
Top