device polling and weird timer interrupt count from vmstat



Anyone any clue on this issue:

Artem Kuchin wrote:
I enabled device polling in the kernel, in nics and
set HZ=1000.

How, when i do

omni2# vmstat -i

i see

interrupt total rate
irq14: ata0 47 0
irq15: ata1 41 0
irq28: em0 2268 4
irq72: twe0 58380 120
cpu0: timer 965994 1995
cpu3: timer 1 0
cpu1: timer 1 0
cpu2: timer 965857 1995
Total 1992589 4116


(it is dual xeon with HT, HT disabled, that why cpu3 and cpu1 are
zero).

What i don't understand is why timer rate on each cpu is 1995? I have
set it to 1000, not 1995 or 2000. I have seen it showing 2000 on
another box. So
1) why not 1000?
2) if it is supposed to be doubled (why?) when why not 2000?
3) Is timer int really generated on each cpu? Am i really wasting cpu
time on ~4000 ints per second?
4) does twe driver use polling? whay about twa? how to check it in
the sources?
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • device polling and weird timer interrupt count from vmstat
    ... I enabled device polling in the kernel, ... What i don't understand is why timer rate on each cpu is 1995? ... Is timer int really generated on each cpu? ...
    (freebsd-stable)
  • Re: sonicencoders and hyperthreading
    ... Dual Xeon? ... If only one CPU is doing all ... graphs will show significant activity. ... When it is transcoding the file, if I look in task manager, one of the ...
    (microsoft.public.windows.mediacenter)
  • Re: Problems with -git14
    ... my dual Xeon with HT has been ... is okay). ... J.A. Magallón reports the same. ... native_cpu_up: bad cpu 2 ...
    (Linux-Kernel)
  • Re: What is a soft lockup?
    ... Not running raid. ... In /var/logl/messages i get and error like this repeatedl. ... a dual xeon and it seems like each cpu in turn shows this error. ...
    (Fedora)
  • Re: Any real speed advantage with dual Xeon processors?
    ... > The other thing that may be worth considering is a P4 Hyperthreading CPU. ... Xeons by their nature are hyperthreaded, I beleive - on my dual Xeon server, ...
    (microsoft.public.fox.programmer.exchange)