From: Stephan Diestelhorst <sd386@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] Getting and setting SEDF scheduling parameters
Date: Thu, 12 Jan 2006 08:45:52 +0100 [thread overview]
Message-ID: <43C60930.4010104@cl.cam.ac.uk> (raw)
In-Reply-To: <OF4267BD1C.69A768E3-ON852570F1.0070618B-852570F1.0071C9CC@us.ibm.com>
Thanks for that,
I'll have a look at it!
Stephan
John L Griffin wrote:
>Here is a new patch to reflect Keir's directions from last Friday. Note
>that the patch only addresses the GET/PUT_INFO logic (not the correctness
>of the scheduler proper) but the scheduler seems to indeed be doing the
>right thing.
>
>This patch:
>
>1. Fixes an underflow bug in sedf_adjust_weights() that would cause the
><slice> for a weight-driven domain to be set to a really big number if the
>CPU was already overcommitted.
>
>2. Clarifies the logic in sedf_adjdom(). Whenever (weight==0),
>time-driven scheduling is selected. Otherwise, weight-driven scheduling
>is selected. Extratime scheduling works for both modes. [Note to Keir:
>in re your question, real-time weights only divvy up the spare
>non-time-sliced time according to the predetermined schedule.]
>
>3. Adds a heap of comments to the code, including five examples of how one
>might set the scheduling parameters. Each of the five examples has been
>non-rigorously tested to work as described, but additional testing is
>warranted.
>
>One additional change I recommend is to add printk()'s to sedf_adjdom()
>that indicate the failure of a scheduling operation, and possibly to
>indicate success as well, but that's not included in this patch.
>
>Signed-off-by: jlg@us.ibm.com
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.xensource.com
>http://lists.xensource.com/xen-devel
>
>
next prev parent reply other threads:[~2006-01-12 7:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-05 19:26 [PATCH] Getting and setting SEDF scheduling parameters John L Griffin
2006-01-06 10:37 ` Keir Fraser
2006-01-09 20:42 ` John L Griffin
2006-01-12 7:45 ` Stephan Diestelhorst [this message]
2006-01-12 7:29 ` Stephan Diestelhorst
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=43C60930.4010104@cl.cam.ac.uk \
--to=sd386@cl.cam.ac.uk \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.