From: george anzinger <george@mvista.com>
To: Rik van Riel <riel@conectiva.com.br>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [QUESTION] 2.4.x nice level
Date: Tue, 10 Apr 2001 09:39:14 -0700 [thread overview]
Message-ID: <3AD33732.C4C513CE@mvista.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0104101308320.11038-100000@imladris.rielhome.conectiva>
Rik van Riel wrote:
>
> On Mon, 9 Apr 2001, george anzinger wrote:
> > SodaPop wrote:
> > >
> > > I too have noticed that nicing processes does not work nearly as
> > > effectively as I'd like it to. I run on an underpowered machine,
> > > and have had to stop running things such as seti because it steals too
> > > much cpu time, even when maximally niced.
>
> > In kernel/sched.c for HZ < 200 an adjustment of nice to tick is set up
> > to be nice>>2 (i.e. nice /4). This gives the ratio of nice to time
> > slice. Adjustments are made to make the MOST nice yield 1 jiffy, so
> [snip 2.4 nice scale is too limited]
>
> I'll try to come up with a recalculation change that will make
> this thing behave better, while still retaining the short time
> slices for multiple normal-priority tasks and the cache footprint
> schedule() and friends currently have...
>
> [I've got some vague ideas ... give me a few hours to put them
> into code ;)]
You might check out this:
http://rtsched.sourceforge.net/
I did some work on leveling out the recalculation overhead. I think, as
the code shows, that it can be done without dropping the run queue lock.
I wonder if the wave nature of the recalculation cycle is a problem. By
this I mean after a recalculation tasks run for relatively long times
(50 ms today) but as the recalculation time approaches, the time reduces
to 10 ms. Gets one to thinking about a way to come up with a more
uniform, over time, mix.
George
George
next prev parent reply other threads:[~2001-04-10 16:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-04 16:12 [QUESTION] 2.4.x nice level SodaPop
2001-04-10 3:37 ` george anzinger
2001-04-10 16:10 ` Rik van Riel
2001-04-10 16:39 ` george anzinger [this message]
2001-04-11 10:34 ` [test-PATCH] " Rik van Riel
2001-04-11 15:53 ` Rik van Riel
2001-04-12 22:51 ` Pozsar Balazs
2001-04-11 16:27 ` george anzinger
2001-04-12 23:51 ` Pavel Machek
2001-04-16 14:18 ` Rik van Riel
2001-04-16 17:49 ` george anzinger
[not found] <fa.j9vo8pv.1rj8up9@ifi.uio.no>
[not found] ` <fa.dkui9av.1ulsbjm@ifi.uio.no>
2001-04-05 17:24 ` Tor Arntsen
-- strict thread matches above, loose matches on Subject: below --
2001-04-02 23:04 Quim K Holland
2001-04-03 3:02 ` LA Walsh
2001-04-02 22:13 BERECZ Szabolcs
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=3AD33732.C4C513CE@mvista.com \
--to=george@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=riel@conectiva.com.br \
/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