[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] xen scheduler question


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.