Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3533567ybz; Mon, 20 Apr 2020 04:49:38 -0700 (PDT) X-Google-Smtp-Source: APiQypKtsQxhpHxF8+f8Tejx8NQVX3QOUp/VW3dnljVuIu0k1Hwq8Uey82erkoyL76SRk+wU4egz X-Received: by 2002:a05:6402:1c8b:: with SMTP id cy11mr14475179edb.102.1587383378522; Mon, 20 Apr 2020 04:49:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587383378; cv=none; d=google.com; s=arc-20160816; b=tO3FgZrmalbAcCt5w7L9CEATsChYkj036o49xoU+p4vOJ/RbkuBfKArNA/6UMt+sf+ UfqmL3tfgcbQdlaFF8TkdiOtn3NkqbqX6POXcfepjZ4X2eNjjwF9IQYmQH+P29LjGEI8 CmgYj3b1wi4FTCRrb0CCX51ZGs69+6beWR50SoZqQ7Qhr805bViQfHqES74gNwNUKo2Q 47KvuVTbtYEMZvClteb3OOf/4abVN7YsEt7SJp9xi/UzuFb/+UuRHzN4pa6vxsQnENhg MatsH8VB37Kh4pqtRGR29tqN0+DjUnChOAjguWKTTqLeN+2SnX0ZXXtKdhZVvkeHGPau XQ4g== 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; bh=atVMZ3mFAEuRhldMOpInp+4gD+vXOTKXsazsQwjX8Pw=; b=cg9LY3vVvr87ZC8pKRAN7X/5ImXTuA1gSa0/L6voTUCCOQ6tn52Jks9sZXrHDsX9Rl eLWZ6zHm2hGTCtP6mbrbRJ3RMCfLnZO0VMPqbn+d0jkI49GvOD+yNCqZevNMIXl4o+w2 dcmjdW7Gttq44yBtt+N9FGvBc6+cAiUTjuJXFxlI7c/sWH50ZI5GSBEgIoCZ2esQs4WD M3zce4FZu6oZqg5ONFRYc0dOKqcDZsplmXBhtY++D+D3hHg6mmPnw0TogBtXjKPIwIfY gAsfBetlhbobAiPaYDuC1pZ9IPk1i/bCeVl/nfe8jHQtKOoePvTHk9YTUdc0jniOMQK6 tlpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p13si412235ejo.283.2020.04.20.04.49.15; Mon, 20 Apr 2020 04:49:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725944AbgDTLre (ORCPT + 99 others); Mon, 20 Apr 2020 07:47:34 -0400 Received: from foss.arm.com ([217.140.110.172]:46988 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726319AbgDTLre (ORCPT ); Mon, 20 Apr 2020 07:47:34 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BD5DB1FB; Mon, 20 Apr 2020 04:47:33 -0700 (PDT) Received: from e107158-lin.cambridge.arm.com (e107158-lin.cambridge.arm.com [10.1.195.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A379F3F237; Mon, 20 Apr 2020 04:47:31 -0700 (PDT) Date: Mon, 20 Apr 2020 12:47:29 +0100 From: Qais Yousef To: Joel Fernandes Cc: Dietmar Eggemann , Peter Zijlstra , Patrick Bellasi , Subhra Mazumdar , LKML , Ingo Molnar , Thomas Glexiner , steven.sistare@oracle.com, Dhaval Giani , Daniel Lezcano , Vincent Guittot , Viresh Kumar , Tim Chen , Mel Gorman , parth@linux.ibm.com Subject: Re: [RFC PATCH 1/9] sched,cgroup: Add interface for latency-nice Message-ID: <20200420114728.iy6w34khketplxvk@e107158-lin.cambridge.arm.com> References: <20190830174944.21741-2-subhra.mazumdar@oracle.com> <20190905083127.GA2332@hirez.programming.kicks-ass.net> <87r24v2i14.fsf@arm.com> <20190905104616.GD2332@hirez.programming.kicks-ass.net> <20190905111346.2w6kuqrdvaqvgilu@e107158-lin.cambridge.arm.com> <20190905113002.GK2349@hirez.programming.kicks-ass.net> <20190905114725.ehi5ea6qg3rychlz@e107158-lin.cambridge.arm.com> <20200416000235.GA211099@google.com> <730928f8-b48b-ea3a-149a-18932eb18c90@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/18/20 12:01, Joel Fernandes wrote: > > What's missing is the per-taskgroup implementation, at least from the > > standpoint of ACK. > > > > The (mainline) EAS use-case for latency nice is already in ACK > > (android-5.4): > > > > https://android.googlesource.com/kernel/common/+/760b82c9b88d2c8125abfc5f732cc3cd460b2a54 > > Yes, I was aware of this. But if we use task groups, then the > transition from schedtune -> uclamp means now the tasks that use > uclamp would also be subjected to cpu.shares. That's why we were > looking into the per-task interface and glad there's some work on this > already done. Hmm uclamp doesn't do anything with cpu.shares. I assume this is some implementation detail at your end? IOW, you don't have to use cpu.shares to use uclamp. Although there should be few tasks in the system that need the latency-nice, so I prefer the per-task interface rather than lump everything in a cgroup. Though there could be valid use cases for the latter. Thanks -- Qais Yousef