Date: Tue, 1 Jul 2008 11:34:52 +0800 From: "Sepherosa Ziehau" <sepherosa@gmail.com> To: Paul <paul@gtcomm.net> Cc: freebsd-net@freebsd.org, Ingo Flaschberger <if@xip.at>, "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au>, "Support \(Rudy\)" <crapsh@monkeybrains.net> Subject: Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp] Message-ID: <ea7b9c170806302034p4b873be0k885ac174c0767100@mail.gmail.com> In-Reply-To: <4869A099.5070206@gtcomm.net> 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> <4869A099.5070206@gtcomm.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/1/08, Paul <paul@gtcomm.net> wrote: > I have been unable to even come close to livelocking the machine with the em > driver interrupt moderation. Yeah, system will not be livelocked. But even setting its imtimer to 4000, the overall system response is still worse than using polling @4000 with a 9402PT. > So that to me throws polling out the window. I tried 8000hz with polling I don't believe high polling rate will improve forwarding performance. I used to set polling rate to 2000hz, burst max to 750 and each burst to 60. > modified to allow 10000 burst and it makes no difference > in the amount of pps I can jam through.. It' seems to be limited by the > routing path in the kernel more than anything else. > > If a driver/hardware didn't support interrupt mitigation then it would > definitely lock the machine. So polling(4) still has its place. Best Regards, sephe -- Live Free or Die
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ea7b9c170806302034p4b873be0k885ac174c0767100>