From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Doug Smythies" Subject: RE: [PATCH] cpuidle: Allow menu governor to enter deeper sleep states after some time Date: Wed, 8 Nov 2017 08:26:06 -0800 Message-ID: <001e01d358ae$48258a90$d8709fb0$@net> References: <000101d34938$da740870$8f5c1950$@net> <000801d34a78$cdd27890$697769b0$@net> <85fb012d-adba-a646-dfd5-a5322714a412@tu-dresden.de> CJNmeKLfst1L5CJNneFmdJ Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from cmta17.telus.net ([209.171.16.90]:59989 "EHLO cmta17.telus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751763AbdKHQ0J (ORCPT ); Wed, 8 Nov 2017 11:26:09 -0500 In-Reply-To: CJNmeKLfst1L5CJNneFmdJ Content-Language: en-ca Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: 'Yu Chen' , 'Len Brown' Cc: 'Thomas Ilsche' , =?iso-8859-1?Q?'Marcus_H=E4hnel'?= , 'Daniel Hackenberg' , =?iso-8859-1?Q?'Robert_Sch=F6ne'?= , mario.bielert@tu-dresden.de, "'Rafael J. Wysocki'" , 'Alex Shi' , 'Ingo Molnar' , 'Rik van Riel' , 'Daniel Lezcano' , 'Nicholas Piggin' , 'Ying Huang' , 'Linux PM list' , Doug Smythies On 2017.11.07.10:01 22:01 Yu Chen wrote: ... [snip]... > According to the ftrace, there are mainly two problems here: > > 1. A local apic timer seems to always arrive earlier than it should be, > which causes the breakage of deep cstate, as a result the menu governor > would get a short 'next timer' event, which brings the cpu into poll_idle: ... [snip]... > Question 1 is the reason why the cpu choose poll_idle, ... > , and I think question 1 needs to be further investigated > whether we program the clockevent too soon(than it should be), Agreed. Thank you for the information. ...[snip]...