Language Selection

English French German Italian Portuguese Spanish

Linux: Custom Kernels Trim Fat and Tune Performance

Filed under
Linux

I have some shocking news: despite the astonishing growth of Linux, there is a whole new generation of Linux users who have never, ever compiled a kernel. How to account for this sad state of affairs? Perhaps it's because the distribution maintainers are doing such fine jobs it's not necessary. Maybe users just don't know that they can. Whatever the reasons, today we're taking a tour of some of the different ways to customize the Linux kernel. First we'll learn the old reliable generic way, and then take a tour of the Fedora Way and the Debian Way of customizing kernels.

A word of warning: while building a custom kernel isn't all that difficult, it is complex and time-consuming, and when you're all finished you might be the proud parent of a non-booting kernel. The good news is you can have as many do-overs as you want without hurting your system. Any Linux system can have any number of kernels and you can choose which one to boot to, so never delete old kernels until you're certain your new one works correctly. Your system will not try to boot to a new kernel until you explicitly configure it to do so, so it can't sneak up on you. So you can go on a wild spree and build and test a whole army of new kernels if you like.

Give yourself a couple of gigabytes of disk space to play with...

Why would you even want to do this?

Full Story.




More in Tux Machines

today's leftovers

today's leftovers

  • Why leading DevOps may get you a promotion
    Gene Kim, author of The Phoenix Project and leading DevOps proponent, seems to think so. In a recent interview with TechBeacon's Mike Perrow, Kim notes that of "the nearly 100 speakers at DevOps Enterprise Summits over the last two years, about one in three have been promoted."
  • Cloud Vendors, The Great Disruptors, Face Disruption From Blockchain
  • SWORDY, a local party brawler could come to Linux if Microsoft allow it
    SWORDY is a rather fun looking local party brawler that has just released on Steam in Early Access. It could see a Linux release too, if Microsoft allow it.
  • System Shock remake has blasted past the Linux stretch goal, officially coming to Linux
    The Linux stretch goal was $1.1 million and it's pleasing to see it hit the goal, so we won't miss out now. I am hoping they don't let anyone down, as they have shown they can do it already by providing the demo. There should be no reason to see a delay with Linux now.
  • GammaRay 2.5 release
    GammaRay 2.5 has been released, the biggest feature release yet of our Qt introspection tool. Besides support for Qt 5.7 and in particular the newly added Qt 3D module a slew of new features awaits you, such as access to QML context property chains and type information, object instance statistics, support for inspecting networking and SSL classes, and runtime switchable logging categories.
  • GammaRay 2.5 Released For Qt Introspection
    KDAB has announced the release of GammaRay 2.5, what they say is their "biggest feature release yet", the popular introspection tool for Qt developers.
  • The new Keyboard panel
    After implementing the new redesigned Shell of GNOME Control Center, it’s now time to move the panels to a bright new future. And the Keyboard panel just walked this step.
  • Debian on Seagate Personal Cloud and Seagate NAS
    The majority of NAS devices supported in Debian are based on Debian's Kirkwood platform. This platform is quite dated now and can only run Debian's armel port. Debian now supports the Seagate Personal Cloud and Seagate NAS devices. They are based on Marvell's Armada 370, a platform which can run Debian's armhf port. Unfortunately, even the Armada 370 is a bit dated now, so I would not recommend these devices for new purchases. If you have one already, however, you now have the option to run native Debian.

OSS Leftovers