Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2712750imm; Mon, 24 Sep 2018 08:44:56 -0700 (PDT) X-Google-Smtp-Source: ACcGV62CNfIlmSHGpzDjKAdng8w2PqyrPfhqDC93ClaIM9ysUF4ce1lk/ezbwQ/3d4iP66Qhfr9+ X-Received: by 2002:a17:902:925:: with SMTP id 34-v6mr11407020plm.307.1537803896760; Mon, 24 Sep 2018 08:44:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537803896; cv=none; d=google.com; s=arc-20160816; b=cddyae1RchUqWVCA1HCyULjieA2OGilgQLarDW5cdT3gJeaBB8srK3QpOBGMcwjGZL PRgUsC/hhgXpX3OW5MB78a3xhyvj1JKKyVl7spX4/y20TRPGXb9yhHQyArlOew9UVOfG qxcBsQaI9myityRpOcRTensr95asCcBFeQFhlgFE9G7tqDcxmeNiYG1jdjiiMsFTwifc 6J0kuKbtD9NKZAIh5wBYBWlZtN371HWpX8oGW1ltXJ4d8PFPdbGDLHLqnaOrMF3/gnkk Gnn1HkxsPBSnwIf5tMEsxIw+86dRRkz117+vfDP6c7UsgOUTiacVFfJg/pee2GVJjFLr 0FsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:from:references:cc:to:subject:dkim-signature; bh=IV+eJF4LmiGfMZrl4ks2U/5ZPnMV0iNQwuCp7M9L8X8=; b=XiXbuGA2dXwHvSYEHI1YoMTSMbNOgiCIyVMy/QxlEab47x3OEiLc7b2T1GWDFojrKf NyYYl6kODWsbPzWBmQKlcSI+AHWNMjToTjYmLuiG4628Ysiw+gKn6Vpu6THgjp8Fbzx0 AvpQwzAuvWnlQE4J6+cs7KSRr+GgDyvzTfJMioT/5sp6cI2EwzvLUL0fuR4s5pDfIVPU /rBFtMHbJFVix1u0EhZGVoqt9t9qN9zSFkHLxAWCcXm4r47i6jHClcfrsKqUUZKuziuH w1epiUlHo7B4LUhiXRZWCIBdRbgRIPn08T/fBVkxURBOab9M9sHUomnwvXWABDrDjmNl GYhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=qR7o+KdW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7-v6si3126985plt.21.2018.09.24.08.44.40; Mon, 24 Sep 2018 08:44:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=qR7o+KdW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730000AbeIXVqR (ORCPT + 99 others); Mon, 24 Sep 2018 17:46:17 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:25388 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726400AbeIXVqR (ORCPT ); Mon, 24 Sep 2018 17:46:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1537803810; x=1569339810; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=IV+eJF4LmiGfMZrl4ks2U/5ZPnMV0iNQwuCp7M9L8X8=; b=qR7o+KdWqfMr9zrMJZ6w5Cyvw8f18M5f51GAHh1dpEGO/6V+w3G/g0RI ZSu3OmAqkGHlp7fsMWi0V/8H0zt5eCst+iyMi5aqkuhUnLP+Ew7KIOvWt Alkq4SMsuEd/n2NbETfUnaaBNsTCzu3CtvMYwTVriUi1uZ2NoTPS523cT I=; X-IronPort-AV: E=Sophos;i="5.54,298,1534809600"; d="scan'208";a="632348462" Received: from sea3-co-svc-lb6-vlan3.sea.amazon.com (HELO email-inbound-relay-2a-e7be2041.us-west-2.amazon.com) ([10.47.22.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 24 Sep 2018 15:43:28 +0000 Received: from u7588a65da6b65f.ant.amazon.com (pdx2-ws-svc-lb17-vlan3.amazon.com [10.247.140.70]) by email-inbound-relay-2a-e7be2041.us-west-2.amazon.com (8.14.7/8.14.7) with ESMTP id w8OFhPwT031645 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 24 Sep 2018 15:43:27 GMT Received: from u7588a65da6b65f.ant.amazon.com (localhost [127.0.0.1]) by u7588a65da6b65f.ant.amazon.com (8.15.2/8.15.2/Debian-3) with ESMTP id w8OFhPK9020699; Mon, 24 Sep 2018 17:43:25 +0200 Subject: Re: [RFC 00/60] Coscheduling for Linux To: Subhra Mazumdar , Ingo Molnar , Peter Zijlstra Cc: linux-kernel@vger.kernel.org References: <20180907214047.26914-1-jschoenh@amazon.de> <3336974a-38f7-41dd-25a7-df05e077444f@oracle.com> <90282ce3-dd14-73dc-fb9f-e78bb4042221@amazon.de> From: "=?UTF-8?Q?Jan_H._Sch=c3=b6nherr?=" Openpgp: preference=signencrypt Message-ID: Date: Mon, 24 Sep 2018 17:43:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/19/2018 11:53 PM, Subhra Mazumdar wrote: > Can we have a more generic interface, like specifying a set of task ids > to be co-scheduled with a particular level rather than tying this with > cgroups? KVMs may not always run with cgroups and there might be other > use cases where we might want co-scheduling that doesn't relate to > cgroups. Currently: no. At this point the implementation is tightly coupled to the cpu cgroup controller. This *might* change, if the task group optimizations mentioned in other parts of this e-mail thread are done, as I think, that it would decouple the various mechanisms. That said, what if you were able to disable the "group-based fairness" aspect of the cpu cgroup controller? Then you would be able to control just the coscheduling aspects on their own. Would that satisfy the use case you have in mind? Regards Jan