Linked by Thom Holwerda on Tue 16th Nov 2010 22:48 UTC, submitted by Michael
Linux "In recent weeks and months there has been quite a bit of work towards improving the responsiveness of the Linux desktop with some very significant milestones building up recently and new patches continuing to come. This work is greatly improving the experience of the Linux desktop when the computer is withstanding a great deal of CPU load and memory strain. Fortunately, the exciting improvements are far from over. There is a new patch that has not yet been merged but has undergone a few revisions over the past several weeks and it is quite small - just over 200 lines of code - but it does wonders for the Linux desktop."
Thread beginning with comment 450393
To read all comments associated with this story, please click here.
The patch, and some testing numbers
by lemur2 on Thu 18th Nov 2010 00:07 UTC
lemur2
Member since:
2007-02-17

http://marc.info/?l=linux-kernel&m=128978361700898&w=2

Average service latency is an order of magnitude better with autogroup.
(Imagine that pert were Xorg or whatnot instead)

Using Mathieu Desnoyers' wakeup-latency testcase:

With taskset -c 3 make -j 10 running..

taskset -c 3 ./wakeup-latency& sleep 30;killall wakeup-latency

without:
maximum latency: 42963.2 µs
average latency: 9077.0 µs
missed timer events: 0

with:
maximum latency: 4160.7 µs
average latency: 149.4 µs
missed timer events: 0


An order of magnitude improvement in latency for a small patch has got to be worthwhile.

Average latency improved from about 1 millisecond down to 150 microseconds. Maximum latency improved from 42 milliseconds down to 4 milliseconds.

Edited 2010-11-18 00:11 UTC

Reply Score: 2