Re: 2.6.8 Thinkpad T40, clock running too fast

From: Shawn Willden
Date: Tue Nov 02 2004 - 19:12:37 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks for the quick response, John.

On Tuesday 02 November 2004 04:06 pm, john stultz wrote:
> Does this go away if you disable cpufreq in your kernel config?

I'll try that next.

> Also, looking at /proc/interrupts, does it look like you're getting more
> then ~1000 interrupts per second?

I don't think so. I'm not sure how to tell. Running the following:

prev=0
while true; do
cur=`cat /proc/interrupts| grep timer|cut -d' ' -f 6`
(( diff = $cur - $prev ))
echo $diff; prev=$cur
sleep 1
done

gives interrupt count differences that are between 1003 and 1222 per (rough)
second. The mean is 1016 with a std deviation of 16. Running the same thing
on another machine -- one without clock problems -- yields similar values.

Is there a better way to measure this?

Thanks

Shawn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBiCBf6d8WxFy/CWcRAlkFAKCIVLcrXdMENi41SZ4jwSNx5Ukg2ACgjRPW
Ig1kUi1EwRw13ba+MVEVrFk=
=/KWj
-----END PGP SIGNATURE-----
-
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/