6 ms·
New Linux OS Scheduler Reduces Lag by Keeping Light Work on Fewer CPU Cores
- ChoGGi 4y agoThe Tom's article references a phoronix article https://www.phoronix.com/news/Nest-Linux-Scheduling-Warm-Core https://www.phoronix.com/news/Nest-Linux-Scheduling-Warm-Cor...
- btdmaster 4y agoThe slides are interesting, though I wonder whether the 5% power consumption increase could go away: https://lpc.events/event/16/contributions/1198/attachments/983/1909/plumbers.pdf https://lpc.events/event/16/contributions/1198/attachments/9...
- wing-_-nuts 4y agoInteresting. I recently switched from arch to popOS, and one thing that I noticed was that my laptop no longer dropped frames watching 1080p youtube, and the subtitles do a better job keeping up at 2x speed. This is supposedly due to a different scheduler. Granted, while I've got no hard evidence I'm thermal throttling, I probably need to reapply thermal paste. When I did that for an old laptop my temps dropped by 20c and it noticeably improved it's performance.
- danogentili 4y agoYou probably didn't install/enable hardware acceleration in arch as described here: https://wiki.archlinux.org/title/Hardware_video_acceleration https://wiki.archlinux.org/title/Hardware_video_acceleration
- wing-_-nuts 4y agoYeah, I've been using linux for over 20 years, but I was pretty shocked by the number of sharp edges I encountered with arch. A recent update basically borked grub. On investigating the issue I found that the arch maintainers were shipping grub builds from the grub master branch, and when I pointed out this might not be the best idea the maintainer got huffy and said maybe I wasn't 'ready for arch'. I installed popOS that day. I miss the AUR a bit, but pop resolves most of the issues I had with ubuntu, and starts and runs noticeably faster than arch, so all in all I'm pretty happy with it. It's a shame that arch can be so user hostile. I really admire it's wiki.
- entropicdrifter 4y agoArch is great as a hobby, the problems only come up if you also want to use your computer for other hobbies. I installed arch on my laptop back in 2010 and it was a worthwhile learning experience, but these days I use Mint with the Liquorix kernel and it's fantastic for regular desktop usage and gaming.
- gmadsen 4y agouse manjaro. really, you get the benefits of AUR, stable rolling release, without all the headache of arch I haven't had a single update issue so far in the last year
- pkulak 4y agoI recently switched from Arch to Fedora Silverblue. I have my terminal open directly into an Archlinux container created by Distrobox. In there I have all my usual bits and bobs installed from the main Arch repos, plus the aur. Even graphical stuff, like Sublime Music, which I export to the host. But you don't need to be running Silverblue. You should give it a shot on PopOS; it really makes you feel at home coming from Arch.
- nerpderp82 4y agohttps://github.com/89luca89/distrobox https://github.com/89luca89/distrobox If done right this could be a baby step towards Qubes, https://www.qubes-os.org/ https://www.qubes-os.org/
- Rebelgecko 4y agoI wonder how this interacts with big.Little style architectures, like Intel is moving towards with their E cores
- LoganDark 4y agoI'm still waiting for proper big.LITTLE that isn't just coping. Intel has way too many E-cores -- you shouldn't need that many, but I think most of them would've been P-cores if Intel had die space and thermal efficiency to spare... Apple doesn't have that problem with M1, so they can do crazy things like 10 P-cores + 2 E-cores in a laptop, while Intel is just constantly bleeding E-cores trying to reach high core counts. Even Intel's very highest-tier flagship desktop options still don't have more P-cores than E-cores.
- sgerenser 4y agoNot a big fan of Intel, but it does make some sense for them to use more E cores compared to Apple. My recollection is the perf delta between Intel E cores and P cores is a good bit smaller than on Apple’s M series chips. At the same time, their P cores are much less efficient than Apple’s. So the ideal mix for Intel is going to lean more on the E cores.
- avidphantasm 4y agoBased on my quick reading of this it doesn’t seem like the nesting structure explicitly takes into consideration the presence of efficiency cores. Am I missing something? How would this perform (in terms of latency, throughput, and power efficiency) on a hybrid CPU? Is this only meant for classic SMP and/or NUMA systems?
- jeffbee 4y agoIt seems to be focused more on throughput-oriented workloads on large-bordering-on-exotic multi-node servers (e.g. 4-socket Xeons). It doesn't seem to have been evaluated at all in terms of latency (i.e. how long after a network request or other exogenous event arrives is a thread running on the CPU, and is that wakeup CPU selection optimal).
- alkonaut 4y agoIt also sounds like it doesn’t query the power states/frequencies and instead simply assumes a recently used core will be more efficient to use than idle one? Is that correct and if so, why? Is it slow or inefficient to query power states at regular intervals? Or would it require more bespoke per-cpu code that you don’t want in a scheduler? That type of knowledge seems it’s still inevitable to schedule between big/little cores anyway?
- eklitzke 4y agoLinux Plumbers Conference presentation on this work: https://www.youtube.com/watch?v=_h-kV8AYYqM&t=11097s https://www.youtube.com/watch?v=_h-kV8AYYqM&t=11097s Slides: https://lpc.events/event/16/contributions/1198/attachments/983/1909/plumbers.pdf https://lpc.events/event/16/contributions/1198/attachments/9...
- deleted 4y ago[deleted]