From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752869AbcJEFVn (ORCPT ); Wed, 5 Oct 2016 01:21:43 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:35858 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751304AbcJEFVl (ORCPT ); Wed, 5 Oct 2016 01:21:41 -0400 Date: Wed, 5 Oct 2016 10:51:37 +0530 From: Viresh Kumar To: Andreas Herrmann Cc: Stratos Karafotis , "Rafael J. Wysocki" , "linux-pm@vger.kernel.org" , Linux Kernel Mailing List , Stratos Karafotis , Thomas Renninger Subject: Re: [PATCH 1/1] cpufreq: pcc-cpufreq: Re-introduce deadband effect to reduce number of frequency changes Message-ID: <20161005052137.GL4664@vireshk-i7> References: <20160819122101.GB17296@suselix.suse.de> <20160829060153.GA5094@vireshk-i7> <20160901132140.GA10183@suselix.suse.de> <20160907050201.GK27345@vireshk-i7> <20160916094727.GA4026@suselix> <20160919161611.GB17693@suselix.suse.de> <20160922175448.GA25183@suselix.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160922175448.GA25183@suselix.suse.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22-09-16, 19:54, Andreas Herrmann wrote: > On Mon, Sep 19, 2016 at 10:39:18PM +0300, Stratos Karafotis wrote: > > Just an idea. I would split the frequency range (max_freq - min_freq) > > into ~10 steps. But I'm not familiar with the affected systems and > > of course I can't prove this is an ideal approach. > > I've modified the pcc-cpufreq specific map_load_to_freq function to do > just that (map load values to 10 discrete frequency values) instead of > falling back to the deadband (pre-commit-6393d6-version). And in that you can remove the deadband frequencies from the table to get almost the same results, as I already stated in an earlier email. -- viresh