How a performance boost in Linux kernel for one family of Intel chips slowed its latest Alder Lake processors

The mixture of performance and efficiency CPUs in Intel's 12th-gen Core processors, code-named Alder Lake, hasn't just been causing problems for some Windows gamers - it almost led to complications for Linux.

Phoronix's Michael Larabel noticed a performance hit in the kernel a fortnight ago - in a work-in-progress release candidate, we should stress - and a fix for the scheduling code landed a little later. It turned out the kernel suffered on Alder Lake chips due to a performance-enhancing tweak for another Intel processor family: the multiple-Atom-core-based Jacobsville.

This year, Intel officially canned its Lakefield chips. These consisted of a performance core called Sunny Cove as well as Atom-class efficiency cores dubbed Tremont. Crucially, there are still multi-Tremont-core embedded processors out there, such as Snow Ridge. These are server and infrastructure-oriented components with up to 24 cores.

The first proposed cut of kernel 5.16, specifically 5.16-rc1, contained a revision to the scheduler that makes it aware that some clusters of cores share a block of L2 cache - as seen in Snow Ridge and Jacobsville.

Unfortunately, this had a side effect. Alder Lake chips have a mixture of efficiency and performance cores, but it seems they all report themselves to the kernel as having the same maximum performance. This leads the kernel to schedule performance-critical tasks onto the efficiency cores - actually reducing overall performance.

Now it's been fixed, or so we're told, and we all get to see an example of Linux kernel development in action. Unless you installed a release candidate on your Alder Lake machine with the initial scheduler tweak, you won't have felt the slowdown effects.

As usual there are multiple other tweaks and improvements coming to the kernel, including performance improvements, better Raspberry Pi Compute Module support, and live migration of AMD's encrypted virtual machines. There's also a new kernel function call, sys_futex_waitv(), which reproduces a Windows kernel function call in order to improve the performance of Windows games being played on Linux using WINE - another sign that such things are becoming more mainstream. ®

Search
About Us
Website HardCracked provides softwares, patches, cracks and keygens. If you have software or keygens to share, feel free to submit it to us here. Also you may contact us if you have software that needs to be removed from our website. Thanks for use our service!
IT News
Jan 15
Tesla Full Self-Driving videos prompt California's DMV to rethink policy on accidents

Plus: AI systems can identify different chess players by their moves and more

Jan 15
Tesla Full Self-Driving videos are prompt California's DMV to rethink policy on accidents

Plus: AI systems can identify different chess players by their moves and more

Jan 15
Alibaba ponders its crystal ball to spy coming advances in AI and silicon photonics

Machine learning to propel us into glorious era of scientific discovery

Jan 14
Google says open source software should be more secure

At the White House Open Source Summit, the Chocolate Factory floated a few ideas to make that happen