[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4ECE6BC4.7090600@parallels.com>
Date: Thu, 24 Nov 2011 14:07:32 -0200
From: Glauber Costa <glommer@...allels.com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
CC: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
Balbir Singh <bsingharora@...il.com>,
Paul Turner <pjt@...gle.com>, <linux-kernel@...r.kernel.org>,
<paul@...lmenage.org>, <lizf@...fujitsu.com>,
<daniel.lezcano@...e.fr>, <jbottomley@...allels.com>,
<fweisbec@...il.com>
Subject: Re: [PATCH v2 14/14] Change CPUACCT to default n
On 11/24/2011 11:24 AM, Peter Zijlstra wrote:
> On Mon, 2011-11-21 at 10:59 +0900, KAMEZAWA Hiroyuki wrote:
>> Could you share your analysis why cpuacct cgroup is slow ?
>
> It adds accounting to all scheduler hot paths, accounting that is mostly
> duplicate of accounting already done. It also does another cgroup
> hierarchy walk, separate from existing controllers, hitting all cold
> cachelines again.
>
> IOW, it sucks chunks and I should never have allowed it to be merged.
OTOH, if the use case for it includes separating processes for the cpu
and cpuacct cgroups in an independent manner - which apparently it does,
I've just learned, there isn't much we can do except try to make it cheaper.
The direction I am going right now wrt this is to clean this up and
reduce the impact of it when the root cgroup is the only one active. All
other users are using the functionality, so let them pay...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists