[lkml]   [1997]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: x86 clock speed patch -- Possible bug?
On Sat, 1 Feb 1997 wrote:
> I have a P133. When I first started, the /proc/cpuinfo said that I had a
> 133MHz processor. About an hour later, I look at /proc/cpuinfo from my
> user account, and get this:
> clock_speed : 132 MHz
> That happened several times. Then it reverted back to:
> clock_speed : 133 MHz
> It's continued to swing back and forth between 133 and 132 MHz as I write
> this.
> Is this a bug or some odd hardware quirk?

This is definitely not a bug. On my machine, I get 119 instead of 120
about every 20th time I read /proc/cpuinfo.
Does your harddrive run because of some other process while doing this?

I thought about reading the clock speed once at bootup and save the value.
But that would provoke horribly machine-dependent code in ./init/main.c

Cheers, Stephan

Stephan Meyer

 \ /
  Last update: 2005-03-22 13:38    [W:0.028 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site