WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] is the hypervisor another domain?

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] is the hypervisor another domain?
From: Diwaker Gupta <diwakergupta@xxxxxxxxx>
Date: Tue, 8 Mar 2005 12:08:28 -0800
Delivery-date: Tue, 08 Mar 2005 20:10:41 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=NThuH5yhY2nOsryDkaL09gpa8FVMhSNG+xGQw1PVLNNQtYqrErMlDJ3S+e7USOhWv6SG0SuFdgqT6zr7fuGUgD1lncDD24rCuOk7x+3u/qafj3Y8VE1AhWxIp4vfScq9Kr3oumJ8Er0gxE0CV0cQdnWHq8oPFPisVLFeR/VN3N8=
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Reply-to: Diwaker Gupta <diwakergupta@xxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>