From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758196Ab2INLSL (ORCPT ); Fri, 14 Sep 2012 07:18:11 -0400 Received: from [205.233.59.134] ([205.233.59.134]:49475 "EHLO merlin.infradead.org" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1754887Ab2INLSG convert rfc822-to-8bit (ORCPT ); Fri, 14 Sep 2012 07:18:06 -0400 Message-ID: <1347621302.7172.22.camel@twins> Subject: Re: [RFC] cgroup TODOs From: Peter Zijlstra To: Tejun Heo Cc: containers@lists.linux-foundation.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, Li Zefan , Michal Hocko , Glauber Costa , Paul Turner , Johannes Weiner , Thomas Graf , "Serge E. Hallyn" , Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo , Neil Horman , "Aneesh Kumar K.V" Date: Fri, 14 Sep 2012 13:15:02 +0200 In-Reply-To: <20120913205827.GO7677@google.com> References: <20120913205827.GO7677@google.com> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2012-09-13 at 13:58 -0700, Tejun Heo wrote: > The cpu ones handle nesting correctly - parent's accounting includes > children's, parent's configuration affects children's unless > explicitly overridden, and children's limits nest inside parent's. The implementation has some issues with fixed point math limitations on deep hierarchies/large cpu count, but yes. Doing soft-float/bignum just isn't going to be popular I guess ;-) People also don't seem to understand that each extra cgroup carries a cost and that nested cgroups are more expensive still, even if the intermediate levels are mostly empty (libvirt is a good example of how not to do things). Anyway, I guess what I'm saying is that we need to work on the awareness of cost associated with all this cgroup nonsense, people seem to think its all good and free -- or not think at all, which, while depressing, seem the more likely option.