Date: Wed, 1 Dec 2010 19:06:53 +0100 From: Vlad Galu <dudu@dudu.ro> To: freebsd-net@freebsd.org Subject: Re: igb dual-port adapter 1200Mbps limit - what to tune? Message-ID: <AANLkTi=omVK5u-1vZx799uV7%2B5=%2BoR2vjDJs=7X%2Bw7ZZ@mail.gmail.com> In-Reply-To: <20101201175401.GA69269@traktor.dnepro.net> References: <20101110110428.GA3505@traktor.dnepro.net> <20101201175401.GA69269@traktor.dnepro.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 1, 2010 at 6:54 PM, Eugene Perevyazko <john@dnepro.net> wrote: > On Wed, Nov 10, 2010 at 01:04:28PM +0200, Eugene Perevyazko wrote: >> >> I have a router running RELENG_7 with two dual-port igbs - igb0 and igb1= are on >> 82575 on intel s5520ur mb and igb2 and igb3 are on 82576 on ET dual-port= card. >> 82576 is in 8x slot. >> Main traffic flows from igb0+igb1 to igb2+igb3, less traffic goes back. >> There's no traffic flow in directions igb0 - igb1 and igb2 - igb3. >> >> There are vlans on all interfaces. >> >> igb0 and igb1 are outbound links. >> igb2 and igb3 are connected to switch. >> CPU is E5620@2.4GHz, 8 cores, irqs bound to different cores skipping HT = ones. >> Tried 2 queues and 1 queue per iface, neither hitting cpu limit. >> >> The problem is that traffic through igb2+igb3 is limited at around 1200M= bps Tx >> while I was hoping for 1600-1800Mbps Tx. >> > > I'd like to say that now this host is forwarding 1710 Mb/s @ 189 kpps in = one direction + 411 Mb/s @ 140 kpps in reverse direction (30 minutes averag= e). > The following changes were made: > =A0- no lagg in use > =A0- only one vlan left instead of 5 vlans > =A0- added motherboard module 'HP NC360T PCIe DP Gigabit Server Adapter (= n1e5132)' with 2 em interfaces (only one used) > =A0- 3 interfaces are connected to hosts with patchcords, not through swi= tch > =A0- hyperthreading turned off in bios > =A0- igb driver patched to reduce irq rate and make it tunable (patch fol= lows) > =A0- hw.igb.num_queues=3D4, dev.igb.*.enable_aim=3D0, dev.igb.*.default_i= ntrrate=3D4000 the last sysctl is added in patch) > =A0- igb queues manually repinned to different cores > =A0- ipfw rules minimized Can you please run a test with IPFW disabled? It's best to avoid using a firewall where throughput is the primary goal. > > igb driver used is 1.9.6/RELENG_7, igb.c version 1.3.2.12 > > Can't say for sure whether there is a key change or is it all changes sum= med up, > sorry. > > -- > Eugene Perevyazko > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > --=20 Good, fast & cheap. Pick any two.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=omVK5u-1vZx799uV7%2B5=%2BoR2vjDJs=7X%2Bw7ZZ>