Re: Interrupt performance

2011-02-01 Thread Slawa Olhovchenkov
On Wed, Feb 02, 2011 at 04:04:36AM +1100, Bruce Evans wrote: > On Tue, 1 Feb 2011, Slawa Olhovchenkov wrote: > > > I do some more test and build kernel with KTR. > > Now I don't think that inetrrupt overhead on FreeBSD weight: I try > > polling and don't see any difference. > > > > I see many rep

Re: Interrupt performance

2011-02-01 Thread Bruce Evans
On Tue, 1 Feb 2011, Slawa Olhovchenkov wrote: I do some more test and build kernel with KTR. Now I don't think that inetrrupt overhead on FreeBSD weight: I try polling and don't see any difference. I see many reported by netperf send errors. I found this http://docs.freebsd.org/cgi/mid.cgi?E1Ai

Re: Interrupt performance

2011-02-01 Thread Slawa Olhovchenkov
On Tue, Feb 01, 2011 at 04:15:01PM +0300, Slawa Olhovchenkov wrote: > On Tue, Feb 01, 2011 at 02:23:32PM +0200, Stefan Lambrev wrote: > > > >> Also in the past ENOBUF was not handled properly in linux. > > >> > > >> http://wiki.freebsd.org/AvoidingLinuxisms - Do not rely on > > >> Linux-specifi

Re: Interrupt performance

2011-02-01 Thread Slawa Olhovchenkov
On Tue, Feb 01, 2011 at 02:23:32PM +0200, Stefan Lambrev wrote: > >> Also in the past ENOBUF was not handled properly in linux. > >> > >> http://wiki.freebsd.org/AvoidingLinuxisms - Do not rely on Linux-specific > >> socket behaviour. In particular, default socket buffer sizes are different > >

Re: Interrupt performance

2011-02-01 Thread Stefan Lambrev
On Feb 1, 2011, at 2:18 PM, Slawa Olhovchenkov wrote: > On Tue, Feb 01, 2011 at 02:07:51PM +0200, Stefan Lambrev wrote: > >>> I do some more test and build kernel with KTR. >>> Now I don't think that inetrrupt overhead on FreeBSD weight: I try >>> polling and don't see any difference. >>> >>> I

Re: Interrupt performance

2011-02-01 Thread Slawa Olhovchenkov
On Tue, Feb 01, 2011 at 02:07:51PM +0200, Stefan Lambrev wrote: > > I do some more test and build kernel with KTR. > > Now I don't think that inetrrupt overhead on FreeBSD weight: I try > > polling and don't see any difference. > > > > I see many reported by netperf send errors. I found this > >

Re: Interrupt performance

2011-02-01 Thread Stefan Lambrev
Hi, On Feb 1, 2011, at 1:37 PM, Slawa Olhovchenkov wrote: > On Sat, Jan 29, 2011 at 07:52:11AM +1100, Bruce Evans wrote: > there are profiling tools that you may decide to run. >>> >>> What tools I can use on amd64? >>> >>> I boot kernel configured with 'config -p'. >>> Most time in spinl

Re: Interrupt performance

2011-02-01 Thread Slawa Olhovchenkov
On Sat, Jan 29, 2011 at 07:52:11AM +1100, Bruce Evans wrote: > >> there are profiling tools that you may decide to run. > > > > What tools I can use on amd64? > > > > I boot kernel configured with 'config -p'. > > Most time in spinlock_exit and acpi_cpu_c1. > > Normal profiling works poorly (I se