Credit Parameters inside config ignored (3.0.4-0)
Hello,
it seems for me, that the credit-paramters inside a domain config file are completely ignored:
Domain-0:~ # xm create /etc/xen/vm/xendom1 -n
Using config file "/etc/xen/vm/xendom1".
(vm
(name xendom1)
(memory 256)
(vcpus 1)
(on_xend_start ignore)
(on_xend_stop ignore)
(cpu_cap 100)
(cpu_weight 100)
(image
(linux
(kernel /boot/vmlinuz-2.6.16.33-xenU)
(ramdisk /boot/initrd-2.6.16.33-xenU)
(root '/dev/sda1 ro')
)
)
(device (vbd (uname phy:/dev/xenvol/xendom1_root) (dev sda1) (mode w)))
(device (vbd (uname phy:/dev/xenvol/xendom1_swap) (dev sda2) (mode w)))
(device (vif (mac 00:11:25:67:30:65))))
Domain-0:~/ # xm create /etc/xen/vm/xendom1
Using config file "/etc/xen/vm/xendom1".
Started domain xendom1
Domain-0:~ # xm sched-credit -d xendom1
{'cap': 0, 'weight': 256}
Greetings,
-timo
Signature · 2 lines
Timo Benk - Jabber ID: [email protected] - ICQ ID: #414944731 PGP Public Key: http://m28s01.vlinux.de/timo_benk_gpg_key.asc
Hi, Timo
It should not be configured cpu_weight at boot time on xen 3.0.4. Since following patch is not included.
http://xenbits2.xensource.com/xen-unstable.hg?rev/5c46e27e3915
Thanks
Atsushi SAKAI
Quoted 4 lines · Timo Benk
Hello,
it seems for me, that the credit-paramters inside a domain config file are completely ignored: