8776
General Software Discussion / Small Linux kernal patch = big improvement in desktop experience
« Last post by 40hz on November 21, 2010, 05:19 AM »Just in time for the Holidays - this news from the folks over at Phoronix.com (emphasis added):
The ~200 Line Linux Kernel Patch That Does Wonders
Published on November 16, 2010
Written by Michael Larabe
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.
The patch being talked about is designed to automatically create task groups per TTY in an effort to improve the desktop interactivity under system strain. Mike Galbraith wrote the patch, which is currently in its third version in recent weeks, after Linus Torvalds inspired this idea. In its third form (patch), this patch only adds 224 lines of code to the kernel's scheduler while stripping away nine lines of code, thus only 233 lines of code are in play.
Tests done by Mike show the maximum latency dropping by over ten times and the average latency of the desktop by about 60 times. Linus Torvalds has already heavily praised (in an email) this miracle patch
-more-
http://www.phoronix....2637_video&num=1
Phoronix has a couple of (badly produced) quick & dirty vids to give you an idea of what this performance boost will look like.
----------
If you'd like to give this patch a try, but don't feel like waiting until it's built into your distro (and aren't keen on hacking the kernal yourself) an alternative method can be found here.
Alternative To The "200 Lines Kernel Patch That Does Wonders" Which You Can Use Right Away
Phoronix recently published an article regarding a ~200 lines Linux Kernel patch that improves responsiveness under system strain. Well, Lennart Poettering, a RedHat developer replied to Linus Torvalds on a maling list with an alternative to this patch that does the same thing yet all you have to do is run 2 commands and paste 4 lines in your ~/.bashrc file. I know it sounds unbelievable, but apparently someone even ran some tests which prove that Lennart's solution works. Read on!
Basically, Lennart explains you have to add this to your ~/.bashrc file (important: this won't work on Ubuntu. See instructions for Ubuntu further down the post!)
This is something I'm definitely going to try as soon as I can get some free time!

Has anybody else given it a shot, either by patching the kernal, or using the alternative "install"?


Recent Posts



It's one of the most logical and intuitive multi-clip features I've ever seen. Makes even more sense than the usual tab arrangements found elsewhere.

)