|
|
|
|
|
|
|
|
|
|
xen-users
Good day.
I'm trying to change dom0 weight, but failing - weight going down and it
weight changes dynamically... All other domain do this normally, but
dom0.
I'm using XCP 0.5 with Xen 3.4 (I think, dom0 weight is not controlled
by xapi, so XCP has nothing to this problem).
It looks like this (I'm using this script for testing):
#!/usr/bin/python
import xen.lowlevel.xc as xc
import sys
xc=xc.xc()
domid=int(sys.argv[1])
print "was:", xc.sched_credit_domain_get(domid)
try:
xc.sched_credit_domain_set(domid,int(sys.argv[2]),
int(sys.argv[3]))
except:
print "oops"
print "now:", xc.sched_credit_domain_get(domid)
If I do ./dompri X 300, it will be 300 always, but when I do
./dompri 0 300 I see this:
./dompri 0 300
was: {'cap': 0, 'weight': 292}
now: {'cap': 0, 'weight': 73}
./dompri 0 300
was: {'cap': 0, 'weight': 256}
now: {'cap': 0, 'weight': 109}
(so it changes randomly...)
Is this some kind of new feature or this a bug? Anyway, how can I raise
dom0 priority?
---
wBR, George.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-users] dom0 weight,
George Shuklin <=
|
|
|
|
|