Hello, once again!
That's my way to get CPU controller work:
I just run task with infinite loop in backgroung, in order to load CPU.
Create 2 classes, and put there the same application (other process, of
cource)
dhcp0-138 ~ # ls /config/ckrm/
attrib class1 class2 config members shares stats
dhcp0-138 ~ # cat /config/ckrm/shares
res=numtasks,guarantee=-2,limit=-2,total_guarantee=100,max_limit=100
res=cpu,guarantee=100,limit=-2,total_guarantee=100,max_limit=-2
dhcp0-138 ~ # cat /config/ckrm/class1/shares
res=numtasks,guarantee=-2,limit=-2,total_guarantee=100,max_limit=100
res=cpu,guarantee=10,limit=-2,total_guarantee=100,max_limit=-2
dhcp0-138 ~ # cat /config/ckrm/class2/shares
res=numtasks,guarantee=-2,limit=-2,total_guarantee=100,max_limit=100
res=cpu,guarantee=90,limit=-2,total_guarantee=100,max_limit=-2
dhcp0-138 ~ # top
21257 root 25 0 1308 252 200 R 33.2 0.0 3:37.82 a.out
21258 root 25 0 1304 248 200 R 33.2 0.0 3:37.34 a.out
21238 root 25 0 1304 252 200 R 32.6 0.0 5:41.24 a.out
^^^
So, I can't see any propotionality...
ctop shoes strange info:
ClassName: cpu load (%)
-------------------------------|--------------|
ckrm : 0.00
class1 : 0.00
class2 : 0.00
this is f0.4 series.
Can you comment this situation, please?
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech