Subject: Re: RTC and clocks
To: Jared D. McNeill <jmcneill@invisible.ca>
From: Peter Seebach <seebs@plethora.net>
List: port-i386
Date: 09/18/2006 20:44:46
In message <624880B2-4C95-4B3A-ABDA-B41B8AE53520@invisible.ca>, "Jared D. McNei
ll" writes:
>Are you by any chance using enhanced speedstep, powernow, (not  
>enhanced) speedstep, etc with the TSC timecounter on 4.0+?

Dunno!

>A simple ``sysctl kern.timecounter'' will tell you the available  
>timecounters, as well as the selected one.

$ sysctl kern.timecounter
kern.timecounter.choice = clockinterrupt(q=0, f=100 Hz) TSC(q=800,
f=1998399280 Hz) i8254(q=100, f=1193182 Hz) dummy(q=-1000000, f=1000000 Hz)
kern.timecounter.hardware = TSC
kern.timecounter.timestepwarnings = 0

Not sure what this means; looks like I'm using "TSC", which looks to be
CPU-based.  CPU is a Pentium 4M 2GHz.  (Not to be confused with the
dramatically superior Pentium M.)

NetBSD vash.cel.plethora.net 4.99.1 NetBSD 4.99.1 (VASH) #0: Mon Sep 11 00:19:43 CDT 2006 seebs@vash.cel.plethora.net:/usr/src/sys/arch/i386/compile/VASH i386

I was also seeing it on a slightly older kernel:

NetBSD 4.99.1 (VASH) #0: Mon Aug 28 14:27:39 CDT 2006
        seebs@vash.cel.plethora.net:/usr/src/sys/arch/i386/compile/VASH

-s