lkml.org 
[lkml]   [2003]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: PROBLEM: Preemptible kernel makes mpg123 skip a lot under 2.6.0-testing7 and very high load average under low usage.
Date
Hi.

I quote from your output:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
22953 andru 15 0 10100 5316 9464 S 3.7 0.6 2:02.39 mpg123
1067 root 5 -10 595m 58m 539m S 3.3 6.6 391:41.29 XFree86
1176 andru 15 0 47488 26m 13m S 1.0 3.0 11:52.32 gnome-terminal
25063 root 17 0 2004 1096 1792 R 0.7 0.1 0:00.03 top

The kernel is now tuned to give much more priority to reniced tasks and it is
not recommended to run your X server nice -10. This is the cause of your
problem as X is starving your audio application. Some distributions do this
by default to get around the limitations of the old cpu scheduler not being
able to make X smooth enough at nice 0. This hack/workaround is no longer
recommended for 2.6 kernels. You will find nice performance of X at nice 0
now and audio will not skip when the nice value of X is the same as your
audio application.

Con

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.059 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site