Subject: apic clock calibrarion error
To: NetBSD current <current-users@netbsd.org>
From: Andreas Wrede <andreas@planix.com>
List: current-users
Date: 10/29/2004 11:21:25
--Apple-Mail-8-497001571
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Every once in a while see the a large error (5%) in reported clock  
speed on a dual CPU HP LPr machine. The result is that the second  
processor is reported as running 5% faster and the system clock run  
about 5% slower (!) - ntpd is not able to compensate.

Has anyone else seen this or is the hardware getting to old?

diff -u  /var/log/dmesglog.0 /var/log/dmesglog
--- /var/log/dmesglog.0 2004-10-26 11:08:01.000000000 -0400
+++ /var/log/dmesglog   2004-10-29 10:56:25.000000000 -0400
@@ -16,11 +16,11 @@
  cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
  cpu0: serial number 0000-0681-0003-9C42-8463-DD55
  cpu0: calibrating local timer
-cpu0: apic clock running at 105 MHz
+cpu0: apic clock running at 99 MHz
  cpu0: 8 page colors
  cpu1 at mainbus0: apid 0 (application processor)
  cpu1: starting
-cpu1: Intel Pentium III (686-class), 740.74 MHz, id 0x681
+cpu1: Intel Pentium III (686-class), 698.81 MHz, id 0x681
  cpu1: features  
387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
  cpu1: features 387fbff<PGE,MCA,CMOV,PAT,PSE36,PN,MMX>
  cpu1: features 387fbff<FXSR,SSE>

The kernel is essentially GENERIC.MP with some unused busses and  
devices removed.

$ uname -a
NetBSD willy.wrede.pvt 2.0_RC4 NetBSD 2.0_RC4 (PLANIX.MP) #8: Fri Oct   
8 01:26:41 EDT 2004   
root@willy.wrede.pvt:/u1/netbsd-2.0/obj/sys/arch/i386/compile.i386/ 
PLANIX.MP i386
-- 
	aew

--Apple-Mail-8-497001571
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBgl/1Eh/h9J/TQyERAni9AKDEdfeVgygymlgqgjEpn4IZwiJ64QCgqjgJ
8Iciik45ZJubOTkfq9GRIO4=
=jXfs
-----END PGP SIGNATURE-----

--Apple-Mail-8-497001571--