From: Tejun Heo Subject: Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy Date: Tue, 25 Aug 2015 17:13:42 -0400 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 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=IyPU5/qk2LDJVnPfbnXMXfYJSMqUMcU/tZLzOCjy7JU=; b=YBFYJaUcHwbYTGG+eohUNIbrV/7huqNVQVVoP0dsgj8nrA35WfNuHs4rstgDSD3trI Pi6L1BPictCmc/LlFPXW1/E0qhg3R9EKZmvRL6HAG8uP6p6/D/8NSfin5lhmP9AhpbFT LF92c/DmJoUimogzbk/YrPVaZvlRoI7TtmfqWwj3xsXfLg9tb+3h+4WFZEUFg2SjUJ4C OkC2s0kb/9JhzM2FQeWsM46exgb63STkkKuwp+Bxfqy229dY80adeh9FfpKg/rmr0vcu 9Hr4m/4bYarXbqmriR2SVcJgEOtWJuMDLTOPleEJuU4H7ydyE/l99uPQaJLR9bm5Kw7o jIxA== Content-Disposition: inline In-Reply-To: <55DBD4A9.7080603-+CUm20s59erQFUHtdCDX3A@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Kamezawa Hiroyuki Cc: Paul Turner , Austin S Hemmelgarn , Peter Zijlstra , Ingo Molnar , Johannes Weiner , lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org, cgroups , LKML , kernel-team , Linus Torvalds , Andrew Morton 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