Re: [PATCH v5 00/11] per-cgroup cpu-stat

From: Tejun Heo
Date: Wed Jan 09 2013 - 09:41:45 EST


Hello, Glauber.

On Wed, Jan 09, 2013 at 03:45:27PM +0400, Glauber Costa wrote:
> [ update: I thought I posted this already before leaving for holidays. However,
> now that I am checking for replies, I can't find nor replies nor the original
> mail in my boxes or archives. I am posting again for safety sake, but sorry
> you are getting this twice by any chance ]

I think I saw the series a while back.

> This is an attempt to provide userspace with enough information to reconstruct
> per-container version of files like "/proc/stat". In particular, we are
> interested in knowing the per-cgroup slices of user time, system time, wait
> time, number of processes, and a variety of statistics.
>
> This task is made more complicated by the fact that multiple controllers are
> involved in collecting those statistics: cpu and cpuacct. So the first thing I
> am doing here, is ressurecting Tejun's patches that aim at deprecating cpuacct.
>
> This is one of the major differences from earlier attempts: all data is provided
> by the cpu controller, resulting in greater simplicity.
>
> This also tries to hook into the existing scheduler hierarchy walks instead of
> providing new ones.

The cgroup part looks good to me.

Thanks.

--
tejun
--
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/