Date: Tue, 1 Jul 2008 13:05:37 +0800 From: "Sepherosa Ziehau" <sepherosa@gmail.com> To: "Adrian Chadd" <adrian@freebsd.org> Cc: freebsd-net@freebsd.org, Paul <paul@gtcomm.net> Subject: Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp] Message-ID: <ea7b9c170806302205g6f11ab31k5ac05677369a5b3e@mail.gmail.com> In-Reply-To: <d763ac660806302107y180583efl14aadcde4a244568@mail.gmail.com> References: <4867420D.7090406@gtcomm.net> <200806301944.m5UJifJD081781@lava.sentex.ca> <20080701004346.GA3898@stlux503.dsto.defence.gov.au> <alpine.LFD.1.10.0807010257570.19444@filebunker.xip.at> <20080701010716.GF3898@stlux503.dsto.defence.gov.au> <alpine.LFD.1.10.0807010308320.19444@filebunker.xip.at> <486986D9.3000607@monkeybrains.net> <48699960.9070100@gtcomm.net> <ea7b9c170806302005n2a66f592h2127f87a0ba2c6d2@mail.gmail.com> <d763ac660806302107y180583efl14aadcde4a244568@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/1/08, Adrian Chadd <adrian@freebsd.org> wrote: > 2008/7/1 Sepherosa Ziehau <sepherosa@gmail.com>: > > > > > Properly configured #RX desc and timer intr interval will be required > > to make sure that the RX desc collection could keep up with the > > hardware speed. I used pure timer intr (8000Hz) on nfe(4) in dfly w/ > > good result, i.e. TX/RX @linespeed without livelocking the system. > > The drawback of pure timer intr is that you waste extra cpu power, > > when there is nothing to process. > > > What packet rate is "linespeed" ? With what size packets? I did not mean pps w/ 64bytes packet. Didn't have time to measure it yet. I only saw that msk(4) and em(4) could accept 64bytes packets @1.4Mpps. I meant netperf -t TCP_STREAM with -s/-S/-m 65536 on an AMDX2 3600+ with 1GBytes ram in i386 mode. Best Regards, sephe -- Live Free or Die
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ea7b9c170806302205g6f11ab31k5ac05677369a5b3e>