Home_greyopenFATE - openSUSE feature tracking > #310843
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Improve desktop latency

Feature state

openSUSE-11.4
Done

Description

phoronix.com

"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. "

http://www.phoronix.com/scan.php?page=article&item=linux_2637_video&num=1

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

Please, superimpose this patch on a kernel which will go in scheduled release 11.4.

Discussion


icons/user_comment.png A. R. wrote: (7 years ago)

Good idea, EGD!
+1

icons/user_comment.png M. F. wrote: (7 years ago)

Done. In kernel:HEAD repo, only for -desktop flavour.

icons/user_comment.png S. S. wrote: (7 years ago)

Turns out you don't have to wait for this patch.

http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html

From Linus' comment though it'll still be in the kernel.  I takes advantage of cgroups, so I'm not sure if you need a particular version of the kernel or not.

icons/user_comment.png s. s. wrote: (7 years ago)

it will work only for apps started from bash, but patch is for all.

icons/user_comment.png L. M. wrote: (7 years ago)

Has the patch been modified since its 1st proposal ? From what I read the patch is not for all, but rather was for apps started from TTY.

icons/user_comment.png J. M. wrote: (7 years ago)

Committed to Factory and enabled in the desktop flavors by default. It can be enabled manually on other flavors during boot.

icons/user_comment.png A. W. wrote: (7 years ago)

Thanks for adding this to the Factory / HEAD repos.

I am currently running 
2.6.37-rc2-1-desktop #1 SMP PREEMPT 2010-11-17 19:05:40 +0100 i686 i686 i386 GNU/Linux  from the 11.3 HEAD repo. Does that mean the patch is active on my system?

Thanks a lot!

icons/user_comment.png G. N. wrote: (7 years ago)

You can check easily. If you have a file called "sched_autogroup_enabled" in /proc/sys/kernel and that file has as value 1 in it, then yes. Otherwise, no ;)

Last change: 7 years ago
Voting
Score: 57
  • Negative: 0
  • Neutral: 0
  • Positive: 57
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint