Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2819135imm; Mon, 24 Sep 2018 10:24:29 -0700 (PDT) X-Google-Smtp-Source: ACcGV60R9xg69w+AUKCYD9UxdVYRSBgaMVRu6xuHfprM2YCAagVfAdP/E9PGwHrbjuG5Urpd7cVD X-Received: by 2002:a17:902:6b89:: with SMTP id p9-v6mr11556930plk.272.1537809869616; Mon, 24 Sep 2018 10:24:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537809869; cv=none; d=google.com; s=arc-20160816; b=AvgCPJ0eb1OnQ5Mu0dmoSDKZizrr7scUDnUQw8KxIUo9B5wnaG9cWu7EHUD/TP8IvR 4/CJXXRXVFLVLQ29xs1MSm35u5Egu8eXRIr/uDLrk8wZY5/Du1veNoz0gVimq9Bk2eu9 7lzctXPA/YMkgvApYM+Bojq/9j71+c2c4iXigmbWAmcA93xXn/tYUefRqmOtpwLdIrl3 fB5KkGtst822zyvBkZq9F9zfx7lLwNMVmTHTPb9V87fp7fAwMOCSVj25Lqms9JrCVkOm svoXUPtCjz7havQhLoCtxVEuw9gydBPKSu9prUgMpBlv/megcfgYjvBJN/WGf/n1NTob yG6Q== 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=9Z2jBTTtwQE5hTz9su2m1O5Ahbpj5nBtxmNj8EkngGQ=; b=fGtyOFXaRIUdgy8Q0UCozyk1WurFldOcBFe7tERXdOLz1AmMdxKp8EjRIZo7/2CWFO 51Xe8vw7AUGQHv7BLFFsGe2Ck6hrBlhpq1Gmt7yWsNzTtRcE8QMSqBN9VrAdxKPEn+Ih u5fkLuQA/Hcb1LIipUmROmPCyA93gytXcAPiVJqQ+2X9sujM05M1AXBJ6W5mF25x3QJ1 1hpmCQxJcMsFVoVuRl5F8tPO57E6UWW9U0Ia2/1XMuqlo4K6S3RXCYwmo/ySp94lxi7k N/0plP8gkVtDf40dFlCfxJ6bj9ZIAb/YzpuaUOqn92Wkh7uSGs1F4olt2Pk50tkDBpDR saqA== 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 o10-v6si35503988pgg.195.2018.09.24.10.24.13; Mon, 24 Sep 2018 10:24:29 -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 S1730027AbeIXX1I (ORCPT + 99 others); Mon, 24 Sep 2018 19:27:08 -0400 Received: from foss.arm.com ([217.140.101.70]:39278 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726133AbeIXX1H (ORCPT ); Mon, 24 Sep 2018 19:27:07 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A5FD380D; Mon, 24 Sep 2018 10:23:56 -0700 (PDT) Received: from e110439-lin (e110439-lin.Emea.Arm.com [10.4.12.126]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D75B73F5BD; Mon, 24 Sep 2018 10:23:53 -0700 (PDT) Date: Mon, 24 Sep 2018 18:23:51 +0100 From: Patrick Bellasi To: Peter Zijlstra Cc: Juri Lelli , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Ingo Molnar , Tejun Heo , "Rafael J . Wysocki" , Viresh Kumar , Vincent Guittot , Paul Turner , Quentin Perret , Dietmar Eggemann , Morten Rasmussen , Todd Kjos , Joel Fernandes , Steve Muckle , Suren Baghdasaryan Subject: Re: [PATCH v4 14/16] sched/core: uclamp: request CAP_SYS_ADMIN by default Message-ID: <20180924172351.GV1413@e110439-lin> References: <20180828135324.21976-15-patrick.bellasi@arm.com> <20180904134748.GA4974@localhost.localdomain> <20180906144053.GD25636@e110439-lin> <20180914111003.GC24082@hirez.programming.kicks-ass.net> <20180914140732.GR1413@e110439-lin> <20180914142813.GM24124@hirez.programming.kicks-ass.net> <20180917122723.GS1413@e110439-lin> <20180921091308.GD24082@hirez.programming.kicks-ass.net> <20180924151400.GT1413@e110439-lin> <20180924155616.GA7060@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180924155616.GA7060@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24-Sep 17:56, Peter Zijlstra wrote: > On Mon, Sep 24, 2018 at 04:14:00PM +0100, Patrick Bellasi wrote: > > On 21-Sep 11:13, Peter Zijlstra wrote: > > > Laptops with active cooling however... > > > > How do you see active cooling playing a role ? > > > > Are you thinking, for example, at reduced fan noise if we remain below > > a certain OPP ? > > > > Are you factoring fans power consumptions into the overall P consumption ? > > Nothing as fancy as that; I just figured that with a larger cooling > capacity, you can push chips higher onto that curve past the optimal > IPC/Watt point. Make it go fast etc.. That very concept of "optimal IPC/Watt" point is not something easy to define considering a monotonic function and without considering the specific optimization goals. It really sounds like saying that an LP problem has a unique solution independently from the optimization function. Do you think we should "mandate" an optimization function from kernel space? I'm not saying it does not make sense, but I find it at least a strong implementation enforcement. -- #include Patrick Bellasi