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

[Xen-devel] Does Xen scheduler preserves 5% of its utilization to every VM?


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: walmart <vmwalmart@xxxxxxxxx>
  • Date: Tue, 14 Sep 2010 01:16:09 -0500
  • Delivery-date: Mon, 13 Sep 2010 23:17:41 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=mgSCnsHmtMNxxW4FbzOjlXZUPWVr8HT7XPb9c+bQcteN6Qj78V8DnXxvZgK2xelcoH JyNSCwbkj6YsTeAsNg42yoRgTWT+rYX1s7SRQgJcUOlxtt3T/5YcXMXxfkFYEHmpjoq9 FCKKwqc2WakBZbw7BqXqZWPZJshpBQOwGdyQc=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi, all

I was trying to write a Xen scheduler, it is a fixed priority one and
would give domain 1 higher priority than domain 2. (which means
whenever domain 1 is runnable, it got the cpu to run).

I got two domains running. It is on Fedora 13, 64 bit, Xen 4.0.1.

domain 1 and doman 2 both only have one vcpu, and are pinned to the same core.

The strange thing is:

domain 1 is busy, domain 2 is idle, domain 1 got 95% of the cpu;
domain 1 is idle, domain 2 is busy, domain 2 got 95% of the cpu;
domain 1 is busy, domain 2 is busy, domain 1 got 95% of the cpu, while
domain 2 got the remaining 5%.

I checked the schedule() function again and again, still couldn't
figure out why would this happen.

Could anyone give me some hint?


thanks very much!

Best!

Sam

_______________________________________________
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®.