I've been sick this weekend, so I spent some time on my own custom kernel. I'm not completely finished yet, but the time it takes to compile the kernel went from 55 minutes to 16 minutes. Which is not too bad considering the fact that my computer is 10 year old.
@pet84rik Is it that different?
@hund it was, for me, I only wanted to modify some things and add a HW support into the kernel itself instead of a module. With Linux, I don't know what I can remove, then the initrd and such. I know that if this would be my only option, I could figure it out, but...
@pet84rik Then Gentoo could be something for you. If you use their distribution kernel, you can apply any changes above the default configuration (either Gentoos or vanilla). You don't need to roll with and maintain your own config at all.
@hund I'm still thinking about giving it a try, there is a spare SSD on my machine ☺☺
@hund interesting! Are you checking the drivers one by one or reading the documentation? I strive for this but it is a bit overwhelming
@Santral I've been doing tons of reading. :) A lot is given though and I could disable a lot without reading about it.
@hund yeah its true. I changed a bit the ticks system, but there was no considerable performance boost. I also tries tickless, but then startx wouldnt start (no pun intended)
@Santral It's highly unlikely that you'll notice any performance wise on anything that's remotely modern hardware. :)
@hund I did that too a while ago, I don't actually run that kernel anymore because I am too lazy to compile it but I got it down from 4 hours to infinity (after 4 hours I just stopped it) to approx 30
@metalune Okey. :D What hardware?
@hund Lenovo ThinkPad x230
@metalune Wise choice, it's either a binary or custom kernel there. :)
@hund Gentoo is amazing. I'm using custom kernel based on 5.10.13 on a Thinkpad x230, started from a minimal version and I'm only adding whats needed. Compile time seems to be dependent on what I'm adding or removing but it takes mostly 1-2 minutes.
@hund Cool 👍 this is something I am afraid to do. I compiled my own BSD (free, dragonfly) kernel, but never (successfully) a LInux one.