Question regarding gaming, choosing a kernel

Hi. I am a Linux gamer. There are many kernels to choose from in the system, but which one is the best for gaming? I have the standard one that installs by default. I would like to get the best performance and ensure the system runs well under load.

Did you see this post?

So far from what I read, the mention of gaming is about which process scheduler is used. In other words, select a kernel compatible with sched-ext then use scx_lavd.

Caveat, I’m still researching and do NOT have CachyOS installed yet to experiment.

1 Like

Actually, the default one (linux-cachyos called) is the suggested one. Others are explained in the wiki.

You can play and test sched-ext, which is an interesting attempt also ,but its not perfect yet - so better stay with the default.

3 Likes

I have been testing my self, from Sched and Bore etc to find a reason to change. At this point, its close to red car, blue car. It comes down from game to game, and your hw, and what you want to atchive. But if I was you, i would stay on the default. Some times, you had a bit better MS, some times, a few fps more on different instances. Then it also could be oposit with worse performance. But not anything you would notice on your screen tbh :slight_smile: So the default one is CachyKing approved :slight_smile:

2 Likes

I have heavily benchmarked this in the past, during development of CachyOS. My findings should still be as valid today as they were a few years back.

BORE is the default, and the best results overall between desktop and gaming. You can squeeze a few more FPS in specific titles but ultimately it isn’t really worth it.

If you want to get a little better performance, you can try using cachyos-kernel-manager and compiling the BORE scheduler (non sched-dev), at 1000HZ, disabling NUMA, LTO Full, and setting the MGLRU to “madvise”, and editing your kernel command line string with the “mitigations=off” parameter.

But note, it’s not going to be much of a boost outside the mitigations parameter (which has its own issues, RTFM). You’re much more likely to see real gains by following arch linux’s optimization guides.

1 Like

I wouldnt suggest putting mitigations=off.

Spectre does not really hit on newer cpu’s that hard. Only the ones, which are affected by retbleed appears to be really hard hit, right now.

Madvise will generally reduce the performance, but improves latency.

The NUMA disabling is nowadays not really required anymore, there is barely an overhead or equal. somehow people just keep it a thing, because this was like that 4 years ago, but people just keep it

2 Likes