From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754804AbbHXVC2 (ORCPT ); Mon, 24 Aug 2015 17:02:28 -0400 Received: from mail-qk0-f180.google.com ([209.85.220.180]:33552 "EHLO mail-qk0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754101AbbHXVC0 (ORCPT ); Mon, 24 Aug 2015 17:02:26 -0400 Date: Mon, 24 Aug 2015 17:02:23 -0400 From: Tejun Heo To: Paul Turner Cc: Austin S Hemmelgarn , Peter Zijlstra , Ingo Molnar , Johannes Weiner , lizefan@huawei.com, cgroups , LKML , kernel-team , Linus Torvalds , Andrew Morton Subject: Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy Message-ID: <20150824210223.GH28944@mtj.duckdns.org> References: <20150805091036.GT25159@twins.programming.kicks-ass.net> <20150805143132.GK17598@mtj.duckdns.org> <20150818203117.GC15739@mtj.duckdns.org> <20150822182916.GE20768@mtj.duckdns.org> <55DB3C76.5010009@gmail.com> <20150824170427.GA27262@mtj.duckdns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Mon, Aug 24, 2015 at 01:54:08PM -0700, Paul Turner wrote: > > That alone doesn't require hierarchical resource distribution tho. > > Setting nice levels reasonably is likely to alleviate most of the > > problem. > > Nice is not sufficient here. There could be arbitrarily many threads > within the hypervisor that are not actually hosting guest CPU threads. > The only way to have this competition occur at a reasonably fixed > ratio is a sub-hierarchy. I get that having hierarchy of threads would be nicer but am having a bit of difficulty seeing why adjusting priorities of threads wouldn't be sufficient. It's not like threads of the same process competing with each other is a new problem. People have been dealing with it for ages. Hierarchical management can be a nice plus but we want the problem and proposed solution to be justifiable. Thanks. -- tejun