About this list Date view Thread view Subject view Author view Attachment view

From: Peter V. Saveliev (peet_at_peet.spb.ru)
Date: Tue 05 Apr 2005 - 17:43:25 BST


...

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_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 05 Apr 2005 - 17:49:58 BST by hypermail 2.1.3