...

Two contexts: xids 100 & 200 (not hard scheduled):

8<---------------------------------------------
vcontext --create --xid 100 -- vsched --fill-rate 30 --interval 100 --tokens 
100 --tokens-max 100 -- sh
vcontext --create --xid 200 -- vsched --fill-rate 60 --interval 100 --tokens 
100 --tokens-max 100 -- sh
8<---------------------------------------------

In the contexts: burnP6 &

8<---------------------------------------------
~ # vcontext --migrate --xid 100 -- ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      3759 58.3  0.0     92    12 pts/1    R    00:31   9:48 burnP6
root      4302  0.0  0.1   2256   764 pts/3    R+   00:48   0:00 ps aux

~ # vcontext --migrate --xid 200 -- ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      3977 49.9  0.0     92    12 pts/1    R    00:38   5:17 burnP6
root      4308  0.0  0.1   2256   764 pts/3    R+   00:48   0:00 ps aux
8<---------------------------------------------

details:

8<---------------------------------------------
~ # cat /proc/virtual/100/sched 
Token:                 0
FillRate:             30
Interval:            100
TokensMin:            62
TokensMax:           100
PrioBias:              0
VaVaVoom:              0
cpu 0: 0 0 0

~ # cat /proc/virtual/200/sched 
Token:                 0
FillRate:             60
Interval:            100
TokensMin:            62
TokensMax:           100
PrioBias:              0
VaVaVoom:              0
cpu 0: 0 0 0
8<---------------------------------------------

I thought, that there must be another CPU utilization ratios, I was wrong?


-- 
Peter V. Saveliev
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to