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

[Xen-users] bvt scheduler parameters confusion!


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Hardeep Singh" <hardeepguru@xxxxxxxxx>
  • Date: Tue, 13 Jun 2006 20:57:17 -0500
  • Delivery-date: Tue, 13 Jun 2006 18:58:04 -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=eLJH+0RIn5NfUdaHNDRDoX0plKz84IwtwQ9iPWLkAWZf/18/ZKphYFl9qBIC9lrE6LeFBJWlyCtzFJo5PY5G4M44/hxD/cRcPmaDYWD0PrEScn3ya/ER8rTmyzrGr8zDI2LkMDqHNNHJTgl7RhGxWeiXeNk6pnOrH+imu9lQJaw=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

hi all,

im am trying to allocate cpu to the various domains using a bvt scheduler. so now lets say i want to give the first virtual machine a weight of 1 and the second a weight of 2. this should result in domain1 using 33% of the cpu and domain2 66%. however since xm sched-bvt takes inverse of the weights as input so i do 1/1 and 1/2 and hence do "xm sched-bvt vm1 2 0 0 0 0" for the first domain and "xm sched-bvt vm2 1 0 0 0 0" for the second domain. This however results in domain 1 using 40% and domain 2 using 60% of cpu as shown by "xm top". Can anyone please point out where am i going wrong. any help will be appreciated!

regards,
hardeep
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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