Re: device polling and weird timer interrupt count from vmstat

2007-09-26 Thread Oliver Fromme
Artem Kuchin wrote: Well, problem with top is that on dual 3GHZ box it alsway s shows 0% load when not loaded with real traffic (web traffic) no matter if it is polling of int handling. Great, so your machine doesn't have any significant overhead for the timer interrupt. That was your

Re: device polling and weird timer interrupt count from vmstat

2007-09-25 Thread Nikos Vassiliadis
On Monday 24 September 2007 20:58, Artem Kuchin wrote: 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? DOUBLING I can only make assumptions about the doubling, and I

Re: device polling and weird timer interrupt count from vmstat

2007-09-25 Thread Artem Kuchin
Nikos Vassiliadis wrote: On Monday 24 September 2007 20:58, Artem Kuchin wrote: 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? DOUBLING I can only make assumptions about

Re: device polling and weird timer interrupt count from vmstat

2007-09-25 Thread Nikos Vassiliadis
On Tuesday 25 September 2007 12:13, Artem Kuchin wrote: I have dual CPU with HT. If i turn on HT (and it does help in my case) it shoud 2000 int x4 = 8000 ints per second. SO, i have saved 200 int/second from NIC and got myself 8000 ints/second from timer. This kind of load(200intrs/s) earns

Re: device polling and weird timer interrupt count from vmstat

2007-09-25 Thread Artem Kuchin
Nikos Vassiliadis wrote: On Tuesday 25 September 2007 12:13, Artem Kuchin wrote: I have dual CPU with HT. If i turn on HT (and it does help in my case) it shoud 2000 int x4 = 8000 ints per second. SO, i have saved 200 int/second from NIC and got myself 8000 ints/second from timer. This kind

Re: device polling and weird timer interrupt count from vmstat

2007-09-25 Thread Oliver Fromme
Artem Kuchin wrote: I enabled device polling in the kernel, in nics and set HZ=1000. HZ=1000 is the default anyway. You only need to set it if you want a value other than 1000. For example, on my notebook I have set HZ=600 because that machine often used for various media playback (video).

Re: device polling and weird timer interrupt count from vmstat

2007-09-25 Thread Artem Kuchin
3) Is timer int really generated on each cpu? Am i really wasting cpu time on ~4000 ints per second? 4000 ints per second is rather nothing on any modern CPU. Have a look at the top(1) display of an otherwise idle system. The %interrupt column should be zero, even if it's processing 4000 timer

Re: device polling and weird timer interrupt count from vmstat

2007-09-25 Thread Oliver Fromme
Artem Kuchin wrote: Oliver Fromme wrote: Artem Kuchin wrote: 3) Is timer int really generated on each cpu? Am i really wasting cpu time on ~4000 ints per second? 4000 ints per second is rather nothing on any modern CPU. Have a look at the top(1) display of an otherwise idle

Re: device polling and weird timer interrupt count from vmstat

2007-09-25 Thread Artem Kuchin
Oliver Fromme wrote: Artem Kuchin wrote: Oliver Fromme wrote: Artem Kuchin wrote: 3) Is timer int really generated on each cpu? Am i really wasting cpu time on ~4000 ints per second? 4000 ints per second is rather nothing on any modern CPU. Have a look at the top(1) display of an otherwise

Re: device polling and weird timer interrupt count from vmstat

2007-09-25 Thread Michael Proto
Artem Kuchin wrote: Oliver Fromme wrote: Artem Kuchin wrote: Oliver Fromme wrote: Artem Kuchin wrote: 3) Is timer int really generated on each cpu? Am i really wasting cpu time on ~4000 ints per second? 4000 ints per second is rather nothing on any modern CPU. Have a look at the top(1)

device polling and weird timer interrupt count from vmstat

2007-09-24 Thread Artem Kuchin
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

device polling and weird timer interrupt count from vmstat

2007-09-22 Thread Artem Kuchin
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