Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752456AbbHSQX2 (ORCPT ); Wed, 19 Aug 2015 12:23:28 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:36068 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751990AbbHSQX0 (ORCPT ); Wed, 19 Aug 2015 12:23:26 -0400 Date: Wed, 19 Aug 2015 09:23:23 -0700 From: Tejun Heo To: Kamezawa Hiroyuki Cc: Paul Turner , 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: <20150819162323.GA20716@mtj.duckdns.org> References: <1438641689-14655-1-git-send-email-tj@kernel.org> <1438641689-14655-4-git-send-email-tj@kernel.org> <20150804090711.GL25159@twins.programming.kicks-ass.net> <20150804151017.GD17598@mtj.duckdns.org> <20150805091036.GT25159@twins.programming.kicks-ass.net> <20150805143132.GK17598@mtj.duckdns.org> <20150818203117.GC15739@mtj.duckdns.org> <55D3C23F.702@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55D3C23F.702@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 Content-Length: 954 Lines: 26 Hello, Kame. On Wed, Aug 19, 2015 at 08:39:43AM +0900, Kamezawa Hiroyuki wrote: > An actual per-thread use case in our customers is qemu-kvm + cpuset. > customers pin each vcpus and qemu-kvm's worker threads to cpus. > For example, pinning 4 vcpus to cpu 2-6 and pinning qemu main thread and > others(vhost) to cpu 0-1. taskset and/or teach qemu how to confiure its worker threads? > This is an actual kvm tuning on our customers for performance guarantee. > > In another case, cpu cgroup's throttling feature is used per vcpu for vm cpu sizing. Yeap, this is something we likely want to implement in an accessible way. For kvm, per-thread throttling configuration is enough, right? Thanks. -- tejun -- 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/