cpu-timer rate
Greg 'groggy' Lehey
grog at FreeBSD.org
Tue Dec 6 21:16:58 PST 2005
On Friday, 2 December 2005 at 14:32:58 +0100, kama wrote:
>
> Hi,
>
> I am just wondering why the cpu-timer is doubled from what I set in
> kern.hz?
>
> # vmstat -i
> ...
> cpu0: timer 14314031 1999
>
> # sysctl -a | grep hz
> kern.clockrate: { hz = 1000, tick = 1000, profhz = 666, stathz = 133 }
Interesting question. So far I haven't seen an answer that comes
close to explaining it. My guess is that it's because of the specific
timer you're using; which is it? Is there anything else of interest
in your setup?
FWIW, I get (without ACPI) on two different machines essentially the
same:
$ vmstat -i
interrupt total rate
irq0: clk 55250411 1000
irq1: atkbd0 47365 0
irq5: ohci1 97516 1
irq8: rtc 7069645 127
irq10: ehci0 1 0
irq11: nve0 xl0+ 1022991 18
irq14: ata0 425652 7
irq15: ata1 4777 0
Total 63918358 1157
$ sysctl -a | grep hz
kern.clockrate: { hz = 1000, tick = 1000, profhz = 1024, stathz = 128 }
debug.psm.hz: 20
Greg
--
See complete headers for address and phone numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20051207/3aa87c9e/attachment.bin
More information about the freebsd-stable
mailing list