Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1074373pxx; Tue, 27 Oct 2020 07:42:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJ2RoxulssD0K26vHCEqY6rf/5ZaxdpmXwn1CJy0aJDC/GJ7UUutVigEIVnQ21Kc6bpwjb X-Received: by 2002:aa7:c6c5:: with SMTP id b5mr2701664eds.259.1603809731646; Tue, 27 Oct 2020 07:42:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603809731; cv=none; d=google.com; s=arc-20160816; b=hJO6UiC/+62eY9vGMl8lwaL45x4qEWQ+NTkzFEsXxfbqm0BJBdjTL2zEoThUggWAf/ 1465jEKh4OUHlyE7ur21A2wix3+Csdi6SNd2Re0L7OkVvIdZBTDjaA5xgfd9NX1KsuFW hiezxvskvuSj0lAFZeCVUjaTei0+LOc/g2KeLGQ85CVIATxvDF3+WH6Ia3zXTuI/LcOj jZuMfkQkdXgLjneZsmtzHob8DGx5hi+DNRbVldgQ7jwB2XT+Olry3qW/AmGa3NO84BUr JdPEGjlwbegbdlyPAXJ7rOYsLe2cUZyJhNDQLlPuC8eFT9OMBISn6c2oDUEY3oAW0c5Q hzag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=dC0RV3u+xa29VoLTS7/iBNhy55Glw29t7itCvIbNPs0=; b=QHE1I04X7ZYmN/arizQ0zBv0UWxaU+Dl/oB9G+CR/PIhW9/PW78HB2hKloipwanxru IiH3p78a+vJc3OB6qFL9eU40elWFgzbk0sYJ7PysR1UZLA4b2rLw1k68I/w5H7Xfjl7/ w/ZqmO97O2hZsixgbgsG8igm1M0gQgmzfR66BHrdp/ltGbrMjLdVQCVNefxlW9nU7pRp 7gjTUXM0aJ0DSeqgWgWftakcSAWMqoPwDuSHrItGIAl/mZ9eM69fX8e6MBmBY7p/EWuh ROhev67hcuTgQy9WIf3ZmCfBszfli5nCMVl+wXiR5Mr6v98T6qkrK7wC0385ZM0cmITJ rJhA== 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 j19si1057874edr.278.2020.10.27.07.41.49; Tue, 27 Oct 2020 07:42:11 -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 S2899467AbgJ0LmU (ORCPT + 99 others); Tue, 27 Oct 2020 07:42:20 -0400 Received: from foss.arm.com ([217.140.110.172]:38990 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2899458AbgJ0LmU (ORCPT ); Tue, 27 Oct 2020 07:42:20 -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 7938D1FB; Tue, 27 Oct 2020 04:42:19 -0700 (PDT) Received: from e107158-lin (e107158-lin.cambridge.arm.com [10.1.194.78]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 634AE3F66E; Tue, 27 Oct 2020 04:42:17 -0700 (PDT) Date: Tue, 27 Oct 2020 11:42:14 +0000 From: Qais Yousef To: Valentin Schneider 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 Message-ID: <20201027114214.irsgdlfvyo46jpww@e107158-lin> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/27/20 11:26, Valentin Schneider wrote: > > 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. True. This effectively makes every governor a potential user space governor. /me not sure to be happy or grumpy about it Thanks -- Qais Yousef