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] Scheduling in domain

To: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Scheduling in domain
From: "Ashish Puri" <ashish.xen@xxxxxxxxx>
Date: Mon, 25 Sep 2006 04:10:41 -0700
Delivery-date: Mon, 25 Sep 2006 04:11:15 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=DwgWsCI9oap9cZ14itawOtYvbrb2VTR8XXrUyvqjr/EC4d9wkVjBTBXV0k6dOsUO3NI6fa8utjkEw4tnCulsdTwWhSZK5L6tj/TC0559nH+ETJZ9AfitpkJvGsM1EQGjSTkEemA+1yaZzcyOCJTMpPzFiSjBbQuRTpROXT8q75Q=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
 
I have few doubts regarding the process scheduling in the domains.
 
1. In Xen 3.0 is guest aware of virtual time?? I see in the Xen 2.0 code that domain_time is present in the shared info pages. However i could not find similar field in the Xen 3.0 code.
 
2. If not, how is domain expected to do the "fair" scheduling/accounting for the processes running in the domain?? If vcpu is descheduled and later when it is rescheduled i see in the code that it will simply call do_timer() multiple times, in guest, to account for the "missing time" and update the jiffies multiple time. Also, the scduler_tick() is called repetedly. My question is: isn't this wrong, in the sense that process might not have run for its allocated time??? Am i missing something??
 
3. If yes, how it is used to do fair scheduling??
 
Thanks and Regards,
Ashish.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>