From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757426Ab0KPTNY (ORCPT ); Tue, 16 Nov 2010 14:13:24 -0500 Received: from casper.infradead.org ([85.118.1.10]:56000 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757394Ab0KPTNW convert rfc822-to-8bit (ORCPT ); Tue, 16 Nov 2010 14:13:22 -0500 Subject: Re: [RFC/RFT PATCH v3] sched: automated per tty task groups From: Peter Zijlstra To: Vivek Goyal Cc: david@lang.hm, Paul Menage , Lennart Poettering , Linus Torvalds , Dhaval Giani , Mike Galbraith , Oleg Nesterov , Markus Trippelsdorf , Mathieu Desnoyers , Ingo Molnar , LKML , Balbir Singh In-Reply-To: <20101116190916.GD13092@redhat.com> References: <1289916171.5169.117.camel@maggy.simson.net> <1289916683.2109.625.camel@laptop> <20101116170312.GA19327@tango.0pointer.de> <20101116181603.GC19327@tango.0pointer.de> <1289931715.2109.648.camel@laptop> <1289933965.2109.652.camel@laptop> <20101116190916.GD13092@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Tue, 16 Nov 2010 20:13:20 +0100 Message-ID: <1289934800.2109.653.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2010-11-16 at 14:09 -0500, Vivek Goyal wrote: > I think this might create some issues with controllers which support some > kind of upper limit on resource usage. These hidden group can practically > consume any amount of resource and because use space tools can't see these, > they will not be able to place a limit or control it. > > If it is done from user space and cgroups are visible, then user can > atleast monitor the resource usage and do something about it. Its cpu-controller only, and then only for SCHED_OTHER tasks which are proportionally fair.