public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: High pitched noise from laptop: processor.c in linux 2.6
@ 2004-10-17  5:21 Albert Cahalan
  0 siblings, 0 replies; 29+ messages in thread
From: Albert Cahalan @ 2004-10-17  5:21 UTC (permalink / raw)
  To: linux-kernel mailing list; +Cc: alan

Alan Cox writes:
> On Sad, 2004-10-16 at 20:52, Lee Revell wrote:
>> [Pavel Machek]

>>> What benefits? HZ=1000 takes 1W more on my system.
>>
>> Better timer resolution?
>
> And heavily reduced accuracy on a lot of laptops
> where 1000Hz is enough to make the clock slide
> every time the battery state is queried or an SMM
> event triggers.

How low is low enough for nearly all of these laptops?
Some decent choices:

wrongness_%   HZ_diff   PIT_#   HZ     actual_HZ
-0.00083809  -0.003051   3278   364   363.996949  
-0.00016762  -0.000483   4143   288   287.999517
-0.00016762  -0.000724   2762   432   431.999276
-0.00016762  -0.001448   1381   864   863.998552
+0.00008381  +0.000304   3287   363   363.000304  
+0.00008381  +0.000435   2299   519   519.000435  
+0.00008381  +0.000525   1903   627   627.000525  



^ permalink raw reply	[flat|nested] 29+ messages in thread
* RE: High pitched noise from laptop: processor.c in linux 2.6
@ 2004-10-18  3:51 Yu, Luming
  2004-10-18 11:41 ` Pavel Machek
  0 siblings, 1 reply; 29+ messages in thread
From: Yu, Luming @ 2004-10-18  3:51 UTC (permalink / raw)
  To: Pavel Machek, M; +Cc: linux-kernel

>Hi!
>
>> >> Is there any way to stop this? I googled around and found it had 
>> >> something to do with idle frequency of 1000 Hz in 2.6 
>instead of 100Hz 
>> >> in the 2.4 kernel. I couldn't find much else on this. 
>Hunting around the 
>> >> code didn't help much, I don't know C. 
>> >
>> > Change #define HZ 1000 to #define HZ 100...
>> 
>> ... and lose all the benefits of HZ=1000.  What would happen if one
>> were to set HZ to a higher value, like 10000?

There is a similar issue filed on :
http://bugzilla.kernel.org/show_bug.cgi?id=3406


^ permalink raw reply	[flat|nested] 29+ messages in thread
* High pitched noise from laptop: processor.c in linux 2.6
@ 2004-10-07  9:30 Fraz
  2004-10-07 10:32 ` Pavel Machek
  2004-10-07 10:37 ` Christian Hesse
  0 siblings, 2 replies; 29+ messages in thread
From: Fraz @ 2004-10-07  9:30 UTC (permalink / raw)
  To: linux-kernel

I recently upgraded from linux 2.4.27 to 2.6.8.1 and noticed my laptop 
now makes a high pitch noise while idle. I traced it back to the 
processor module for acpi. 'rmmod processor' stops the noise. 

 

Using speed step to turn it down to 733 Mhz makes it a 
        little quieter and doesn't change the tone. 

 

Is there any way to stop this? I googled around and found it had 
something to do with idle frequency of 1000 Hz in 2.6 instead of 100Hz 
in the 2.4 kernel. I couldn't find much else on this. Hunting around the 
code didn't help much, I don't know C. 

 

The laptop is a Compaq Evo N160 from Dec 2001. The reference in google 
was to a Centrino laptop with the same problem. I wrote to Dominik 
Brodowski who suggested posting here.


fraz

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

end of thread, other threads:[~2004-10-22 11:41 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-17  5:21 High pitched noise from laptop: processor.c in linux 2.6 Albert Cahalan
  -- strict thread matches above, loose matches on Subject: below --
2004-10-18  3:51 Yu, Luming
2004-10-18 11:41 ` Pavel Machek
2004-10-20 14:47   ` Måns Rullgård
2004-10-20 15:47     ` Pavel Machek
2004-10-20 16:37       ` Måns Rullgård
2004-10-20 16:49         ` Jan-Benedict Glaw
2004-10-20 16:53           ` Pavel Machek
2004-10-20 16:53         ` Lee Revell
2004-10-20 17:13           ` Måns Rullgård
2004-10-21 20:32             ` Lee Revell
2004-10-21 21:39               ` Jon Masters
2004-10-20 23:31   ` Giuseppe Bilotta
2004-10-07  9:30 Fraz
2004-10-07 10:32 ` Pavel Machek
2004-10-07 10:53   ` Måns Rullgård
2004-10-07 14:32     ` Pavel Machek
2004-10-16 19:52       ` Lee Revell
2004-10-16 21:46         ` Alan Cox
2004-10-17  1:24           ` Lee Revell
2004-10-17  1:50             ` Kyle Moffett
2004-10-17  2:21             ` Alan Cox
2004-10-17  3:33               ` Lee Revell
2004-10-22 11:40               ` Alexandre Oliva
2004-10-16 19:59       ` Måns Rullgård
2004-10-16 20:42         ` Pavel Machek
2004-10-07 14:34     ` Pavel Machek
2004-10-17  0:45   ` Alex Riesen
2004-10-07 10:37 ` Christian Hesse

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