13
submitted 1 month ago* (last edited 1 month ago) by gpstarman@lemmy.today to c/linuxquestions@lemmy.zip

What Kernel are you guys using?

I have seen some people claiming that custom kernels like zen cachyos offer better battery life and performance.

Is it true ?

top 21 comments
sorted by: hot top controversial new old
[-] gigachad@sh.itjust.works 9 points 1 month ago

I have no idea.

I use Mint btw

[-] mybuttnolie@sopuli.xyz 2 points 1 month ago

Mint 22.1 has 6.8 by default but 6.11 is available. Xanmod 6.14 works, but it disables the screen off and suspend timers

[-] stembolts@programming.dev 1 points 1 month ago

Yeah, I use the one the kernel developers released when I last updated, so at most I'm about a week out of date on my server or a day or two out of date on my non-servers.

[-] possiblylinux127@lemmy.zip 6 points 1 month ago

Generally special kernels aren't going to perform any better than the main kernel. Actually they will likely perform worse.

The reason is that Linux is constantly being optimized to get better performance. If there were any performance benefits in a special kernel they would be ported to main. Special kernels are designed for very specific use cases.

[-] gpstarman@lemmy.today 1 points 3 weeks ago
[-] FrostyPolicy@suppo.fi 5 points 1 month ago

Default Tumbleweed one: Linux 6.14.4-1-default

[-] a14o@feddit.org 5 points 1 month ago
$ uname -sr
Linux 6.6.88

I have never bothered about alternative kernels. The only time I seriously researched other kernels was when I was considering trying out GUIX about five years ago, but I only felt reassured in using Linux as a result of that research.

[-] 9point6@lemmy.world 4 points 1 month ago

Usually whatever comes stock with the distro—though one device is currently running a custom built kernel with some Linux TV patches because the patches are only available on x86 builds currently, and I've got the tuner that needs them attached to a pi zero 2

[-] slacktoid@lemmy.ml 1 points 1 month ago

You custom built a kernel on a pi 0 v2? You must have next level patience.

[-] 9point6@lemmy.world 2 points 1 month ago

Oh no, don't worry I cross compiled it on my desktop! I imagine the pi would crash before it completed the job

[-] slacktoid@lemmy.ml 2 points 1 month ago

Oh damn that's also really cool! I've had a hard time with that and gave up.

[-] hellfire103@lemmy.ca 2 points 1 month ago* (last edited 1 month ago)

Usually just default, but I believe my ThinkPad has zen and hardened as options.

zen has slightly worse battery life, but slightly better performance.

hardened is more secure, but some software (notably Flatpak) cannot run without first running sudo sysctl kernel.unprivileged_userns_clone=1.

Also, my old ThinkPad uses GENERIC (OpenBSD).

[-] HelloRoot@lemy.lol 2 points 1 month ago* (last edited 1 month ago)

zen and lts as fallback

iirc zen has a scheduler that is supposed to be better for single user multitask desktop situations, while the regular kernel scheduler is better for server workloads.

[-] possiblylinux127@lemmy.zip 1 points 1 month ago

Do you have any data to show it actually is better?

Desktop and server workloads aren't that different in practice.

[-] HelloRoot@lemy.lol 1 points 1 month ago* (last edited 1 month ago)

It is very hard to measure responsiveness (which is basically the only thing zen claims to be better at) without a lot of time investment and a high speed camera for frame analysis.

I guess a possible setup would be to run a multicore synthetic workload that takes most of the system resources and measuring the start time desktop applications.

But nobody has done it in a "scientific" way as far as I can see. Besides some hobbyist anecdotal observations:

https://reddit.rtrace.io/r/linux/comments/fh0hc2/its_time_for_desktop_distributions_to_adopt_a/

https://forum.garudalinux.org/t/kernel-benchmarking-results-zen-cacule-tkg-bore/18831/8

[-] Jumuta@sh.itjust.works 2 points 1 month ago

zen bc i need zen for waydroid

[-] possiblylinux127@lemmy.zip 1 points 1 month ago

Waydroid isn't dependent on a specific kernel

[-] Jumuta@sh.itjust.works 1 points 1 month ago

oh wait what i thought the binder module was not included in the default kernel, huh

i swear it used to be that you had to either use dkms or use zen

[-] hoppolito@mander.xyz 1 points 1 month ago

It definitely used to be the case, you are right, always had to dkms the binder module.

But it seems they come baked into the kernel nowadays, according to ArchWiki.

[-] possiblylinux127@lemmy.zip 1 points 1 month ago

Good to know

[-] MyNameIsRichard@lemmy.ml 2 points 1 month ago

I'm using the Arch standard kernel (6.14.5.arch1-1) and have the LTS (6.12.27-1) installed as a backup,,in case something goes horribly wrong.

this post was submitted on 07 May 2025
13 points (100.0% liked)

Linux Questions

1870 readers
1 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS