Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754193AbbHXWDi (ORCPT ); Mon, 24 Aug 2015 18:03:38 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:34071 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752773AbbHXWDh (ORCPT ); Mon, 24 Aug 2015 18:03:37 -0400 MIME-Version: 1.0 In-Reply-To: <20150824214000.GL28944@mtj.duckdns.org> References: <20150818203117.GC15739@mtj.duckdns.org> <20150822182916.GE20768@mtj.duckdns.org> <55DB3C76.5010009@gmail.com> <20150824170427.GA27262@mtj.duckdns.org> <20150824210223.GH28944@mtj.duckdns.org> <20150824211707.GJ28944@mtj.duckdns.org> <20150824214000.GL28944@mtj.duckdns.org> From: Paul Turner Date: Mon, 24 Aug 2015 15:03:05 -0700 Message-ID: Subject: Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy To: Tejun Heo Cc: Austin S Hemmelgarn , Peter Zijlstra , Ingo Molnar , Johannes Weiner , lizefan@huawei.com, cgroups , LKML , kernel-team , Linus Torvalds , Andrew Morton Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1743 Lines: 34 On Mon, Aug 24, 2015 at 2:40 PM, Tejun Heo wrote: > On Mon, Aug 24, 2015 at 02:19:29PM -0700, Paul Turner wrote: >> > Would it be possible for you to give realistic and concrete examples? >> > I'm not trying to play down the use cases but concrete examples are >> > usually helpful at putting things in perspective. >> >> I don't think there's anything that's not realistic or concrete about >> the example above. The "suppose" parts were only for qualifying the >> pool sizes for vcpu and non-vcpu threads above since discussion of >> implementation using nice is dependent on knowing these counts. > > Hmm... I was hoping for an actual configurations and usage scenarios. > Preferably something people can set up and play with. This is much easier to set up and play with synthetically. Just create the 10 threads and 100 threads above then experiment with configurations designed at guaranteeing the set of 100 threads relatively uniform throughput regardless of how many are active. I don't think trying to run a VM stack adds anything except complexity of reproduction here. > I take that the > CPU intensive helper threads are usually IO workers? Is the scenario > where the VM is set up with a lot of IO devices and different ones may > consume large amount of CPU cycles at any given point? Yes, generally speaking there are a few major classes of IO (flash, disk, network) that a guest may invoke. Each of these backends is separate and chooses its own threading. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/