Thanks a lot Maeda.
I tried that and it worked ! 
I gave 20% share to kernbench and it showed 22% in the output. Please
see the attachment. I plan to play more with it.
Can you pls explain why limit is meaningless for the CPU resource
controller..?

Regards,
Rajaram Suryanarayanan | Team Lead | ES7000 Linux Systems Group    
Unisys Global Services -India | 
'Purva Premier', 135/1, Residency Road, | Bangalore - 560 025 |
+91-80-51594560
Do your best. Leave the rest to Linux.          

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.         
-----Original Message-----
From: MAEDA Naoaki [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 20, 2006 2:54 PM
To: Suryanarayanan, Rajaram
Cc: [email protected]
Subject: Re: Help in using kernbench

Hi again,

> Thanks. So is it enough to run a while(1) process in the default class
> to see a difference ? 

Yes. It's enough.

> Also do you mean I am correct in my methods of configuring shares and
> using the kernbench tool ? 

I think so.

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

It is OK, but if I were you I would open another terminal/shell for 
running kernbench and write its pid to C1/members. 

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

It is intentional, because the limit is meaningless for the CPU resource
controller. 

Thanks,
MAEDA Naoaki

Attachment: kernbench-results3
Description: kernbench-results3

Reply via email to