Linus Torvalds Throws Down The Hammer: Extensible Scheduler "sched_ext" In Linux 6.11

2 years ago by Atemu to c/linux

autotldr 55 points 2 years ago

This is the best summary I could come up with:


The extensible scheduler "sched_ext" code has proven quite versatile for opening up better Linux gaming performance, more quickly prototyping new scheduler changes, Ubuntu/Canonical has been evaluating it for pursuing a more micro-kernel like design, and many other interesting approaches with it.

Torvalds feels the sched_ext code is ready enough and provides real value to the mainline Linux kernel.

This whole patchset was the major (private) discussion at last year's kernel maintainer summit, and I don't find any value in having the same discussion (whether off-list or as an actual event) at the upcoming maintainer summit one year later, so to make any kind of sane progress, my current plan is to merge this for 6.11.

I've never been a huge believer in trying to make everybody happy with code that is out of tree - we're better off working together on it in-tree.

And using the "in order to accept this, some other thing has to be fixed first" argument doesn't really work well either (and that has been discussed for over a decade at various maintainer summits).

So short of any last minute change of plans between now and mid-July when the Linux 6.11 merge window opens, looks for sched_ext in the next kernel cycle.


The original article contains 432 words, the summary contains 206 words. Saved 52%. I'm a bot and I'm open source!

path: 0 10582574, hotness: undefined, score: 55, children: 0
ozymandias117 52 points 2 years ago

Wow! I didn’t expect sched_ext to be accepted based off historical precedent of not allowing multiple schedulers

I thought the focus would be on optimizing EEVDF now

path: 0 10583181, hotness: undefined, score: 52, children: 0
Fizz 43 points 2 years ago

This is going to be such an awesome addition. I saw an interview with one of the guys working on the project and it sounded so cool. I think the interview was on tech over tea with David Vernet. Great talk about the magic box thay is the Linux kernal.

path: 0 10585200, hotness: undefined, score: 43, children: 2
anarchist 4 points 2 years ago path: 0 10585200 10589038, hotness: undefined, score: 4, children: 1
PipedLinkBot 5 points 2 years ago path: 0 10585200 10589038 10589058, hotness: undefined, score: 5, children: 0
jjlinux 38 points 2 years ago

Awesome. No idea what that means, but AWESOME!

path: 0 10587914, hotness: undefined, score: 38, children: 1
bionicjoey 36 points 2 years ago

Same. No idea what it means, but I like when Linus throws stuff.

path: 0 10587914 10588241, hotness: undefined, score: 36, children: 0
jose1324 24 points 2 years ago

Does this mean anything for me as a consumer?

path: 0 10587670, hotness: undefined, score: 24, children: 1
TheOneCurly 43 points 2 years ago

The potential for distros optimized for specific tasks without needing to swap out entire kernels. A "gaming" focused scheduler probably looks different from a big data cruncher or a super multi-tasker server.

path: 0 10587670 10589850, hotness: undefined, score: 43, children: 0
PlexSheep 20 points 2 years ago

Sounds good but what does sched_ext do and mean for the future?

path: 0 10587638, hotness: undefined, score: 20, children: 5
ElectroLisa 25 points 2 years ago

Changing schedulers on-the-fly, depending on what you need to do on your machine.

path: 0 10587638 10590958, hotness: undefined, score: 25, children: 4
PlexSheep 2 points 2 years ago

Oooh that's cool

path: 0 10587638 10590958 10620726, hotness: undefined, score: 2, children: 0
bitfucker 2 points 2 years ago

Holy shit that is one heck of a thing to do.

path: 0 10587638 10590958 10628707, hotness: undefined, score: 2, children: 0
semperverus 1 point 2 years ago

Hasnt android (or at least custom roms) had this since forever?

path: 0 10587638 10590958 10598142, hotness: undefined, score: 1, children: 1
ElectroLisa 10 points 2 years ago

I think you're talking about CPU governors (conservative, ondemand, powersave etc.)

path: 0 10587638 10590958 10598142 10602200, hotness: undefined, score: 10, children: 0
j4k3 15 points 2 years ago

So can I bang on the Intel 12th gen P-cores with the enterprise microcode to see if they are really fused? I promise to isolate the CPU set if I can pretty please have access to the full AVX instructions for use with llama.cpp. Pretty please.

path: 0 10586211, hotness: undefined, score: 15, children: 0
Presi300 8 points 2 years ago
path: 0 10594393, hotness: undefined, score: 8, children: 0
linux
linux

@lemmy.ml

login for more options
67122
9208
4286

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

go to feed...