this post was submitted on 23 Aug 2024
126 points (96.3% liked)

PC Gaming

8559 readers
534 users here now

For PC gaming news and discussion. PCGamingWiki

Rules:

  1. Be Respectful.
  2. No Spam or Porn.
  3. No Advertising.
  4. No Memes.
  5. No Tech Support.
  6. No questions about buying/building computers.
  7. No game suggestions, friend requests, surveys, or begging.
  8. No Let's Plays, streams, highlight reels/montages, random videos or shorts.
  9. No off-topic posts/comments, within reason.
  10. Use the original source, no clickbait titles, no duplicates. (Submissions should be from the original source if possible, unless from paywalled or non-english sources. If the title is clickbait or lacks context you may lightly edit the title.)

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 2 months ago* (last edited 2 months ago) (1 children)

Thanks for sparking my interest on cachyos kernels and what they patch. In addition to bore, they also patch the sched_ext support!

https://github.com/CachyOS/linux-cachyos?tab=readme-ov-file#cachyos-default-kernel

Now, what this means is you can boot this kernel, then just start the scheduler from userland, e.g.

run0 scx_rustland

It uses bpf, so the scheduler switches immediately and is as fast as anything in the kernel space. What makes this rustland scheduler super interesting is how it can detect what application is currently active, and give it a full priority over anything else. So you can compile code in the background with all cores, and at the same time play a game with the best frame rate.

There are other sched_ext schedulers available, at least on nixos with the cachyos kernel I get a bunch of scx_ binaries to play with.

For nix users here, nyx flake packages and compiles the cachyos kernel:

https://github.com/chaotic-cx/nyx

[–] [email protected] 1 points 2 months ago (1 children)

Wtf is run0

Edit: Is that nyx flake made by the same guys as the Chaotic AUR repo for arch?

[–] [email protected] 2 points 2 months ago (1 children)

Wtf is run0

https://www.freedesktop.org/software/systemd/man/devel/run0.html

Edit: Is that nyx flake made by the same guys as the Chaotic AUR repo for arch?

Looks like it if you check from GitHub.

[–] [email protected] 1 points 2 months ago (1 children)

Rant about systemd
Oh hell no why the actual fuck does systemd attempt to replace every single component of the Linux stack? We don't need more of this monolithic bullshit. What's next, replace the Linux kernel with systemd? Fucking hell. And why the hell did they give it such a stupid name??? run0? The only way this makes sense, is because 0 people should actually run this on their god damn system. I'm just waiting for applications to start breaking because some stupid systemd dependency, which itself depends on 15 gigabytes of other systemd bloat isn't installed.

Sorry for the rant

I'll definitely stay on Gentoo with doas and OpenRC

[–] [email protected] 2 points 2 months ago

I'm too old to rant about systemd :D