Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp138066pxx; Wed, 28 Oct 2020 00:17:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxVTdoId/dRR5ertqheLMNGi1tni7KZ2Y3aYzVVHDSQGQoZs6MnVrU3rqsfgbceI3EjIOX X-Received: by 2002:a05:6402:1e6:: with SMTP id i6mr6424032edy.152.1603869424508; Wed, 28 Oct 2020 00:17:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603869424; cv=none; d=google.com; s=arc-20160816; b=J30cQjazTqoWtnOqgPGZp4CqmhahcUkxSuqmwFrxTHynBJMhYU4wcmuyfRbngXw4rQ 5PKKxrwgowyrdV8sR0yvUzF8FopQAZom451rbGoxfyGbQrWN2ROo9/s8EbuZ9iNhR9T8 9WRxowHK/bRDY1skhkhMyMbANUUlhDXI4xeaJGzuGhVTkjXQpz+A3WcEI1cO1SD7MtEY YlRwZE5TSSCJK3vy6iUzq2kWiI9Nj1rXaWfAvOYz0XafIG9eczZHL1kIAARvOvRciY25 8CIwJHr0IWzH+gvpcaivbx6tgh/yWvj6t6sGGYxZYMgwtUR5ersLpZx1Vd+4+sxr2Jf1 jfgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=UFoX/nPlMdfVA5ftTW+3xAKSzT05mQ8RbVahvp6lNY0=; b=CoE+qYOWxGzWjLIPTNDayBM52eUHGhUb4MSz9YcMqQfgYkg3jVsVtOk9HfLcMPW0yi 7NwKBFDIUKr42/uBvsUNFLfWESRfaw1J2HahQ6Vhj7vqXEeXNzcu1khc+lcZdHZXcP+4 1T3dHX+Y+bybRel3w/8FJCI58HXPh4lUGwCzVnL1RsV8FWsStmUeBityCy9vP2USFh7F oK7sXvO0gBG+x8sYaENjFaOiC4B4+/e7tlCXfjWZ8fCVlaVAlpwgrY23g8LtLkZYZiIt 0mQ7Ml+9u3eERchZZ+z1cP0eYMRHubaM+OaldjYCkiXLRvDVUCfprh2kkoupc53S/enw ih7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qCyUwwqt; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d14si2732415edu.275.2020.10.28.00.16.42; Wed, 28 Oct 2020 00:17:04 -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; dkim=pass header.i=@linaro.org header.s=google header.b=qCyUwwqt; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2899486AbgJ0Ls1 (ORCPT + 99 others); Tue, 27 Oct 2020 07:48:27 -0400 Received: from mail-pl1-f175.google.com ([209.85.214.175]:39535 "EHLO mail-pl1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2897227AbgJ0Ls0 (ORCPT ); Tue, 27 Oct 2020 07:48:26 -0400 Received: by mail-pl1-f175.google.com with SMTP id x23so617569plr.6 for ; Tue, 27 Oct 2020 04:48:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=UFoX/nPlMdfVA5ftTW+3xAKSzT05mQ8RbVahvp6lNY0=; b=qCyUwwqt7rpSBuYVKF4yqy7bF1pi3AV7jHWr1VCycFqyW3QNWqkoS0EOBuo2rkXwpm Py166u7NDG+jFS2hrFZccsCfo9UigarNhMBh7fp73DqvJrPCK6mVGDsA1+Y5VgI1X7JM XiWKzOifUlrhbUqqbT/G3iJ+75IWo752Ww5X1V7Zb5LYvzUxQKsTuJIfnkJWv2QUlL/Y XoEFMQe3OBHH8vprDnZUD0BrpOOBbJPanrFrw/NXmcGkswduyfi03rrhVYYOfMwS06qI bL6Wd7qrgRtXYHreqpHFJ5UXWHzQC0V8yPfkPYdvz7E8u/NHMjrlXrXVQehsP+BmFUDa y9fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=UFoX/nPlMdfVA5ftTW+3xAKSzT05mQ8RbVahvp6lNY0=; b=I2pfqtSYhIC0aMKy7Ox1IPAJwbS/nk02U7n3dNJG67LerSJcojYsNrjdwaI6rW/L04 v96OVVP36UzfcJNmAMgYrxX07CD09OaVpI7aD7RT58weP+rHo5ClHAIuITlgbiNPBXdU 1It8CXu6lpIuVFx1SI+yFeeBQUFkDNpPkeToyEgU9YviS0wGiHjqLOmWdLV22PSAMxrN HEaxAGsE2f/kwnhND+3n5oMe1rwLh8TqY0x5CDwcD1Wmzb97Lto/gTE8ZPOrL6TX6PNC O1Lo76CuAFwBqLc6a5AP8LpWVGsP/Rvgg3/Ej48Z94/EZdN3JwPZ6BahgHVa8VqAFCqF 2mMg== X-Gm-Message-State: AOAM530pu6a61y4k7A77x0h/tkxm2Zh2kqjYamtFV5Ooe7b4cowNfppI hAsuxp1cDjuXYmxnptLJ17m7jQ== X-Received: by 2002:a17:90a:e697:: with SMTP id s23mr1627362pjy.16.1603799305891; Tue, 27 Oct 2020 04:48:25 -0700 (PDT) Received: from localhost ([122.181.54.133]) by smtp.gmail.com with ESMTPSA id f5sm1867196pgi.86.2020.10.27.04.48.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Oct 2020 04:48:24 -0700 (PDT) Date: Tue, 27 Oct 2020 17:18:22 +0530 From: Viresh Kumar To: Qais Yousef Cc: Valentin Schneider , Peter Zijlstra , "Rafael J. Wysocki" , 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: <20201027114822.vsh7vpwfnh2tvmpz@vireshk-i7> 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> <20201027114214.irsgdlfvyo46jpww@e107158-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201027114214.irsgdlfvyo46jpww@e107158-lin> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27-10-20, 11:42, Qais Yousef wrote: > 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 Userspace governor should be kept as is, it is very effective to get unnecessary governor code out of the path when testing basic functioning of the hardware/driver. It is quite useful when things don't work as expected. -- viresh