public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: Ondemand/Conservative not working with 2.6.18
@ 2006-10-11 19:00 Pallipadi, Venkatesh
  2006-10-11 19:08 ` S.Çağlar Onur
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Pallipadi, Venkatesh @ 2006-10-11 19:00 UTC (permalink / raw)
  To: caglar; +Cc: Dave Jones, linux-kernel

 

>-----Original Message-----
>From: S.Çaglar Onur [mailto:caglar@pardus.org.tr] 
>Sent: Tuesday, October 10, 2006 1:55 PM
>To: Pallipadi, Venkatesh
>Cc: Dave Jones; linux-kernel@vger.kernel.org
>Subject: Re: Ondemand/Conservative not working with 2.6.18
>
>10 Eki 2006 Sal 02:35 tarihinde, Pallipadi, Venkatesh şunları 
>yazmıştı: 
>> What CPU is this? Pentium M?
>
>Yes it is.
>
>
>zangetsu cpu0 # cd cpufreq/
>zangetsu cpufreq # echo "ondemand" > scaling_governor
>zangetsu cpufreq # cat scaling_governor
>ondemand
>zangetsu cpufreq # cat scaling_available_frequencies
>1733000 1333000 1067000 800000
>zangetsu cpufreq # cat scaling_cur_freq
>1733000
>
>But frequency never changes and stays at 1.73ghz
>
>zangetsu cpufreq # echo "powersave" > scaling_governor
>zangetsu cpufreq # cat scaling_cur_freq
>800000
>zangetsu cpufreq # echo "performance" > scaling_governor
>zangetsu cpufreq # cat scaling_cur_freq
>1733000
>

I guess I misunderstood the original issue. You have available_frequencies showing all the values and after you load ondemand, frequency remains at the highest, even though CPUs are idle. Is this correct?

And everything above used to work fine with 2.6.16?

Can you configure with CPU_FREQ_DEBUG and do "echo 5 > /sys/module/cpufreq/parameter/debug" before switching the governor to ondemand and see whether you see any messages in dmesg?

Thanks,
Venki

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: Ondemand/Conservative not working with 2.6.18
@ 2006-10-16 13:08 Pallipadi, Venkatesh
  2006-10-16 20:29 ` S.Çağlar Onur
  0 siblings, 1 reply; 11+ messages in thread
From: Pallipadi, Venkatesh @ 2006-10-16 13:08 UTC (permalink / raw)
  To: caglar; +Cc: Dave Jones, linux-kernel

 

>-----Original Message-----
>From: S.Çaglar Onur [mailto:caglar@pardus.org.tr] 
>Sent: Friday, October 13, 2006 11:34 AM
>To: Pallipadi, Venkatesh
>Cc: Dave Jones; linux-kernel@vger.kernel.org
>Subject: Re: Ondemand/Conservative not working with 2.6.18
>
>11 Eki 2006 Çar 22:00 tarihinde, Pallipadi, Venkatesh şunları 
>yazmıştı: 
>> I guess I misunderstood the original issue. You have 
>available_frequencies
>> showing all the values and after you load ondemand, 
>frequency remains at
>> the highest, even though CPUs are idle. Is this correct?
>>
>> And everything above used to work fine with 2.6.16?
>>
>> Can you configure with CPU_FREQ_DEBUG and do "echo 5 >
>> /sys/module/cpufreq/parameter/debug" before switching the governor to
>> ondemand and see whether you see any messages in dmesg?
>
>I just found a workaround of my problem, if system boots with 
>ac adapter 
>plugged then ondemand or conservative governors are not working, but 
>unplugging the adapter and waiting some seconds, plug it back 
>solves this 
>issue and ondemand/conservative governors are starts to run as 
>expected.
>
>What should i do now? If im not wrong it seems like acpi 
>subsystem problem 
>(and just to be sure, i disassembled my dsdt, iacl claims its 
>error/warning 
>free)
>

Sorry for the delayed response. This is still very mysterious to me..

Do you see anything interesting in dmesg after you try this ac adapter unplug and plug back routine? Can you send me the dmesg. Better still open a bugzilla at bugme.osdl.org and stick the dmesg and acpidump there.

