logoalt Hacker News

josteinktoday at 11:38 AM5 repliesview on HN

Could this be due to how Windows vs Linux does process scheduling on CPUs with P- and E-cores?

To my knowledge Linux isn’t that capable on BIG.little architectures, and Linux power-management (as this intersects with) has always left a little to be desired - when comparing battery life to Windows.

Disclaimer: pure speculation. Possibly misinformed :-D


Replies

cherryteastaintoday at 11:54 AM

> To my knowledge Linux isn’t that capable on BIG.little

Android uses Linux as it kernel and runs on billions of devices with heterogeneous cores. Linux had this capability for way longer than Windows did; Windows for the most part did not run on devices with heterogeneous cores until the Intel Alder Lake (12th gen) CPUs.

Win11 outperformed Linux at Alder Lake release too [1] but eventually this changed and Linux was better on Meteor Lake [2]. Probably Arrow Lake has some microarchitectural changes which do not mesh well with Linux's core scheduling logic which Intel will need to fix, at which point Linux will probably close the gap again.

[1] https://www.phoronix.com/review/alderlake-windows-linux/9 [2] https://www.phoronix.com/review/intel-meteorlake-windows-lin...

show 1 reply
LtdJorgetoday at 1:41 PM

When Intel released their P/E architecture, Windows took a long time to adapt the scheduler to them. Linux destroyed it in every benchmark for months.

throw-qqqqqtoday at 11:45 AM

> Could this be due to how Windows vs Linux does process scheduling on CPUs with P- and E-cores?

Had the same thought: I would also expect this to be an artifact of suboptimal scheduling on Linux or some otherwise unidentified issue.

Linux is usually outperforming Windows by a good margin on the same hardware.

Also, in my experience, Windows 11 does not improve performance compared to Windows 10 (I have to use both versions at my dayjob).

I would be very surprised if this isn’t an issue with drivers or scheduling.

tedk-42today at 12:26 PM

Yep I suspect this too from the benchmarks. The linux kernel doesn't send the instructions to the right cores and likely sees them all as the same and not 'high power' vs 'low power' cores

nubinetworktoday at 11:47 AM

I have a 13th gen desktop and laptop, both running Linux. They work just fine.