Hi Maeda,

        
> 
> I find that Percent CPU is 98.5 in the first file and 97.5 in the
second file. Just 1% decrease for configuring 20% share of the CPU ?

Another CPU hog process, such as an infinite loop must be run on the
other
class. Otherwise kernbench can consume whole CPU time regardless of its
share.

Please not that it is a guarantee, not limit. Even though other class
try to
consume over 80% of CPU, 20% is guaranteed for C1. It is the function. 

> I am not sure if I am using the kernbench tool in correct manner or
configuring shares of the classes correctly. Please let me know.
> 
> My aim is to somehow see that when I change the shares for a class,
the process belonging to the class gets slowed down or speeds up. In
short, seeing the CPU controller working :)
> 
> Thanks,
> Rajaram.

Thanks,
MAEDA Naoaki


Thanks. So is it enough to run a while(1) process in the default class
to see a difference ? 
Also do you mean I am correct in my methods of configuring shares and
using the kernbench tool ? 

Now I feel that I should have moved the pid of kernbench to C1 instead
of looking for the pids of "make -j 4" in "ps -ef" and moving them to
C1..am I right ?

Also I am not able to set the limits. When I echo the limit and the
max_limit values to the shares files, it doesn't get changed.. I tried
to set the max_limit of the default class to 100 and limit of C1 to 30. 


Regards,
Rajaram.



-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to