Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.today

22 replies

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

2

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.

1

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.

7
$ 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.

5
lemmy.world

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

4
slacktoidreply
lemmy.ml

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

1
9point6reply
lemmy.world

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

2

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

2
lemy.lol

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.

2
lemmy.zip

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

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

1

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

1

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).

2

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.

2
Jumutareply
sh.itjust.works

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

1
hoppolitoreply
mander.xyz

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.

1

Sort of, but for very specific purposes. I think PopOS or System76 have kernels that use different CPU schedulers, but I don’t think it affects battery life, just desktop “responsiveness.” Make sure your CPU is hitting the lowest C states. Make sure your NVMe drive can do so too or if it’s blocking the CPU from lowering its C states. Linux might be less energy efficient on newer laptop hardware because it lacks vendor optimizations that Windows has. Tried, been there. If you’re trying to optimize I’d recommend TLP/power profiles and throttled.

1

You reached the end

What Kernel are you guys using? | Spyke