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

2013-01-23 Thread Colin Cross
On Wed, Jan 23, 2013 at 3:06 PM, Tejun Heo wrote: > Hello, Collin. > > On Wed, Jan 23, 2013 at 02:41:46PM -0800, Colin Cross wrote: >> I think some of it is just historic, we previously did not group >> application threads in the scheduler, so it would cause a change in >> behavior if we started g

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

2013-01-23 Thread Tejun Heo
Hello, Collin. On Wed, Jan 23, 2013 at 02:41:46PM -0800, Colin Cross wrote: > I think some of it is just historic, we previously did not group > application threads in the scheduler, so it would cause a change in > behavior if we started grouping them. I will investigate switching to > a co-mount

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

2013-01-23 Thread Colin Cross
On Wed, Jan 23, 2013 at 8:56 AM, Tejun Heo wrote: > Hello, Collin. > > On Tue, Jan 22, 2013 at 05:53:59PM -0800, Colin Cross wrote: >> I understand why it makes sense from a code perspective to combine cpu >> and cpuacct, but by combining them you are enforcing a strange >> requirement that to mea

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

2013-01-23 Thread Tejun Heo
Hello, Collin. On Tue, Jan 22, 2013 at 05:53:59PM -0800, Colin Cross wrote: > I understand why it makes sense from a code perspective to combine cpu > and cpuacct, but by combining them you are enforcing a strange > requirement that to measure the cpu usage of a group of processes you Well, "stra

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

2013-01-23 Thread Glauber Costa
On 01/23/2013 05:53 AM, Colin Cross wrote: > On Tue, Jan 22, 2013 at 5:02 PM, Tejun Heo wrote: >> Hello, >> >> On Mon, Jan 21, 2013 at 04:14:27PM +0400, Glauber Costa wrote: Android userspace is currently using both cpu and cpuacct, and not co-mounting them. They are used for fundamenta

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

2013-01-22 Thread Colin Cross
On Tue, Jan 22, 2013 at 5:02 PM, Tejun Heo wrote: > Hello, > > On Mon, Jan 21, 2013 at 04:14:27PM +0400, Glauber Costa wrote: >> > Android userspace is currently using both cpu and cpuacct, and not >> > co-mounting them. They are used for fundamentally different uses such >> > that creating a sin

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

2013-01-22 Thread Tejun Heo
Hello, On Mon, Jan 21, 2013 at 04:14:27PM +0400, Glauber Costa wrote: > > Android userspace is currently using both cpu and cpuacct, and not > > co-mounting them. They are used for fundamentally different uses such > > that creating a single hierarchy for both of them while maintaining > > the ex

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

2013-01-21 Thread Glauber Costa
On 01/16/2013 04:33 AM, Colin Cross wrote: > On Wed, Jan 9, 2013 at 3:45 AM, 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 a

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

2013-01-15 Thread Colin Cross
On Wed, Jan 9, 2013 at 3:45 AM, 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 s

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

2013-01-09 Thread Tejun Heo
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 ag

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

2013-01-09 Thread Glauber Costa
[ 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 ] Hi all, This i