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-users

[Xen-users] bvt scheduler parameters confusion!

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] bvt scheduler parameters confusion!
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] bvt scheduler parameters confusion!, Hardeep Singh <=