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.
pgpYkTQ7P7I12.pgp
Description: PGP signature