On Friday 28 April 2006 23:55, Hirokazu Takahashi wrote: > I think you can introduce some threshold to estimate whether > a process should be treated as an interactive process or not > while vanilla kernel defines it statically.
The static definition (TASK_INTERACTIVE) used is based on what the cpu scheduler already knows about the tasks so although it's static, it is based on the dynamic behaviour and most recent sleep/run data. Unfortunately we can't define it any clearer than that. We have no better metric that states clearly that anything is definitely interactive. Thus there is no clearly defined threshold we can use either. If it was that simple the estimator would be simpler and we wouldn't have half a dozen alternative cpu schedulers available all looking to tackle much the same thing. -- -ck ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech