Port-amd64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: timecounter TSC on Core i7
My Core-i7 also picks TSC...
{105} grep counter /var/run/dmesg.boot
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
timecounter: Timecounter "hpet0" frequency 14318179 Hz quality 2000
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 2672859040 Hz quality 3000
{106} sysctl kern.timecounter
kern.timecounter.choice = TSC(q=3000, f=2672859040 Hz) clockinterrupt(q=0,
f=100 Hz) hpet0(q=2000, f=14318179 Hz) ACPI-Fast(q=1000, f=3579545 Hz)
lapic(q=-100, f=133693674 Hz) i8254(q=100, f=1193182 Hz) dummy(q=-1000000,
f=1000000 Hz)
kern.timecounter.hardware = TSC
kern.timecounter.timestepwarnings = 0
{107}
And it also seems to have some "issues" with NTP time-keeping:
{107} tail /var/log/messages
Sep 14 23:06:05 bolt ntpd[274]: kernel time sync status change
0x2001<PLL,NANO,MODE=0x0=PLL,CLK=0x0=A>
Sep 15 00:14:26 bolt ntpd[274]: kernel time sync status change
0x6001<PLL,NANO,MODE=0x1=FLL,CLK=0x0=A>
Sep 15 00:31:30 bolt ntpd[274]: kernel time sync status change
0x2001<PLL,NANO,MODE=0x0=PLL,CLK=0x0=A>
Sep 15 01:39:49 bolt ntpd[274]: kernel time sync status change
0x6001<PLL,NANO,MODE=0x1=FLL,CLK=0x0=A>
Sep 15 02:13:55 bolt ntpd[274]: kernel time sync status change
0x2001<PLL,NANO,MODE=0x0=PLL,CLK=0x0=A>
Sep 15 03:30:51 bolt ntpd[274]: kernel time sync status change
0x6001<PLL,NANO,MODE=0x1=FLL,CLK=0x0=A>
Sep 15 04:22:07 bolt ntpd[274]: kernel time sync status change
0x2001<PLL,NANO,MODE=0x0=PLL,CLK=0x0=A>
Sep 15 06:21:44 bolt ntpd[274]: kernel time sync status change
0x6001<PLL,NANO,MODE=0x1=FLL,CLK=0x0=A>
Sep 15 08:04:13 bolt ntpd[274]: kernel time sync status change
0x2001<PLL,NANO,MODE=0x0=PLL,CLK=0x0=A>
Sep 15 11:11:56 bolt ntpd[274]: kernel time sync status change
0x6001<PLL,NANO,MODE=0x1=FLL,CLK=0x0=A>
{108}
Would hpet be a better choice for timecounter?
-------------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index