Date: Thu, 28 Apr 2011 11:23:43 -0400 From: Adam Stylinski <kungfujesus06@gmail.com> To: freebsd-net@freebsd.org Subject: Fwd: em0 performance subpar Message-ID: <BANLkTina_6hQM3Zi3S4MfPS6YSpqSxZiRA@mail.gmail.com> In-Reply-To: <20110428152141.GA19362@ossumpossum.geop.uc.edu> References: <20110428072946.GA11391@zephyr.adamsnet> <4DB965D8.7090906@sentex.net> <B04EE072E7F04402AC289EFBF55E1D05@multiplay.co.uk> <20110428141339.GD2800@ossumpossum.geop.uc.edu> <EE019B72D65E417BABD7022E4DF10357@multiplay.co.uk> <20110428144513.GF2800@ossumpossum.geop.uc.edu> <41EE7AB832F24194AC8730544E1C2EB7@multiplay.co.uk> <20110428152141.GA19362@ossumpossum.geop.uc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--00151747b8d8860d8404a1fc24e6 Content-Type: text/plain; charset=ISO-8859-1 ---------- Forwarded message ---------- From: Adam Stylinski <kungfujesus06@gmail.com> Date: Thu, Apr 28, 2011 at 11:21 AM Subject: Re: em0 performance subpar To: Steven Hartland <killing@multiplay.co.uk> On Thu, Apr 28, 2011 at 04:08:31PM +0100, Steven Hartland wrote: > You said your testing with iperf, what settings are you using? > > Flow control is not flowtable no, which could still result in > a switch "issue" if linux and freebsd are setting different > values by default, similarly with duplex / speed, I would recommend > autoneg if your not already using. > > Have you tried without tso, rxcsum, txcsum & lro disabled? > > > ----- Original Message ----- > From: "Adam Stylinski" <kungfujesus06@gmail.com> > To: "Steven Hartland" <killing@multiplay.co.uk> > Cc: <freebsd-net@freebsd.org> > Sent: Thursday, April 28, 2011 3:45 PM > Subject: Re: em0 performance subpar > > I was using the default value for maxsockbuf, doesn't seem to hurt or help. The only value you've listed that I didn't have > tweaked to a comparable value already was the nmbclusters, changing it seems to have no effect, though. vmstat -i should display > my interrupts, which I don't think are particularly high. I am most definitely not CPU bound (utilization shows no hot CPUs), I > have 16GB of memory and plenty allocated to the kernel, and I believe flow control is enabled (should it not be?): > net.inet.flowtable.enable: 1 > > It's a 16 port netgear gigabit prosafe switch, and it's not likely to be the problem (like I said, the Linux hosts have no issues > with the same card). > > > ================================================ > This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. > > In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 > or return the E.mail to postmaster@multiplay.co.uk. > Just using the default settings with iperf. Netblast is giving me similar results. Disabling TCP checksum offloading (transmit and receive) and large receive offload have zero effect. -- Adam Stylinski PGP Key: http://pohl.ececs.uc.edu/~adam/publickey.pub Blog: http://technicallyliving.blogspot.com --00151747b8d8860d8404a1fc24e6 Content-Type: application/pgp-signature Content-Disposition: attachment Content-Transfer-Encoding: base64 X-Attachment-Id: 256c4d377f3bd414_0.1 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjIuMC4xNyAoRnJl ZUJTRCkKCmlRSWNCQUVCQWdBR0JRSk51WVlGQUFvSkVENnNSSEU2VHZtbkppWVFBTXlHMytFZ0s2 UWtpdlpzNFlJUnJGTHMKNTRDbGpOWnJya3M3aHUyRWFUWUt3Wko0dGRpUEtadlg4eE0yWEU3NXZp Zzh3ZzBnV3htMEpvQ3lOaW9uM25pYgo3UVFUeGE4bUJnZkE5NGlxTTRoaFhhU05QRXFMRUF3eG1H NGgzMlovODM4ZGlUN3o2ZUI1aWJQTjYzMURJNTJ0CkRwMytJZHhTdjNnZTdNZjM1aTRJTXdaRzJX eWc3L1UzUFFoOHJ6K2Flayt6K2ZLZmtHa3lVSDBHVVNxVHpDY2QKNTZEak1YZkdoUFllcVdzQ3Fp ZHNIWFE3WVRVb1RPcTl1REJnRmVMQ3JTUjlCMW1ELzBhU0VIVzdocUhwVGJ1UQp3SGQ4eU95enA1 Z1J3Z3FCSUZRYUxPZHJPRy90M1g5VGZTVzQvOEhpUjZXUFByYjhydTF4UG5JTDJndE9OQ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