Re: [PATCH v2 14/14] Change CPUACCT to default n

From: Peter Zijlstra
Date: Thu Nov 24 2011 - 08:24:51 EST


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