From: Simon Kirby <sim@netnation.com>
To: linux-kernel@vger.kernel.org
Subject: Scheduler starvation (2.5.x, 2.6.0-test1)
Date: Mon, 21 Jul 2003 18:34:43 -0700 [thread overview]
Message-ID: <20030722013443.GA18184@netnation.com> (raw)
I keep seeing cases where browsing in mozilla / galeon will suck away all
CPU from X updating the mouse, xmms playing, etc., for about a second as
Mozilla renders a page (which should take 50 ms to render, but anyway..).
This is only a Celeron 466 MHz, but there never used to be such a problem
in 2.2 and 2.4 kernels. All processes (X, galeon, xmms) are running with
the default nice of 0. It seems there is something with the scheduler
heuristics which is giving galeon a way-too-large preemptive timeslice
and not even allowing enough CPU to other processes to, for example, let
X update the mouse cursor. This seems wrong -- Shouldn't the device
event always wake up and switch to the X task if the process has usable
timeslices left?
This only seems to happen after letting the system settle for some time.
If I refresh a page once, the problem happens. Again, less. Again, the
scheduler seems to allow mouse updates normally. I have to wait about 30
seconds for the problem to occur again. This is much easier to see with
X reniced to +1. It occurs with X reniced to +0, but not as often. With
the old scheduler, +20 wouldn't even make a noticeable difference because
mouse events would still wake up and run the process as expected.
It is really easy to notice the problem on this box not because of the
audible and visible skips, but the fact that there's a bug in the ALSA
Gravis Ultrasound Classic driver which causes it to sometimes play
incorrect portions of RAM when the sound restarts. :)
Is anybody else seeing this or is it something to do with my setup here?
Simon-
next reply other threads:[~2003-07-22 1:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-22 1:34 Simon Kirby [this message]
2003-07-22 17:28 ` Scheduler starvation (2.5.x, 2.6.0-test1) Apurva Mehta
2003-07-22 18:48 ` Felipe Alfaro Solana
2003-07-22 20:37 ` Apurva Mehta
2003-07-22 21:33 ` Mike Fedyk
2003-07-23 8:18 ` Apurva Mehta
2003-07-23 16:41 ` Mike Fedyk
2003-07-23 19:03 ` Apurva Mehta
[not found] <bUil.2D8.11@gated-at.bofh.it>
2003-07-22 15:14 ` Tom Felker
2003-07-22 16:04 ` Martin Zwickel
2003-07-22 18:41 ` Felipe Alfaro Solana
2003-07-22 19:39 ` Jose Luis Domingo Lopez
2003-07-22 19:53 ` Mike Fedyk
2003-07-22 22:28 ` Jose Luis Domingo Lopez
2003-07-22 20:20 ` Felipe Alfaro Solana
2003-07-22 20:55 ` Diego Calleja García
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=20030722013443.GA18184@netnation.com \
--to=sim@netnation.com \
--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