Date: Thu, 28 Apr 2011 14:00:37 -0400 From: Adam Stylinski <kungfujesus06@gmail.com> To: Jack Vogel <jfvogel@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: em0 performance subpar Message-ID: <20110428180037.GA1889@zephyr.snd-wireless.uc.edu> In-Reply-To: <BANLkTimRcAdO33AasTOMb%2BLSOjc1GwFe%2Bg@mail.gmail.com> References: <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> <11659E32824B4B1E91B6B219BDEF1234@multiplay.co.uk> <20110428160919.GE19362@ossumpossum.geop.uc.edu> <BANLkTimRcAdO33AasTOMb%2BLSOjc1GwFe%2Bg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 28, 2011 at 09:52:14AM -0700, Jack Vogel wrote: > Adam, >=20 > The TX ring for the legacy driver is small right now compared to em, try > this experiment, > edit if_lem.c, search for "lem_txd" and change EM_DEFAULT_TXD to 1024, see > what > that does, then 2048. >=20 > My real strategy with the legacy code was that it should stable, meaning = not > getting > a lot of changes... that really hasn't worked out over time. I suppose I'= ll > have to try and > give it some tweaks and let you try it. The problem with this code is it > technically supports > a huge range of old stuff we don't test any more, things I do might cause > other regressions :( >=20 > Oh well, let me know if increasing the TX descriptors helps. >=20 > Jack Jack, Is this the same thing as adjusting these values?: hw.em.rxd=3D4096 hw.em.txd=3D4096 If so I've maxed this out and it's not helping. I'll give it a shot on my = 8-STABLE box as it has a kernel I can play with. Setting the MTU to 1500 gave lower throughput. --=20 Adam Stylinski PGP Key: http://pohl.ececs.uc.edu/~adam/publickey.pub Blog: http://technicallyliving.blogspot.com --KsGdsel6WgEHnImy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQIcBAEBAgAGBQJNuatEAAoJED6sRHE6TvmnyGEP+QHVsRPiqYWC+R/2gm2c3v21 m3Jmrmx0V7LV34G2Cr4RUvNS4EEOsydhLl6TR+bQTB89ClHuYCgKoYV22a2dUxIT igKRyrq4rvCyz6CBwVM5iEdHA5iTt1Luv8kg2Y5NyCo71qij2Hz2Hc/3Q3hR6Su4 5eLJse0hzAvlw9ADEOPq+PejvXYlVRVck1ShnyA4mOvK/HFTtiW2gGHmHrJwDaKK CKywwJBI5uN4+0vMdHZU2y2HHbRJNXawnlGcdX7zmScZnNybIPxujVQ1jhGGPTiB jQl2LoiOcoasiOXf7F+aMsAMEbHHHKdYoe6N04ZBLwLVPd/rsWdsyzINnhCPyCO+ nqfn50ORTMJeGXtfvvyVrDsoHrXVg/z2GvnAVIYW8ukQNpOXPmCmGdK0jlyVjmE/ vSrstXLFcaPJbquvhVzkhxz4W6pnzgT50P4jZ9GxCgL7MC0RSG+TRR0UudnZlQ0P 7Hhw1OedPZpfTXConi33/X6z3g4JORqhSkV7zO9ZsmZIFMQt7/Ut2RqXhVzUvKZ+ +/np0KtZjaL17xarXlQ8k1ujpTtpbpbqv2tAkEF54pj5/4lN/iJfzVwh4PhQgFT5 GL1SafGfNvdY6tvNQjhBYpzNqg4PUyd41YRH6fvXOHISn3Tz7ehvOcmqHSKodqRp AAsMmTHjYl9LJn33XIZc =88yh -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110428180037.GA1889>