[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] cpu_weight value does nothing.
So I give my users a weight equal to the amount of ram they buy. Right now, I'm doing this by hand... xm sched-credit -d test -w 64 in this case. works great. so, I was poking around thinking about atuomating this today... xm create --help-config gives me: --- cpu_weight=WEIGHT Set the new domain's cpu weight. WEIGHT is a float that controls the domain's share of the cpu. --- bootloader = "/usr/bin/pygrub" cpu_weight=64 memory = 64 name = "test" vif = ['vifname=test,ip=216.218.223.103,bridge=xenbr0,mac=aa:00:00:53:31:67' ] disk = [ 'phy:/dev/boar_domU/test_boot,sda,w', 'phy:/dev/boar_domU/test,sdb,w' ] but it does nothing. [root@boar lsc]# xm sched-credit -d 2 {'cap': 0, 'weight': 256} this is on CentOS 5.1 _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |