From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stratos Karafotis Subject: Re: [RFC PATCH] cpufreq: intel_pstate: Change the calculation of next pstate Date: Tue, 13 May 2014 06:59:42 +0300 Message-ID: <537198AE.3050100@semaphore.gr> References: <5368255D.3090207@semaphore.gr> <536BEE89.3040602@gmail.com> <536CECB4.1090109@semaphore.gr> <53712F4B.7000101@semaphore.gr> <20140512193453.GB9351@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from sema.semaphore.gr ([78.46.194.137]:41943 "EHLO sema.semaphore.gr" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751850AbaEMD7q (ORCPT ); Mon, 12 May 2014 23:59:46 -0400 In-Reply-To: <20140512193453.GB9351@intel.com> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Yuyang Du Cc: Dirk Brandewie , "Rafael J. Wysocki" , Viresh Kumar , Dirk Brandewie , "linux-pm@vger.kernel.org" , LKML , Doug Smythies Hi, On 12/05/2014 10:34 =CE=BC=CE=BC, Yuyang Du wrote: > On Mon, May 12, 2014 at 11:30:03PM +0300, Stratos Karafotis wrote: >> On 09/05/2014 05:56 =CE=BC=CE=BC, Stratos Karafotis wrote: >> >> Next performance state =3D min_perf + (max_perf - min_perf) * load /= 100 >> > Hi, >=20 > This formula is fundamentally broken. You need to associate the load = with its > frequency. Could you please explain why is it broken? I think the load should be independent from the current frequency. Thanks, Stratos