Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1073600pxx; Tue, 27 Oct 2020 07:41:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEZzNXe24IwlAuCLAXTSYzd0wOCL5b2mXaV1mddGmgRJgRfBeklkfk1DeDXOyzeK5/kiZG X-Received: by 2002:a17:906:b24c:: with SMTP id ce12mr2678726ejb.386.1603809665110; Tue, 27 Oct 2020 07:41:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603809665; cv=none; d=google.com; s=arc-20160816; b=pvL1NQKPnMjPpvr7Vpr8QprNqnheWuBn3kT9AXNBpDO9fWw+4I0SIec6j99QsGFuI+ W0FDmMcgOXrG20O41JLPDEaSGCR798jCQ0mx/8JEeP3bo0GmwjVBsID4GjdQSQix/OVd xFJo9fqbNtYBoLYdtNqetPcjNZQaCXbtFJrJ6vnk7X+vL5m19SgPL5wZawk1Fayx7eN+ O/yl5wU/Vx7iJ6tQpHqtUjTY7xxazXlumedQGLPvUZkFWXJVyVeECm6vDm/tisXH9Ktu DOB7ZYjNxSjIKwooEv43oJrjl08h3BMW87mvV/bDdAipLngUoISiW43vN7TVfAh5NSz0 zCsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:in-reply-to:subject :cc:to:from:user-agent:references; bh=3dzgOf7pk7aQrfvJdobslep4DkwC5QjOElEFw8IeeaQ=; b=Z1KpqKiDVSCNePHPUx7hr8RDwpUXTcx6xyxsEKY6O3LtRkbCBC4sjHkZDWwigCYHqN U5Yi9eulfhftOfNUZPb62aqHFLv4CnNRG1xK8s270qa3ueutCik1NINPacIoqWZlftWz u0jVv7TsB+sL1KqI1bxL1/htJUwKnZwmaN0Sd8+K5+vFGig75TTg2JhzZBzUhmkKKdGu iY62Hvt7FwzGPITc+HuBdnR0yNrYLUuVUAeOSfrI7znGrx+C1EjsqSZf87kMWv5UCa4E Zc0SMfnl7B76TO8cON3l+SLehgNHwZ4T/B5nFUbJ4lPBRdFIXvk0oktO0RQo4ee5a5hy uFEg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e14si1194535ejj.573.2020.10.27.07.40.42; Tue, 27 Oct 2020 07:41:05 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1749872AbgJ0L0o (ORCPT + 99 others); Tue, 27 Oct 2020 07:26:44 -0400 Received: from foss.arm.com ([217.140.110.172]:38606 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S460314AbgJ0L0m (ORCPT ); Tue, 27 Oct 2020 07:26:42 -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 704E730E; Tue, 27 Oct 2020 04:26:42 -0700 (PDT) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0C1723F66E; Tue, 27 Oct 2020 04:26:39 -0700 (PDT) References: <1603211879-1064-1-git-send-email-Julia.Lawall@inria.fr> <20201022071145.GM2628@hirez.programming.kicks-ass.net> <20201022104703.nw45dwor6wfn4ity@vireshk-i7> <34115486.YmRjPRKJaA@kreacher> <20201022120213.GG2611@hirez.programming.kicks-ass.net> <20201027111133.ajlxn5lbnfeocfgb@e107158-lin> User-agent: mu4e 0.9.17; emacs 26.3 From: Valentin Schneider To: Qais Yousef Cc: Peter Zijlstra , "Rafael J. Wysocki" , Viresh Kumar , Julia Lawall , Mel Gorman , Ingo Molnar , kernel-janitors@vger.kernel.org, Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Daniel Bristot de Oliveira , linux-kernel@vger.kernel.org, Gilles Muller , srinivas.pandruvada@linux.intel.com Subject: Re: default cpufreq gov, was: [PATCH] sched/fair: check for idle core In-reply-to: <20201027111133.ajlxn5lbnfeocfgb@e107158-lin> Date: Tue, 27 Oct 2020 11:26:37 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/10/20 11:11, Qais Yousef wrote: > On 10/22/20 14:02, Peter Zijlstra wrote: >> However I do want to retire ondemand, conservative and also very much >> intel_pstate/active mode. I also have very little sympathy for >> userspace. > > Userspace is useful for testing and sanity checking. Not sure if people use it > to measure voltage/current at each frequency to generate > dynamic-power-coefficient for their platform. Lukasz, Dietmar? > It's valuable even just for cpufreq sanity checking - we have that test that goes through increasing frequencies and asserts the work done is monotonically increasing. This has been quite useful in the past to detect broken bits. That *should* still be totally doable with any other governor by using the scaling_{min, max}_freq sysfs interface. > Thanks