Re: [RFC][-mm] [1/2] Simple stats for cpu resource controller

From: Balaji Rao
Date: Sat Apr 05 2008 - 15:15:43 EST


On Sunday 06 April 2008 12:26:16 am Dhaval Giani wrote:
> On Sat, Apr 05, 2008 at 11:39:46PM +0530, Balaji Rao wrote:
> > This patch implements some trivial statistics for the CPU controller.
> >
> > As per our current requirements, we have decided to keep the stats tick
based as opposed to using CFS precise accounting.
> >
>
> A quick question? Why? Everywhere in the CFS we use precise accounting,
> (even within the CPU controller). Doesn't make sense using ticks here
> then.
>
Using CFS precise accounting has a cost (see task_utime and task_stime).
Currently our requirements don't call for precise statistics.

--
regards,
Balaji Rao
Dept. of Mechanical Engineering,
National Institute of Technology Karnataka, India
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/