From: Al Boldi <a1426z@gawab.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH][ 3/5] sched: implement staircase deadline cpu
Date: Tue, 27 Mar 2007 16:55:17 +0300 [thread overview]
Message-ID: <200703271655.17157.a1426z@gawab.com> (raw)
Con Kolivas wrote:
> All tasks are initially given a quota based on RR_INTERVAL. This is equal
> to RR_INTERVAL between nice values of -6 and 0, half that size above nice
> 0, and progressively larger for nice values from -1 to -20.
from -7 to -20.
I suppose this could be policy decision?
> This is
> assigned to p->quota and only changes with changes in nice level.
>
> As a task is first queued, it checks in recalc_task_prio to see if it has
> run at this runqueue's current priority rotation. If it has not, it will
> have its p->prio level set according to the first slot in a "priority
> matrix" and will be given a p->time_slice equal to the p->quota, and has
> its allocation bitmap bit set in p->bitmap for this prio level. It is then
> queued on the current active priority array.
I'm not sure why you need a matrix. Can't you just deduce this based on
static_prio and prio?
Also, I wonder if there is something inherently smoother than staircase.
Thanks!
--
Al
reply other threads:[~2007-03-27 13:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200703271655.17157.a1426z@gawab.com \
--to=a1426z@gawab.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
all inboxes | Powered by JetHome®