Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2003 21:12:36 +0100
From:      Marijn Meijles <marijn@bitpit.net>
To:        arch@freebsd.org
Subject:   New scheduler problem
Message-ID:  <20030205201236.GA918@hoop.bitpit.net>

next in thread | raw e-mail | index | archive | help
Hi,

I just tried the new scheduler (yesterdays cvsup), but it gives horrible
interactve performance in some situations. Especially with mixed interactive
and non-interactive applications like mozilla. This is perfectly
understandable. Suppose I have a fair number  of non-interactive apps running
which generate load (make -j4).  moz needs about 20% cpu time on my box
(P3-550 UP) when it sits idle because of animated gifs. On an idle box, moz
sleeps enough to return its priority to the standard level after rendering a
page, but on a loaded box it stays a non-interactive app. PRI jumps to 120 and
stays there because mozilla doesn't get a chance to sleep enough to lower PRI.
With 4 other non-interactive apps combined with interactive apps, moz becomes
quite unusable.  If I kill the make, moz' PRI gradually drops back to the
standard level.

Lowering the decay rate in sched_slice helps, but that's not a real solution.
Any ideas?

-- 
Marijn@bitpit.net
---
This message is ROT-52 encoded. Reading it will violate the DMCA.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030205201236.GA918>