Hello, all.
I played with f-branch of CKRM and started with f0.3.
First, I tryed numtasks controller of course. It didn't work normaly, because
there was wrong condition check in set_info macros in ckrm_iface.c:

if (ckrm_generic_parse(cfgstr, &resname, &otherstr) == 0)       \
return 0;
instead:

if (ckrm_generic_parse(cfgstr, &resname, &otherstr) != 0)       \
return 0;
In f0.4 this bug is fixed - so I continued to play with f0.4.
Next I tryed to play with CPU controller, and the result was quite strange for me.

dhcp0-138 config # cat /config/ckrm/shares
res=numtasks,guarantee=-2,limit=-2,total_guarantee=100,max_limit=100
res=cpu,guarantee=-2,limit=100,total_guarantee=100,max_limit=100

dhcp0-138 config # cat /config/ckrm/myclass/shares
res=numtasks,guarantee=-2,limit=-2,total_guarantee=100,max_limit=100
res=cpu,guarantee=20,limit=40,total_guarantee=100,max_limit=-2

Then I put task with infinite loop into myclass, which must "eat" as much cpu time, as possible.
In my case, I suppose it's 40%. But top shoes 99% as usual...

Can you tell me, please, is these problems caused by not finished work on f-serie or I did something wrong?

Thank,you!
Vasily Tarasov.
[EMAIL PROTECTED]






-------------------------------------------------------
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

Reply via email to