On Mon, 2005-06-27 at 15:16 -0700, Matthew Helsley wrote:
> On Mon, 2005-06-27 at 12:05 -0700, Chandra Seetharaman wrote:
> > On Mon, 2005-06-27 at 16:07 +0900, Naoaki Maeda wrote:
> > > Gerrit Huizenga wrote:
> > > 
> > > > +As with any other resource under the CKRM framework, numtasks also 
> > > > assigns
> > > > +all the resources to the detault class(/rcfs/taskclass). Since , the 
> > > > number
> > > > +of tasks in a system is not limited, this resource controller provides 
> > > > a
> > > > +way to set the total number of tasks available in the system through 
> > > > the config
> > > > +file. By default this value is 128k(131072). In other words, if not 
> > > > changed,
> > > > +the total number of tasks allowed in a system is 131072.
> > > > +
> > > > +The config variable that affect this is sys_total_tasks.
> > > 
> > > Because there are people who do not want to use the numtask controller,
> > > no limit is a preferable default value for sys_total_tasks.
> > 
> > It is not a limit, it is the system level number of tasks assumed by the
> > numtasks controller, so, it cannot be a _no limit_, it has to be real
> > number.
> > > 
> > > > +Usage
> > > > +-----
> > > > +
> > > > +For brevity, unless otherwise specified all the following commands are
> > > > +executed in the default class (/rcfs/taskclass).
> > > > +
> > > > +As explained above the config file shows sys_total_tasks and forkrate
> > > > +info.
> > > > +
> > > > +   # cd /rcfs/taskclass
> > > > +   # cat config
> > > > +   
> > > > res=numtasks,sys_total_tasks=131072,forkrate=1000000,forkrate_interval=3600
> > > > +
> > > > +By default, the sys_total_tasks is set to 131072(128k), and forkrate 
> > > > is set
> > > > +to 1 million and forkrate_interval is set to 3600 seconds. Which means 
> > > > the
> > > > +total number of tasks in a system is limited to 131072 and the forks 
> > > > are
> > > > +limited to 1 million per hour.
> > > 
> > > >From the same point of view, the default value of forkrate should be
> > > no limit. (In addition, 1 million tasks per hour is not an abnormally
> > > high rate.)
> > 
> > we can make it 1 million / second (or minute).
> 
>       I think 2147483647 / 1 second (forkrate=INT_MAX, forkrate_interval=1)
> should be sufficiently large that it will seem like a don't care value

sounds good to me.

> on many machines. It's also at/near the limit of the current
> representation as far as I can tell. If so, maybe switching to 64-bit
> counts would make this limitation less significant.
> 
> Cheers,
>       -Matt Helsley
> 
> > > 
> > > Thanks,
> > > MAEDA Naoaki
> > > 
> > > 
> > > 
> > > -------------------------------------------------------
> > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> > > from IBM. Find simple to follow Roadmaps, straightforward articles,
> > > informative Webcasts and more! Get everything you need to get up to
> > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> > > _______________________________________________
> > > ckrm-tech mailing list
> > > https://lists.sourceforge.net/lists/listinfo/ckrm-tech
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> ckrm-tech mailing list
> https://lists.sourceforge.net/lists/listinfo/ckrm-tech
-- 

----------------------------------------------------------------------
    Chandra Seetharaman               | Be careful what you choose....
              - [EMAIL PROTECTED]   |      .......you may get it.
----------------------------------------------------------------------




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to