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

RE: [Xen-devel] xen scheduler question

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] xen scheduler question
From: "Agarwal, Lomesh" <lomesh.agarwal@xxxxxxxxx>
Date: Thu, 1 Feb 2007 13:26:01 -0800
Cc: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>
Delivery-date: Thu, 01 Feb 2007 13:26:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200702010108.l1118xge016062@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <24331DEBF3D45C4E8BDAA5E9B331EDC001C9F9F0@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <200702010108.l1118xge016062@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdFnZStzavqEUu6Q/qvSPY8nPFFBAAqViLQ
Thread-topic: [Xen-devel] xen scheduler question
So that means on one physical CPU domain with one VCPU will run all the
time while on the other physical CPU VCPUs of other domain will
alternate. Right?
Can someone give me timeline of how VCPUs are scheduled on physical CPU.
Domain 1 - VCPU A and B
Domain 2 - VCPU C
Physical CPU X and Y

-----Original Message-----
From: Atsushi SAKAI [mailto:sakaia@xxxxxxxxxxxxxx] 
Sent: Wednesday, January 31, 2007 5:09 PM
To: Agarwal, Lomesh
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] xen scheduler question

Hi, Agarwal

It should be run as you suggested.
Xen treats weight on domain basis.

But this situation changes, if you pin to some vcpu to pcpu.

Thanks
Atsushi SAKAI


"Agarwal, Lomesh" <lomesh.agarwal@xxxxxxxxx> wrote:

> If there are two guest running one with 1 VCPU and other with 2 VCPU
> with equal weight and no cap on a dual core machine, how will Xen
assign
> the physical CPUs to guests? Does Xen treats weight on domain basis?
If
> that's true then VCPU of domain with one VCPU will be scheduled twice
as
> often then the VCPU of other domain. Right?
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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