too short/too long (sys/kern_tc.c)

From: Eric Anderson <anderson_at_freebsd.org>
Date: Tue, 27 Feb 2007 08:00:36 -0600
When I boot a -CURRENT box with boot verbose enabled inside qemu, I see
one of these messages about every second:

15.f68c5ee76faebe10 too short
16.0f822e13092c5580 too long

I can obviously whack the printf's, but what's the 'right way' to fix
this?  Set HZ to something? Pick a different timer?

kern.timecounter.tick: 1
kern.timecounter.choice: TSC(800) i8254(0) dummy(-1000000)
kern.timecounter.hardware: TSC
kern.timecounter.nsetclock: 2
kern.timecounter.ngetmicrotime: 80036
kern.timecounter.ngetnanotime: 0
kern.timecounter.ngetbintime: 0
kern.timecounter.ngetmicrouptime: 29057
kern.timecounter.ngetnanouptime: 109
kern.timecounter.ngetbinuptime: 488
kern.timecounter.nmicrotime: 1708
kern.timecounter.nnanotime: 11
kern.timecounter.nbintime: 1719
kern.timecounter.nmicrouptime: 687
kern.timecounter.nnanouptime: 0
kern.timecounter.nbinuptime: 3734
kern.timecounter.stepwarnings: 0
kern.timecounter.tc.i8254.mask: 4294967295
kern.timecounter.tc.i8254.counter: 7769
kern.timecounter.tc.i8254.frequency: 1193182
kern.timecounter.tc.i8254.quality: 0
kern.timecounter.tc.TSC.mask: 4294967295
kern.timecounter.tc.TSC.counter: 809045640
kern.timecounter.tc.TSC.frequency: 1995115260
kern.timecounter.tc.TSC.quality: 800
kern.timecounter.smp_tsc: 0

FreeBSD  7.0-CURRENT FreeBSD 7.0-CURRENT #3: Fri Feb 23 09:28:20 CST
2007 i386

Eric
Received on Tue Feb 27 2007 - 13:00:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:06 UTC