Kernel Progress On Improving I/O Wait, Interactivity

Written by Michael Larabel in Linux Kernel on 4 March 2013 at 10:43 AM EST. 4 Comments
LINUX KERNEL
Progress is being made within the Linux kernel for reducing the I/O wait times and system interactivity/responsiveness when dealing with large I/O operations.

One of the well known Linux kernel bugs to be talked about in the past few years has been Bug #12309 from 2008. The bug is about "Large I/O operations result in poor interactive performance and high iowait times."

Among the example I/O operations cited in the original bug posting was backing up the user's home directory with large files, moving messages between large mail directories, running updatedb, or upgrading large numbers of packages with RPM. With these workloads and others, the wait times become very high with extremely degraded interactivity.

The bug has seen more than 600 comments and there's been many I/O improvements made to the Linux kernel over the past five years. While the bug is marked as closed, some Linux desktop users still complain of a sluggish experience when dealing with heavy I/O operations dragging down the system. Fortunately, improvements are still being made to the Linux kernel.

A new update was posted to the bug report this morning is about work that's merged into the Linux 3.9 kernel. Some of the related work includes progress on eliminating the timer-tick while running in user-space by fixing up more code to work without timer interrupts. There's also a scheduler patch to fix a "bouncing cow" problem by when running fewer processes on the system than number of processor cores, the process could be bounced around between cores and yield poor performance. This bouncing cow fix for the scheduler yields a performance boost by 15x in a worst-case scenario. More work will come to future Linux kernel releases.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week