Re: [PATCH -tip] cpuacct: per-cgroup utime/stime statistics - v4

From: Bharata B Rao
Date: Mon Mar 23 2009 - 03:47:52 EST


On Mon, Mar 23, 2009 at 04:01:12PM +0900, KAMEZAWA Hiroyuki wrote:
>
> Removet this.
>
> +- It is possible to see slightly outdated values for stime and utime
> + due to the batch processing nature of percpu_counter.

This will explain why the stime and utime values for the top cgroup is
different from the ones seen from /proc/stat. Hence I would prefer to have a
mention of it in the documentation.

[root@llm11 cgroups]# cat cpuacct.stat ; cat /proc/stat | grep cpu
utime 3110
stime 8410
cpu 3151 2 8336 4051594 2189 0 133 0 0
...

Regards,
Bharata.
--
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/