[lkml]   [2008]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC][-mm] [1/2] Simple stats for cpu resource controller
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.

Balaji Rao
Dept. of Mechanical Engineering,
National Institute of Technology Karnataka, India

 \ /
  Last update: 2008-04-05 21:17    [W:0.114 / U:5.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site