1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

The ~200 Line Linux Kernel Patch That Does Wonders

Michael Larabel

Published on 16 November 2010
Written by Michael Larabel
Page 2 of 2 - 224 Comments

Below is the video of the Linux desktop when running the Linux Git kernel and the patch in question was applied but the auto-group scheduler was disabled via its sysfs interface.

As you can see, the experience when compiling the Linux kernel with so many jobs is rather troubling to the Linux desktop experience. At no point in the video was the 1080p sample video paused, but that was just where the current mainline Linux kernel is at with 2.6.37. There was also some stuttering with glxgears and some responsiveness elsewhere. This is even with all of the Linux 2.6.37 kernel improvements up to today. If recording a video of an older kernel release, the experience is even more horrific! Now let's see what happens when enabling the patch's new scheduler code.

It is truly a night and day difference. The 1080p Ogg video now played smoothly a majority of the time when still compiling the Linux kernel with 64 jobs. Glxgears was also better and the window movements and desktop interactivity was far better. When compiling the Linux kernel with 128 jobs or other workloads that apply even greater strain, the results are even more dramatic, but it is not great for a video demonstration; the first video recorded under greater strained made the "before look" appear as like a still photograph.

This patch truly does wonders to the Linux kernel in improving the desktop responsiveness / interactivity. This patch with improving his web-browsing experience and more, impresses even Linus Torvalds. The merge window is now closed for the Linux 2.6.37 kernel, but this should be an exciting improvement that should be found in the Linux 2.6.38 kernel and at least keep the people happy waiting around for Reiser4 / Open-Source VIA Graphics / Radeon HD 6000 Series DRM to arrive in the mainline kernel.

In related work while waiting for your kernel to build, you may be interested in reading the recent five years of Linux kernel benchmarks and GCC vs. LLVM compiler benchmarks with GCC 4.2/4.3/4.4/4.5/4.6, LLVM-GCC, Clang on LLVM 2.8, and DragonEgg on LLVM 2.8 with GCC 4.5.1.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux News
  1. Wondering If HP Will Release Linux++ This Month
  2. Valve Appears To Be Rolling Out Source 2 Version Of Dota 2
  3. PyPy 2.6 Released, ~7x Faster Than CPython
  4. BQ Aquaris E5 Ubuntu Phone Being Released Next Week
  5. Fedora 23 May Feature Cinnamon Desktop Spin & "Netizen" Version
  6. Wine-Staging 1.7.44 Introduces More Bug Fixes
  7. The Intel Graphics Changes For The Linux 4.2 Kernel
  8. Microsoft To Release Windows 10 On 29 July
  9. Linux 4.1-rc6 Kernel Released
  10. Linux 4.0, Systemd & AMD's Tiger Team Were The Major Linux Stories This Month
Latest Articles & Reviews
  1. Intel Compute Stick Performance Surprises Under Ubuntu Linux
  2. Linux 4.1 Brings Performance Boosts For Some Intel Low-Power Hardware
  3. Radeon OpenGL Benchmarks On Fedora 22
  4. Btrfs RAID 0/1/5/6/10 Five-Disk Benchmarks On Linux 4.1
Most Viewed News This Week
  1. Friction Building Around An Ubuntu Community Council Decision
  2. Russia's Baikal Chips End Up Going For A MIPS CPU
  3. For AMD Users, Linux 4.2 Will Bring The New AMDGPU Driver & VCE1 For Radeon
  4. The CompuLab Fitlet Is A Neat Little Linux PC With AMD SoC
  5. Bye Bye Mandriva, She's Being Liquidated
  6. GNU Octave 4.0 Released, Includes A GUI & OpenGL
  7. AMD & Others Are Working On The LLVM SPIR-V Converter
  8. Confusion Mounts Over Wayland's Actual License