Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759296AbcDAPUy (ORCPT ); Fri, 1 Apr 2016 11:20:54 -0400 Received: from cmta3.telus.net ([209.171.16.76]:51753 "EHLO cmta3.telus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759200AbcDAPUx convert rfc822-to-8bit (ORCPT ); Fri, 1 Apr 2016 11:20:53 -0400 X-Authority-Analysis: v=2.1 cv=b4JPmYyx c=1 sm=2 tr=0 a=zJWegnE7BH9C0Gl4FFgQyA==:117 a=zJWegnE7BH9C0Gl4FFgQyA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=Pyq9K9CWowscuQLKlpiwfMBGOR0=:19 a=IkcTkHD0fZMA:10 a=p-nOP-kxAAAA:8 a=VwQbUJbxAAAA:8 a=UYDJya24UjH8JtcIMKoA:9 a=QEXdDO2ut3YA:10 X-Telus-Outbound-IP: 173.180.45.4 From: "Doug Smythies" To: "'Rafael J. Wysocki'" , "=?UTF-8?Q?'J=C3=B6rg_Otte'?=" Cc: "'Rafael J. Wysocki'" , "'Linux Kernel Mailing List'" , "'Linux PM list'" , "'Srinivas Pandruvada'" References: <2727017.UmaUvtBLeX@vostro.rjw.lan> <3623107.tlAuqH4F7s@vostro.rjw.lan> In-Reply-To: <3623107.tlAuqH4F7s@vostro.rjw.lan> Subject: RE: [intel-pstate driver regression] processor frequency very high even if in idle Date: Fri, 1 Apr 2016 08:20:17 -0700 Message-ID: <002101d18c2a$10fd0ef0$32f72cd0$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdGME06EGTGVKLF6QLurNNk/UaXRxQAEIldg Content-Language: en-ca Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1884 Lines: 56 On 2016.04.01 05:40 Rafael J. Wysocki wrote: > On Friday, April 01, 2016 11:20:42 AM Jörg Otte wrote: >> 2016-03-31 17:43 GMT+02:00 Rafael J. Wysocki : >>> On Thursday, March 31, 2016 05:25:18 PM Jörg Otte wrote: >>>> 2016-03-31 13:42 GMT+02:00 Rafael J. Wysocki : >>>>> On Thursday, March 31, 2016 11:05:56 AM Jörg Otte wrote: >> >> here they are. >> > First of all, the sampling mechanics works as expected > in the failing case, which is the most important thing > I wanted to know. Yes, but that might be part of the problem, as for some CPUs there is never a long duration, and thus the long duration check never kicks in driving the target pstate down. > The core_busy column is clearly suspicious and it > looks like CPUs 2 and 3 never really go idle. This has been observed several times before [1]. Due to beat frequencies between desktop type frame rates and such, the worst manifestation of the issue seems to be for 300 Hz kernels, but Ubuntu uses uses 250 Hz. Oh look, Jörg is using 300 Hz!! $ grep CONFIG_HZ .config_jorg # CONFIG_HZ_PERIODIC is not set # CONFIG_HZ_100 is not set # CONFIG_HZ_250 is not set CONFIG_HZ_300=y # CONFIG_HZ_1000 is not set CONFIG_HZ=300 > I guess we'll need to find out > why they don't go idle to get to the bottom of this, but it firmly falls into > the weird stuff territory already. I'm compiling a 300 Hz kernel now, also with "# CONFIG_NO_HZ is not set", but I have never been able to re-create these type of findings before. I have also tried several other things in an attempt re-create Jörg's Case, so far without success. References: [1] https://bugzilla.kernel.org/show_bug.cgi?id=93521 In particular: https://bugzilla.kernel.org/show_bug.cgi?id=93521#c35 https://bugzilla.kernel.org/show_bug.cgi?id=93521#c42 https://bugzilla.kernel.org/show_bug.cgi?id=93521#c77 ... Doug