From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752537AbdDKOBq (ORCPT ); Tue, 11 Apr 2017 10:01:46 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:34790 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751790AbdDKOBn (ORCPT ); Tue, 11 Apr 2017 10:01:43 -0400 MIME-Version: 1.0 In-Reply-To: <20170411111443.GE13627@vireshk-i7> References: <3498238.liCqOyIkGA@aspire.rjw.lan> <2407280.n9qVSLCrF5@aspire.rjw.lan> <71055380.gdY33coAtF@aspire.rjw.lan> <20170411111443.GE13627@vireshk-i7> From: "Rafael J. Wysocki" Date: Tue, 11 Apr 2017 16:01:42 +0200 X-Google-Sender-Auth: gloAcoyDriShxBI7wFO6h9LBYdM Message-ID: Subject: Re: [RFC/RFT][PATCH 1/2] cpufreq: schedutil: Use policy-dependent transition delays To: Viresh Kumar Cc: "Rafael J. Wysocki" , Linux PM , Juri Lelli , LKML , Peter Zijlstra , Srinivas Pandruvada , Vincent Guittot , Patrick Bellasi , Joel Fernandes , Morten Rasmussen , Brendan Jackman Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 11, 2017 at 1:14 PM, Viresh Kumar wrote: > On 11-04-17, 00:20, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> >> Make the schedutil governor take the initial (default) value of the >> rate_limit_us sysfs attribute from the (new) transition_delay_us >> policy parameter (to be set by the scaling driver). >> >> That will allow scaling drivers to make schedutil use smaller default >> values of rate_limit_us and reduce the default average time interval >> between consecutive frequency changes. >> >> Make intel_pstate set transition_delay_us to 500. >> >> Signed-off-by: Rafael J. Wysocki >> --- >> >> This is a replacement for https://patchwork.kernel.org/patch/9671831/ >> >> --- >> drivers/cpufreq/intel_pstate.c | 2 ++ >> include/linux/cpufreq.h | 7 +++++++ >> kernel/sched/cpufreq_schedutil.c | 15 ++++++++++----- >> 3 files changed, 19 insertions(+), 5 deletions(-) > > Should we use this new value for the ondemand/conservative governors as well? We might, but it is mostly for schedutil. Thanks, Rafael