Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933688AbZFLSF3 (ORCPT ); Fri, 12 Jun 2009 14:05:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933110AbZFLSFE (ORCPT ); Fri, 12 Jun 2009 14:05:04 -0400 Received: from cpsmtpm-eml102.kpnxchange.com ([195.121.3.6]:64603 "EHLO CPSMTPM-EML102.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758844AbZFLSFC (ORCPT ); Fri, 12 Jun 2009 14:05:02 -0400 From: Frans Pop To: "Pallipadi, Venkatesh" Subject: Re: [BUG][2.6.30] Niced processes do not raise CPU frequency with ondemand Date: Fri, 12 Jun 2009 20:05:02 +0200 User-Agent: KMail/1.9.9 Cc: "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" References: <200906121844.02004.elendil@planet.nl> <200906121925.38693.elendil@planet.nl> <1244828508.4534.1404.camel@localhost.localdomain> In-Reply-To: <1244828508.4534.1404.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906122005.02965.elendil@planet.nl> X-OriginalArrivalTime: 12 Jun 2009 18:05:03.0575 (UTC) FILETIME=[4F53EE70:01C9EB88] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1339 Lines: 34 On Friday 12 June 2009, Pallipadi, Venkatesh wrote: > On Fri, 2009-06-12 at 10:25 -0700, Frans Pop wrote: > > On Friday 12 June 2009, Pallipadi, Venkatesh wrote: > > > What does ignore_nice under cpufreq/ondemand say? > > > > Right, that's 1 (was not aware that existed :-P) > > And changing it to 0 solves the problem. > > OK. Good to know that there are no kernel bugs with honoring > ignore_nice_load setting. :) > > > Next question is: how and why does it get set? > > As userland has not changed (AFAIK), my first suspect remains the > > kernel. > > Kernel never sets this. It is initialized to 0 and provides a /sys > interface to user. I think it is set by some user app > (gnome-power-manager or some other app like that). That explains why it > is 0 initially after boot and gets changed later. > > The support for ignore_nice_load=1 was broken in kernel for a short > while (arounf 2.6.28, IIRC). That may be the reason why this behavior > was not noticed earlier. Thanks for the info. I'll see if I can figure out what's responsible. At least I know where to look now. Cheers, FJP -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/