Language Selection

English French German Italian Portuguese Spanish

Speed up the Kernel

Filed under
Linux
HowTos

Kernel performance tweaks

The Linux kernel operates at the most fundamental (hardware) level, and it is responsible for providing the many software abstractions that modern Linux systems rely upon. Fundamentally, the job of the kernel is to provide all of these conveniences while keeping out of the way as much as possible. Time spent by the kernel is time that cannot be spent performing useful work within application code, even if that application is the latest version of Angry Birds. The kernel is also intended to run on a wide range of different hardware systems ‘out of the box’ – from the smallest embedded device, to the largest supercomputer. As such, the many algorithms it uses have been heavily optimised over the past two decades, but there are limits.

It’s a fact of life that a system used predominantly as a desktop, for example, has different needs from (say) a system used to process real-time stock trade transactions, or to serve webpages to millions of social media consumers. These different use cases have lead to various flexibility, especially in the scheduling algorithms used within the kernel to determine which task (user application process) should receive time (quantum) on the CPU(s), or which I/O blocks should be written out to disk next.

rest here




More in Tux Machines

Leftovers: Screenshots and Screencasts

Android Leftovers

GCC 4.9.2 vs. GCC 5 Benchmarks On An Intel Xeon Haswell

For those craving some more GCC 5 compiler benchmark numbers following last week's release of GCC 5.1, here's some new comparison numbers between GCC 4.9.2 stable and the near-final release candidate of GCC 5.1. Pardon for this light article due to still finishing up work on migrating to the new Phoronix web server while separately working to take care of thermal issues coming about in the new Linux benchmarking server room. Read more

First impressions of Ubuntu 15.04

Canonical's Ubuntu operating system is probably the most widely used Linux distribution in the world. Ubuntu is made available in several editions, including desktop builds, server builds and there is a branch of Ubuntu for mobile phones. Ubuntu provides installation images for the x86, ARM and Power PC architectures, allowing the distribution to run on a wide variety of hardware. The most recent release of Ubuntu, version 15.04, includes a fairly short list of changes compared to last year's Ubuntu 14.10, however some of the changes are significant. Some small changes include an upgrade of the kernel to Linux 3.19 and placing application menus inside the application window by default. A potentially larger change is the switch from Canonical's Upstart init software to systemd. Read more