linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dru <andru@treshna.com>
To: Con Kolivas <kernel@kolivas.org>
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: PROBLEM: Preemptible kernel makes mpg123 skip a lot under 2.6.0-testing7 and very high load average under low usage.
Date: Fri, 17 Oct 2003 14:36:52 +1300	[thread overview]
Message-ID: <3F8F47B4.3000307@treshna.com> (raw)
In-Reply-To: <200310152344.29920.kernel@kolivas.org>

Con Kolivas wrote:

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

Your right about the X server. I've reniced it and changed its init 
scripts to run it at a priority of 0
and it runs smoothly now without problems.



  reply	other threads:[~2003-10-17  1:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-15 13:44 PROBLEM: Preemptible kernel makes mpg123 skip a lot under 2.6.0-testing7 and very high load average under low usage Con Kolivas
2003-10-17  1:36 ` Dru [this message]
2003-11-06 23:02 ` Dru
  -- strict thread matches above, loose matches on Subject: below --
2003-10-15 12:29 Dru
2003-10-15 16:58 ` Robert Love

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F8F47B4.3000307@treshna.com \
    --to=andru@treshna.com \
    --cc=kernel@kolivas.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).