Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751482AbdGRQix (ORCPT ); Tue, 18 Jul 2017 12:38:53 -0400 Received: from mga09.intel.com ([134.134.136.24]:14873 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751392AbdGRQiw (ORCPT ); Tue, 18 Jul 2017 12:38:52 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,378,1496127600"; d="scan'208";a="128842424" Subject: Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods To: Peter Zijlstra References: <20170714155356.GH3441@tassilo.jf.intel.com> <20170714160648.tg2u6eo2id6gmnjz@hirez.programming.kicks-ass.net> <20170714162619.GJ3441@tassilo.jf.intel.com> <20170717192309.ubn5muvc3u7htuaw@hirez.programming.kicks-ass.net> <34371ef8-b8bc-d2bf-93de-3fccd6beb032@linux.intel.com> <20170718044521.GO3441@tassilo.jf.intel.com> <20170718152014.GB3981@linux.vnet.ibm.com> <72182f86-261b-1952-b1c2-864f43e15b0c@linux.intel.com> <20170718163629.cinz7my6caxlcasa@hirez.programming.kicks-ass.net> Cc: paulmck@linux.vnet.ibm.com, "Li, Aubrey" , Thomas Gleixner , Andi Kleen , Frederic Weisbecker , Christoph Lameter , Aubrey Li , len.brown@intel.com, rjw@rjwysocki.net, tim.c.chen@linux.intel.com, yang.zhang.wz@gmail.com, x86@kernel.org, linux-kernel@vger.kernel.org, daniel.lezcano@linaro.org From: Arjan van de Ven Message-ID: Date: Tue, 18 Jul 2017 09:37:57 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170718163629.cinz7my6caxlcasa@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 921 Lines: 20 On 7/18/2017 9:36 AM, Peter Zijlstra wrote: > On Tue, Jul 18, 2017 at 08:29:40AM -0700, Arjan van de Ven wrote: >> >> the most obvious way to do this (for me, maybe I'm naive) is to add another >> C state, lets call it "C1-lite" with its own thresholds and power levels etc, >> and just let that be picked naturally based on the heuristics. >> (if we want to improve the heuristics, that's fine and always welcome but that >> is completely orthogonal in my mind) > > C1-lite would then have a threshold < C1, whereas I understood the > desire to be for the fast-idle crud to have a larger threshold than C1 > currently has. > > That is, from what I understood, they want C1 selected *longer*. that's just a matter of fixing the C1 and later thresholds to line up right. shrug that's the most trivial thing to do, it's a number in a table. some distros do those tunings anyway when they don't like the upstream tunings