From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932720AbbHYVNr (ORCPT ); Tue, 25 Aug 2015 17:13:47 -0400 Received: from mail-yk0-f174.google.com ([209.85.160.174]:33972 "EHLO mail-yk0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751965AbbHYVNp (ORCPT ); Tue, 25 Aug 2015 17:13:45 -0400 Date: Tue, 25 Aug 2015 17:13:42 -0400 From: Tejun Heo To: Kamezawa Hiroyuki Cc: Paul Turner , 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: <20150825211342.GF26785@mtj.duckdns.org> References: <20150824210223.GH28944@mtj.duckdns.org> <20150824211707.GJ28944@mtj.duckdns.org> <20150824214000.GL28944@mtj.duckdns.org> <20150824224936.GO28944@mtj.duckdns.org> <55DBD4A9.7080603@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55DBD4A9.7080603@jp.fujitsu.com> 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, Kame. On Tue, Aug 25, 2015 at 11:36:25AM +0900, Kamezawa Hiroyuki wrote: > I think I should explain my customer's use case of qemu + cpuset/cpu (via libvirt) > > (1) Isolating hypervisor thread. > As already discussed, hypervisor threads are isolated by cpuset. But their purpose > is to avoid _latency_ spike caused by hypervisor behavior. So, "nice" cannot be solution > as already discussed. > > (2) Fixed rate vcpu service. > With using cpu controller's quota/period feature, my customer creates vcpu models like > Low(1GHz), Mid(2GHz), High(3GHz) for IaaS system. > > To do this, each vcpus should be quota-limited independently, with per-thread cpu control. > > Especially, the method (1) is used in several enterprise customers for stabilizing their system. > > Sub-process control should be provided by some way. Can you please take a look at the proposal on my reply to Paul's email? AFAICS, both of above cases should be fine with that. Thanks. -- tejun