One possible reason for this is, somehow idle statistics is getting all wrong and ondemand thinks CPU is busy, even though it is idle. I have seen this happening earlier when there are issues with local APIC interrupts in deep C-states on dual core systems. But, here it is a single core CPU. Right? Can you also get the output of
#cat /proc/interrupts; sleep 10; cat /proc/interrupts
On your system when ondemand is not working and when it is working (After your unplug-plug workaround.

Thanks,
Venki

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: Ondemand/Conservative not working with 2.6.18
@ 2006-10-09 23:35 Pallipadi, Venkatesh
  2006-10-10 20:54 ` S.Çağlar Onur
  0 siblings, 1 reply; 11+ messages in thread
From: Pallipadi, Venkatesh @ 2006-10-09 23:35 UTC (permalink / raw)
  To: caglar, Dave Jones; +Cc: linux-kernel


>-----Original Message-----
>From: linux-kernel-owner@vger.kernel.org 
>[mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of S.Çaglar Onur
>Sent: Monday, October 09, 2006 2:53 PM
>To: Dave Jones
>Cc: linux-kernel@vger.kernel.org
>Subject: Re: Ondemand/Conservative not working with 2.6.18
>
>04 Eki 2006 Çar 16:33 tarihinde, S.Çağlar Onur şunları yazmıştı: 
>> Hi;
>>
>> With kernel 2.6.18 "ondemand" and "conservative" governors 
>are not working
>> with Sony Vaio FS-215B laptop, no frequency scaling or 
>anything else :)
>> occurs while system is %100 idle or at any workload using 
>these governors,
>> but setting "performance" governor changes to 1733 Mhz and 
>"powersave"
>> changes to 800 Mhz as expected. They all works without a problem with
>> 2.6.16.x, system information below;
>
>Also not working with 2.6.19-rc1
>

What CPU is this? Pentium M?
What driver was getting used in 2.6.16 kernel to change freqency? Acpi-cpufreq?

Can you please make sure you have configured in both speedstep-centrino and acpi-cpufreq drivers. Things should work with both these drivers so that the best one will be used based on your BIOS support.

Thanks,
Venki

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Ondemand/Conservative not working with 2.6.18
@ 2006-10-04 13:33 S.Çağlar Onur
  2006-10-09 21:52 ` S.Çağlar Onur
  0 siblings, 1 reply; 11+ messages in thread
From: S.Çağlar Onur @ 2006-10-04 13:33 UTC (permalink / raw)
  To: Dave Jones; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1736 bytes --]

Hi;

With kernel 2.6.18 "ondemand" and "conservative" governors are not working 
with Sony Vaio FS-215B laptop, no frequency scaling or anything else :) 
occurs while system is %100 idle or at any workload using these governors, 
but setting "performance" governor changes to 1733 Mhz and "powersave" 
changes to 800 Mhz as expected. They all works without a problem with 
2.6.16.x, system information below;

/proc/cpuinfo

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : Intel(R) Pentium(R) M processor 1.73GHz
stepping        : 8
cpu MHz         : 1733.000
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up est tm2
bogomips        : 3460.80

/sys/devices/system/cpu/cpu0/cpufreq values

ondemand/ignore_nice_load:0
ondemand/up_threshold:60
ondemand/sampling_rate:333000
ondemand/sampling_rate_min:10000
ondemand/sampling_rate_max:10000000
scaling_cur_freq:1733000
cpuinfo_cur_freq:1733000
scaling_available_frequencies:1733000 1333000 1067000 800000
scaling_available_governors:ondemand performance
scaling_driver:centrino
scaling_governor:ondemand
affected_cpus:0
scaling_max_freq:1733000
scaling_min_freq:800000
cpuinfo_max_freq:1733000
cpuinfo_min_freq:800000

Cheers
-- 
S.Çağlar Onur <caglar@pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-10-16 20:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-11 19:00 Ondemand/Conservative not working with 2.6.18 Pallipadi, Venkatesh
2006-10-11 19:08 ` S.Çağlar Onur
2006-10-11 19:38 ` S.Çağlar Onur
2006-10-11 19:39 ` S.Çağlar Onur
2006-10-13 18:33 ` S.Çağlar Onur
  -- strict thread matches above, loose matches on Subject: below --
2006-10-16 13:08 Pallipadi, Venkatesh
2006-10-16 20:29 ` S.Çağlar Onur
2006-10-09 23:35 Pallipadi, Venkatesh
2006-10-10 20:54 ` S.Çağlar Onur
2006-10-04 13:33 S.Çağlar Onur
2006-10-09 21:52 ` S.Çağlar Onur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox