Faster Booting Via Parallel CPU Bringup Hits A Snag With Older AMD CPUs

Written by Michael Larabel in AMD on 21 April 2022 at 07:42 AM EDT. 7 Comments
AMD
At the end of last year you may recall the talked about Linux kernel patches for booting systems faster by allowing the parallel bring-up of secondary CPU cores. It's been a while since hearing much about that effort but seems to have hit a snag in that the code is running into problems on early Zen CPUs and older.

Going back to last December when that latest code was posted for supporting parallel CPU bring-up on x86_64, there were reports of problems for some AMD hardware. However, debugging the issue is a challenge with the system getting stuck early on in the boot process with minimal information available and completely crashes/hangs the system.

Finally today is an update on that matter - confirming from additional testing that Zen/Zen+ CPUs appear affected by this issue with parallel CPU bring-up while newer Zen 2 and Zen 3 processors appear to behave fine. Debugging the Zen/Zen+ issues remains a challenge due to failing quickly and not getting any output from the system at boot. Besides Zen/Zen+ being botched with this parallel CPU boot code, previously it was also reported pre-Zen APUs/CPUs having trouble too.


So while this CPU parallel boot support for Intel/AMD x86_64 is promising especially for significant boot time savings with higher core count systems, given the lack of notable progress in recent months it doesn't appear to be much of a priority and also remains complicated by this AMD issue and going through the mailing list there may be some other quirks/issues too. Hopefully they'll be able to sort through these problems otherwise if/when these patches move forward could end up having to blacklist/whitelist CPUs for enjoying this functionality.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week