this post was submitted on 12 Jun 2024
291 points (98.7% liked)

Linux

47940 readers
1191 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
top 17 comments
sorted by: hot top controversial new old
[–] autotldr@lemmings.world 57 points 4 months 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!

[–] ozymandias117@lemmy.world 52 points 4 months 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

[–] Fizz@lemmy.nz 46 points 4 months ago (1 children)

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.

[–] anarchist@lemmy.ml 5 points 4 months ago
[–] jjlinux@lemmy.ml 40 points 4 months ago (1 children)

Awesome. No idea what that means, but AWESOME!

[–] bionicjoey@lemmy.ca 38 points 4 months ago

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

[–] jose1324@lemmy.world 23 points 4 months ago (1 children)

Does this mean anything for me as a consumer?

[–] TheOneCurly@lemm.ee 42 points 4 months 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.

[–] PlexSheep@infosec.pub 22 points 4 months ago (1 children)

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

[–] ElectroLisa@lemmy.blahaj.zone 27 points 4 months ago (3 children)

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

[–] PlexSheep@infosec.pub 3 points 4 months ago

Oooh that's cool

[–] bitfucker@programming.dev 2 points 4 months ago

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

[–] semperverus@lemmy.world 1 points 4 months ago (1 children)

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

[–] ElectroLisa@lemmy.blahaj.zone 10 points 4 months ago

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

[–] j4k3@lemmy.world 15 points 4 months ago* (last edited 4 months 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.

[–] fwygon@beehaw.org 9 points 4 months ago

I like that he is being decisive about it. I wouldn't be surprised to learn that the feature was only being delayed because of internal project politics or quirky policies that normally make sense, but don't in this specific scenario.

[–] Presi300@lemmy.world 8 points 4 months ago* (last edited 4 months ago)

Finally, recompiling the kernel to change scheduler will be a thing of the past...