RE: (ondemand) CPU governor regression between 2.6.23 and 2.6.24

From: Pallipadi, Venkatesh
Date: Mon Feb 04 2008 - 12:43:26 EST




>-----Original Message-----
>From: linux-kernel-owner@xxxxxxxxxxxxxxx
>[mailto:linux-kernel-owner@xxxxxxxxxxxxxxx] On Behalf Of Andrew Morton
>Sent: Sunday, February 03, 2008 4:33 PM
>To: Toralf Förster
>Cc: linux-kernel@xxxxxxxxxxxxxxx; cpufreq@xxxxxxxxxxxxxxxx
>Subject: Re: (ondemand) CPU governor regression between 2.6.23
>and 2.6.24
>
>On Sat, 26 Jan 2008 15:06:25 +0100 Toralf Förster
><toralf.foerster@xxxxxx> wrote:
>
>> I use a 1-liner for a simple performance check : "time
>factor 819734028463158891"
>> Here is the result for the new (Gentoo) kernel 2.6.24:
>>
>> With the ondemand governor of the I get:
>>
>> tfoerste@n22 ~/tmp $ time factor 819734028463158891
>> 819734028463158891: 3 273244676154386297
>>
>> real 0m32.997s
>> user 0m15.732s
>> sys 0m0.014s
>>
>> With the ondemand governor the CPU runs at 600 MHz,
>> whereas with the performance governor I get :
>>
>> tfoerste@n22 ~/tmp $ time factor 819734028463158891
>> 819734028463158891: 3 273244676154386297
>>
>> real 0m10.893s
>> user 0m5.444s
>> sys 0m0.000s
>>
>> (~5.5 sec as I expected) b/c the CPU is set to 1.7 GHz.
>>
>> The ondeman governor of previous kernel versions however
>automatically increased
>> the CPU speed from 600 MHz to 1.7 GHz.
>>
>> My system is a ThinkPad T41, I'll attach the .config
>>
>

This looks like is related to the report here
http://www.ussg.iu.edu/hypermail/linux/kernel/0801.3/1260.html

Can you try the workarounds on that thread and see whether the problem goes away.

Thanks,
Venki
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/