Re: Interrupt performance

2011-01-30 Thread Slawa Olhovchenkov
On Sat, Jan 29, 2011 at 11:54:11PM +1100, Bruce Evans wrote: > > And I see drammaticaly less number of context switches in linux stats > > (by dstat). > > FreeBSD uses ithreds for most interrupts, so of course it does many > more context switches (at least 2 per interrupt). This doesn't make > m

Re: Interrupt performance

2011-01-30 Thread Slawa Olhovchenkov
On Sat, Jan 29, 2011 at 09:55:06PM -0800, Robby Sun wrote: > I'd like to suggest that you use the same bit-width for 'Dummy' as that for > 'count', and initialize it to 0, so as to ensure that it won't overflow. I don't use value of Dummy, overflow don't meaning. > -Robby > > On Fri, Jan 28, 20