Received: by 2002:a17:90a:37a3:0:0:0:0 with SMTP id v32csp746354pjb; Fri, 21 Jun 2019 07:57:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzLvRPG2ImoIXmJypOqkBLos/pIYn+S7V/vUvxQOlaXRW92A32lVERb0iykLH2gNK+lYr7k X-Received: by 2002:a63:151a:: with SMTP id v26mr19198837pgl.9.1561129045789; Fri, 21 Jun 2019 07:57:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561129045; cv=none; d=google.com; s=arc-20160816; b=sQStZJhVOTTNzbQBarPTW9cTsJdWP8XfsAgGpCteInZE6M/4m+4hYKD20rfeQPpusz fYAWcACZmDIrwT1azE8Cc67M5ksaQnk71fEnF8TR4/cd+EyP/K6ElLIlKzdzk9d6DXsd Zmgb5wLvz+PHWvhveih//P8BgEZYQvbAecWJGQmXNMiCdaROYbRlAh4UfBUlQZratLMK yURtyZqScxOQnNG05/8IkWVagX9sj6NCqSkzffg6sVbBxx6meVmnGq3tqfwxcoJIuHDT f3FMPVmi8OHOMUFKwZvV9h3EQqvCAm7mJIDgvT87XLjH0wmI7R6aJ/vOjabRiaCDgnYS QB9A== 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=zmzil/zAXoFWiTfzg+aPessArtKh/udrLN/SPHS9ztk=; b=HPTqiTYw9vL0x3dWsyUyh9KU5nKss/ApatFWk2Qhs564IOkMSAidTBpoSYIxZtNWDG F4px8j2I1QEpGL+a/GbDWp2WBj/ToG2Br5dye2K6xstYpri1j8HWO1xJL42V14r76Ku7 B2f3nK8sPK6ix7avM45fek5f+ZJrDetjNcH3YZ+Z8ebajCp+2IcVceJ2wqyRtBIMwxbh UrXcEhvtlaohEk37b5ABSCToKrmEIhXWypyAdu0IQHgxLeSp3R2WlgIjQbj3avu74B+M uOJnzfmAn3XBfCWF6Dv/7AmgS/+tdN62q9psgqYSCK4vK1Htnv47HkIk5g5FQUPk60Co CaBA== ARC-Authentication-Results: i=1; mx.google.com; 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 z26si3159483pfj.247.2019.06.21.07.57.10; Fri, 21 Jun 2019 07:57:25 -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; 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 S1726212AbfFUOzh (ORCPT + 99 others); Fri, 21 Jun 2019 10:55:37 -0400 Received: from foss.arm.com ([217.140.110.172]:33916 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725985AbfFUOzh (ORCPT ); Fri, 21 Jun 2019 10:55:37 -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 A70E028; Fri, 21 Jun 2019 07:55:36 -0700 (PDT) Received: from e110439-lin (e110439-lin.cambridge.arm.com [10.1.194.43]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6D84D3F575; Fri, 21 Jun 2019 07:55:34 -0700 (PDT) Date: Fri, 21 Jun 2019 15:55:32 +0100 From: Patrick Bellasi To: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: Ingo Molnar , Peter Zijlstra , Tejun Heo , "Rafael J . Wysocki" , Vincent Guittot , Viresh Kumar , Paul Turner , Quentin Perret , Dietmar Eggemann , Morten Rasmussen , Juri Lelli , Todd Kjos , Joel Fernandes , Steve Muckle , Suren Baghdasaryan , Alessio Balsini Subject: Re: [PATCH v10 00/16] Add utilization clamping support Message-ID: <20190621145532.dvghqs32zprl6ty2@e110439-lin> References: <20190621084217.8167-1-patrick.bellasi@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190621084217.8167-1-patrick.bellasi@arm.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21-Jun 09:42, Patrick Bellasi wrote: > Hi all, this is a respin of: > > https://lore.kernel.org/lkml/20190515094459.10317-1-patrick.bellasi@arm.com/ > > which addresses all Tejun's concerns: > > - rename cgroup attributes to be cpu.uclamp.{min,max} > - update initialization of subgroups clamps to be "no clamps" by default > - use percentage rational numbers for clamp attributes, e.g. "12.34" for 12.34%. > > by introducing modifications impacting only patches: > > [PATCH v10 12/16] sched/core: uclamp: Extend CPU's cgroup controller > [PATCH v10 13/16] sched/core: uclamp: Propagate parent clamps > > The rest of the patches are the same as per in v9, they have been just rebased > on top of: > > tj/cgroup.git for-5.3 > tip/tip.git sched/core > > AFAIU, all the first 11 patches have been code reviewed and should be at a > "ready to merge" quality level. Please let me know if I'm wrong and there > is something else I need/can to do on those patches. > > Otherwise, now that we should have settled all the behavioral aspects, I'm Regarding the behavioral aspects, here I have a report with some simple tests for the current implementation: https://gist.github.com/derkling/519459b5a2be35d8681fbaf1d6efe225 There are a couple of sections at the end to test the "Delegation Model" with both CGroups v1 and v2. I'm sharing the link just in case it can be helpful to verify if what has been implemented is actually matching what Tejun expects as a sane cgroups interface. Cheers, Patrick -- #include Patrick Bellasi