Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2232176ybi; Mon, 1 Jul 2019 08:26:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJQv5+6qPYBZFmpm/WIdEwA+0bhCuktP/biviiupG11ex3YSwJLFQ8pRO9WhTbWYV+zhPQ X-Received: by 2002:a17:90b:30b:: with SMTP id ay11mr8899694pjb.16.1561994761757; Mon, 01 Jul 2019 08:26:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561994761; cv=none; d=google.com; s=arc-20160816; b=tNsT9Ynp9qWUNsh1alAx181/WGnqnzbnFbRGoASwl3oLy9udyxWQ48ulWjvwR4NyqT 7LaO/H7LAEazA8hJgNhdnPyJ3rDy0umyfnjKRSflmQDR6Uf4MShvuunywcTrya7RqaA1 4SxRdm1tYh0YLVbVNvO/2tM+Qso/oDRi4pX9Rb5x2WWmHc8krGCKRxKaPPVvh9G2cEtP XSK6sXRcz8IsECULlB9bLC5XTwcPX4P4IwZxQ2pUa3m0W8D8hWtnGW5aUVGSz4vaHVac 5JAkhMXRFqe8fGlPd7jnoGA8JilO8l36ztyKW2pzMqwSBDxPZ/socHTD581lzp9dnYmQ 6SAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=URdBZnltUJZp8y8LciA/5TX5//edmZzvDOigSBMpLjU=; b=bPxHB7dpB2NCpWB8Z0S/dMc0nYSuAk1wNUR3aOn0e8HpVcytH5pgYTRfNBW3/F8GcW CTDNcXY1PMDcF+kghOqUG7GgBH66i0yFfuk3o+fTnL6Pk4CXea69FVQdOi+xwmOxC9bF F5yuIxwdk0Xrk+4YUIEcxj8prPPZHkg9/I3qGbtSc9vzL9VOECsdQgWN1NlPUx1BDT/W 0f3tAGwXYUXn+HhPExcn3lSX7MiWBBbbj8YEsawDz5DmxH9IlGqPHgSmOH5OEeaF74Gg SW8tl0FCRvQpf+3G/1vN874gH35zUOqbGIOZU9V/imi4f8odrRyPqVD12Fs5Yq2Hyx4g 3C0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b="ioVP/qgb"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q18si10269225pgv.456.2019.07.01.08.25.45; Mon, 01 Jul 2019 08:26:01 -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=fail header.i=@infradead.org header.s=merlin.20170209 header.b="ioVP/qgb"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729369AbfGAOHS (ORCPT + 99 others); Mon, 1 Jul 2019 10:07:18 -0400 Received: from merlin.infradead.org ([205.233.59.134]:35516 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729271AbfGAOHS (ORCPT ); Mon, 1 Jul 2019 10:07:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=URdBZnltUJZp8y8LciA/5TX5//edmZzvDOigSBMpLjU=; b=ioVP/qgb4wgD61BLSMnXNliQI TYswZ3tVTVCZooE8UbMDOzTtdXKNZnLk5wzuf5zLi6EudwS0N1LmuCs4tcKeLtT+D+NPCcHoHfyMi C2/d0UhIHrNwZxpNtasLWhr8xecSGhgxKv6EDr/zhK5lvJIFEdOCWS0T7gzra5HkhHB6o3GV4ns7E ge4jFL4ONu87rJfFms1mQ4v4IaynxXcf/UHVTF/yCKXAZVq5lUQMVcL8s/cc0CTklEDZX7UjaqRFc ebfEzvEmVA/YGR9M2zFPvxlnj7yoRPPU2MEZsEyO6BVeFZjIW5s1oAH5Bp9lt60cVh3j6ppAVDUh5 Y+Uie8DlQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hhwxA-0008Gx-0s; Mon, 01 Jul 2019 14:06:44 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id AF220209C957E; Mon, 1 Jul 2019 16:06:42 +0200 (CEST) Date: Mon, 1 Jul 2019 16:06:42 +0200 From: Peter Zijlstra To: Patrick Bellasi Cc: subhra mazumdar , linux-kernel@vger.kernel.org, mingo@redhat.com, tglx@linutronix.de, steven.sistare@oracle.com, dhaval.giani@oracle.com, daniel.lezcano@linaro.org, vincent.guittot@linaro.org, viresh.kumar@linaro.org, tim.c.chen@linux.intel.com, mgorman@techsingularity.net, Paul Turner , riel@surriel.com, morten.rasmussen@arm.com Subject: Re: [RESEND PATCH v3 0/7] Improve scheduler scalability for fast path Message-ID: <20190701140642.GX3402@hirez.programming.kicks-ass.net> References: <20190627012919.4341-1-subhra.mazumdar@oracle.com> <20190701090204.GQ3402@hirez.programming.kicks-ass.net> <20190701135552.kb4os6bxxhh2lyw6@e110439-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190701135552.kb4os6bxxhh2lyw6@e110439-lin> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 01, 2019 at 02:55:52PM +0100, Patrick Bellasi wrote: > On 01-Jul 11:02, Peter Zijlstra wrote: > > Hmmm? > > Just one more requirement I think it's worth to consider since the > beginning: CGroups support > > That would be very welcome interface. Just because is so much more > convenient (and safe) to set these bias on a group of tasks depending > on their role in the system. > > Do you have any idea on how we can expose such a "lantency-nice" > property via CGroups? It's very similar to cpu.shares but it does not > represent a resource which can be partitioned. If the latency_nice idea lives; exactly like the normal nice? That is; IIRC cgroupv2 has a nice value interface (see cpu_weight_nice_*()). But yes, this isn't a resource per se; just a shared attribute like thing.