Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754392AbdGNPwc (ORCPT ); Fri, 14 Jul 2017 11:52:32 -0400 Received: from mga04.intel.com ([192.55.52.120]:60337 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753673AbdGNPwa (ORCPT ); Fri, 14 Jul 2017 11:52:30 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,359,1496127600"; d="scan'208";a="126734481" Subject: Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods To: Peter Zijlstra , "Li, Aubrey" References: <20170711163422.etydkhhtgfthpfi5@hirez.programming.kicks-ass.net> <496d4921-5768-cd1e-654b-38630b7d2e13@linux.intel.com> <20170712083410.ualmvnvzoohyami5@hirez.programming.kicks-ass.net> <20170712213240.GE3441@tassilo.jf.intel.com> <20170713083649.febfflfl5hafkko5@hirez.programming.kicks-ass.net> <16e12e23-6b28-f174-7c4b-4d719225cd3b@linux.intel.com> <20170713145311.z4zxlyd2dospeoqg@hirez.programming.kicks-ass.net> <4a577bd6-20b1-abb6-2153-f9870f0a721e@linux.intel.com> <20170713182820.sn3fjitnd3mca27p@hirez.programming.kicks-ass.net> <31170ac6-9db1-f0b8-4841-f1661c8ed6e1@linux.intel.com> <20170714153818.pjauqxebxyhs6ljp@hirez.programming.kicks-ass.net> Cc: Andi Kleen , Frederic Weisbecker , Christoph Lameter , Aubrey Li , tglx@linutronix.de, len.brown@intel.com, rjw@rjwysocki.net, tim.c.chen@linux.intel.com, paulmck@linux.vnet.ibm.com, yang.zhang.wz@gmail.com, x86@kernel.org, linux-kernel@vger.kernel.org From: Arjan van de Ven Message-ID: <3d2d06e2-a2ee-bcf7-7727-07f72de5d32d@linux.intel.com> Date: Fri, 14 Jul 2017 08:52:28 -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: <20170714153818.pjauqxebxyhs6ljp@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: 722 Lines: 17 On 7/14/2017 8:38 AM, Peter Zijlstra wrote: > No, that's wrong. We want to fix the normal C state selection process to > pick the right C state. > > The fast-idle criteria could cut off a whole bunch of available C > states. We need to understand why our current C state pick is wrong and > amend the algorithm to do better. Not just bolt something on the side. I can see a fast path through selection if you know the upper bound of any selection is just 1 state. But also, how much of this is about "C1 be fast" versus "selecting C1 is slow" a lot of the patches in the thread seem to be about making a lighter/faster C1, which is reasonable (you can even argue we might end up with 2 C1s, one fast one full feature)