Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2011 09:52:14 -0700
From:      Jack Vogel <jfvogel@gmail.com>
To:        Adam Stylinski <kungfujesus06@gmail.com>
Cc:        freebsd-net@freebsd.org, Steven Hartland <killing@multiplay.co.uk>
Subject:   Re: em0 performance subpar
Message-ID:  <BANLkTimRcAdO33AasTOMb%2BLSOjc1GwFe%2Bg@mail.gmail.com>
In-Reply-To: <20110428160919.GE19362@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> <11659E32824B4B1E91B6B219BDEF1234@multiplay.co.uk> <20110428160919.GE19362@ossumpossum.geop.uc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Adam,

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.

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 :(

Oh well, let me know if increasing the TX descriptors helps.

Jack



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimRcAdO33AasTOMb%2BLSOjc1GwFe%2Bg>