Skip Navigation

Those who custom configure their kernel: what did you gain?

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.

57 comments
  • 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:

    • Root Waydroid lol, thats basically hell.

      Waydroid without SELinux already removes all the Android sandboxing. Now its rooted!

      • Root on Android is a necessity for me.
        I've been rooting all droids I use for the past 10 years or so.

        Imagine using Linux as a power user,
        without being able to use sudo/su.

        Also, Magisk does not just allow any application to access root, you have to manually allow apps to make use of it.

        Just like administrator rights on any other OS,
        things only go wrong if you don't know what you're doing, and then grant rights to something malicious.

  • Mostly just understanding what was there, what was necessary for my machine at the time and what was optional.

  • I stopped doing it when Linux got support for kernel modules around Linux 1.2. It was a real game-changer.

  • Just download the devel kernel from your distro and go into make menuconfig. I am on an Intel Laptop with recent hardware. No reason to use amd, nvidia etc drivers. And there is a shitload of likely unmaintained drivers for ancient hardware.

  • I used to manually compile with the Linux-VServer patches, before Debian started shipping a pre-patched kernel.

    Linux-VServer was kinda like LXC or OpenVZ. I was using it around 2008 or so as LXC wasn't quite ready for use in production yet (was still far from finished) and OpenVZ didn't support Debian hosts.

  • A gentoo install once upon a time... and learning how to configure a kernel. Also a slightly better understanding of kernel module configuration for custom or odd ball hardware and a vague idea of what to look for in hardware support if I want to dig deeper.

  • I suppose the most tangible benefit I get out of it is embedding a custom initramfs into the kernel and using it as an EFI stub. And I usually disable module loading and compile in everything I need, which feels cleaner. Also I make sure to tune the settings for my CPU and GPU, enable various virtualization options, and force SELinux to always remain active, among other things.

57 comments