All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: "Mike D. Day" <ncmike@us.ibm.com>
Cc: Nauman Rafique <naumanr@gmail.com>, xen-devel@lists.xensource.com
Subject: Re: CPU scheduling of domains and vcpus
Date: Mon, 21 Apr 2008 22:34:13 +0100	[thread overview]
Message-ID: <20080421213413.GE6127@implementation> (raw)
In-Reply-To: <20080421203218.GA14282@silverwood.ncultra.org>

Mike D. Day, le Mon 21 Apr 2008 16:32:18 -0400, a écrit :
> On 21/04/08 18:56 +0100, Samuel Thibault wrote:
> > Nauman Rafique, le Mon 21 Apr 2008 13:52:21 -0400, a écrit :
> > > In fact, wasted cycles can probably be avoided by doing opportunisitic
> > > gang scheduling (i.e. gang schedule, unless there would be wasted
> > > cycles)
> > 
> > How do you detect that there would be wasted cycles?
> 
> The only way is for a very self-aware guest to use a paravirtual
> feature to give a hint to the scheduler. 

Agreed :)

> Alternatively, the scheduler can notify the guest that it is about to
> be preempted by the hypervisor and now would be a good time to sleep
> before gaining a contended spinlock.

Mmm, "about to be" means "on the next tick" then.  That may be a long
time.

Samuel

  reply	other threads:[~2008-04-21 21:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-21 17:52 CPU scheduling of domains and vcpus Nauman Rafique
2008-04-21 17:56 ` Samuel Thibault
2008-04-21 20:32   ` Mike D. Day
2008-04-21 21:34     ` Samuel Thibault [this message]
2008-04-22 18:34       ` Nauman Rafique

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=20080421213413.GE6127@implementation \
    --to=samuel.thibault@eu.citrix.com \
    --cc=naumanr@gmail.com \
    --cc=ncmike@us.ibm.com \
    --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.