All of lore.kernel.org
 help / color / mirror / Atom feed
From: Diwaker Gupta <diwakergupta@gmail.com>
To: xen-devel@lists.sourceforge.net
Subject: is the hypervisor another domain?
Date: Tue, 8 Mar 2005 12:08:28 -0800	[thread overview]
Message-ID: <1b0b455705030812087e367049@mail.gmail.com> (raw)

Hi everyone,

I was just investigating scheduling of VMs on Xen, and so I was
logging the following data from inside __enter_scheduler (in
xen/common/schedule.c):

id: prev->id
duration: now - prev->lastschd

Now, suppose I have domain0 and another VM (the first created after
dom0, thus gets a domain ID of 1) running. And to simplify matters I'm
using the round robin scheduler with default params (i.e. 10ms slice).
Now I would have expected to see dom0 (id=0) and the lone VM (id=1)
scheduled alternately.

However, I see a lot of instances where the id as recorded above
reports a value of 32767. I'm guessing this is the hypervisor? It'll
be great if someone can shed some light on this -- does the scheduler
treat the hypervisor as just another domain?

It'll be great if someone can shed more light on whats going on here.

Thanks,
Diwaker
-- 
Diwaker Gupta
http://resolute.ucsd.edu/diwaker


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

             reply	other threads:[~2005-03-08 20:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-08 20:08 Diwaker Gupta [this message]
2005-03-08 20:13 ` is the hypervisor another domain? Rob Gardner
2005-03-08 20:25   ` Keir Fraser
2005-03-09  0:14     ` Mark Williamson

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=1b0b455705030812087e367049@mail.gmail.com \
    --to=diwakergupta@gmail.com \
    --cc=xen-devel@lists.sourceforge.net \
    /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.