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

Security Leftovers

Canonical Patches Seven Linux Kernel Vulnerabilities in Ubuntu 16.04, Update Now

Today, June 27, 2016, Canonical published a new security notice to inform users of the Ubuntu 16.04 LTS (Xenial Xerus) operating system about the availability of an important kernel update. Read more

Docker 1.12 Linux Container Engine Promises Built-in Orchestration Capabilities

The Docker developers are working hard these days to bring us one of the biggest releases of the widely-used open-source and cross-platform container engine, Docker 1.12. Read more

Leftovers: OSS

  • Obsidian Systems brings open source monitoring with Icinga
  • Obsidian offers Open Source monitoring with Icinga
    Obsidian Systems is now the exclusive African reseller partner for Icinga, a scalable and extensive monitoring system that checks the availability of resources, notifies of outages and provides business intelligence data.
  • Open source connects the dots in the digital transformation
    Developments in cloud, big data, analytics, and social and mobile technologies are all happening to a large extent because the underlying technology is evolving quickly, and Red Hat believes that this is happening because a lot of it is based on open source and is developed collaboratively between multiple communities and companies. Much of the cloud is based on Linux and open source based technologies, consequently open source is a key driving force in these changes and the rapid innovation cycles.
  • Lime hits crowdfunding target, a milestone in open source mobile hardware
    UK RF specialist Lime Microsystems has raised almost $624,000 in a crowdfunding campaign to bring its LimeSDR software defined radio to market, and will now begin production of the radios, which enable open source, programmable ‘network in a box’ devices for low cost coverage, especially in rural or temporary networks.
  • Nokia is traditional telecoms’ fifth column, embracing open source disruption
    One of the most important trends in the current reinvention of the mobile network is the introduction of open source to infrastructure hardware. Open source processes have been creeping into this formerly tightly closed world in software (from Android to carrier Linux) and in devices, but the network equipment itself remained the preserve of proprietary vendors and formal standards bodies. Now that is changing. From small innovators like Lime Microsystems (see separate item), to entrenched guardians of the old ways, like Nokia, suppliers are finding new ways to work with open source.