Curious to know the coolest things you achieved by configuring your kernel. I know kernel config can be boring, but I’m hoping someone will have an impressive answer.
For me I have a very lightweight kernel that runs wayland on nvidia without any issues to date.
Back when I was still using Gentoo, configuring your own kernel was a rite of passage. It was kind of fun to try and configure it as minimalist as possible to cut down on the kernel compile time. Also, understanding all the different options and possibilities. And thanks to use flags, you had access to all these different patch sets for the kernel, which took a lot of the pain out of trying things like experimental schedulers or filesystems.
Not for myself but a client who was running a game server. He wanted to tweak the number of ticks/second that the kernel interacted with CPU. Didn’t even know that this was a parameter and after a few attempts, according to him, never went on that server myself, made a huge difference and he claimed having grabbed a good part of the market because of that.
After that familiarized myself more with the stuff in there. But that was a good while ago, before most of you guys were born.
I do it because I can… I read release notes on every update and once you’ve configured a kernel for a particular machine you really don’t need to touch the config, barring major changes like when PATA and SATA merged. Or of course if I’m adding a new piece of hardware.
I remove everything I don’t need and compiling the kernel only takes a couple minutes. I use Gentoo and approach everything on my system the same way - remove the things I don’t need to make it as minimal as possible.
Compiling your own kernel also makes it easier when you need to do a git bisect to determine when a bug was introduced to report it or try to fix it. I’ve also included kernel patches in my build years ago, but haven’t needed to do that in a long time.
I used to compile a custom kernel for my phone to enable modules/drivers that weren’t included by default by the maintainer.
It’s not about performance for me, it’s about control.
Bragging rights.
Filesystem level encryption enabled on RHEL. For some damn reason, they turn it off in their kernel.
A wee bit of knowledge and the wisdom to stop doing it.
deleted by creator
Does that have any appreciable difference in day to day computing?
deleted by creator
Knowledge and time forced to not be on the computer
Wow, I never thought of that as a good thing until now. I bet Gentoo users are more well-rounded than Arch users
Well, lots of time to practice sword fighting in office chairs
Or to scroll through XKCD, apparently :P
I’m running a custom kernel on my Arch laptop. It’s a little faster, a little smaller and a little quite more secure. I’m also running custom kernel which enables adiantum encryption on old phone with postmarketOS.
How did you conduct this speed test? Where are the results? 😂
Sorry, I think this any time someone says their computer is faster or mod X on Android is “snappier”
I used geekbench 5. My CPU is AMD Ryzen 5 5500U. I tested a few prebuild kernels and custom compiled the fastest one.
prebuild linux kernel:
- singlethread: 1170
- multithread score: 4604
prebuild linux-zen kernel:
- singlethread: 1156
- multithread score: 4593
prebuild linux-xanmod kernel:
- singlethread: 1164
- multithread score: 4594
prebuild linux-hardened kernel:
- singlethread: 1156
- multithread score: 4841
custom linux-hardened kernel:
- singlethread: 1160
- multithread score: 4977
I run linux-xanmod-anbox for root support in Waydroid (Android on Linux).
And I configured my kernel to support VFIO (Virtual Function Input Output).
So I can fully pass through one of my GPUs to my Ameliorated Windows KVM,
which I use for both work and gaming.Hows the perf in the VM?
Amazing, basically native speeds,
currently playing Horizon Forbidden West with maxed out graphics and DRS disabled at a steady 60-80 FPS.Previously I also played Horizon Zero Dawn in it, also maxed out graphics, steady locked 100 FPS,
below is a benchmark comparison of HZD in the Linux host OS and the Windows KVM guest OS:
Amazing. Does Photoshop work ?
Yush, it does under the KVM :)
Is there an easy way to run this for photoshop? GUI if possible
No easy way to set it up I’m afraid.
But if you’re interested,
I posted all the bookmarks I made, with tutorials and tools, when I set mine up here:
https://discuss.tchncs.de/comment/9245159