Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2011 14:22:29 -0700
From:      Jack Vogel <jfvogel@gmail.com>
To:        Adam Stylinski <kungfujesus06@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: em0 performance subpar
Message-ID:  <BANLkTikLb7k36mN3ktRGdm4mQyehHB-ONg@mail.gmail.com>
In-Reply-To: <20110428180037.GA1889@zephyr.snd-wireless.uc.edu>
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> <20110428180037.GA1889@zephyr.snd-wireless.uc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
My validation engineer set things up on an 8.2 REL system, testing the
equivalent of
HEAD, and he reports performance is fine. This is without any tweaks from
what's
checked in.

Increasing the descriptors to 4K is way overkill and might actually cause
problems,
go back to default.

He has a Linux test client, what are you transmitting to?

Jack


On Thu, Apr 28, 2011 at 11:00 AM, Adam Stylinski <kungfujesus06@gmail.com>wrote:

> On Thu, Apr 28, 2011 at 09:52:14AM -0700, Jack Vogel wrote:
> > 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
> Jack,
>
> Is this the same thing as adjusting these values?:
>
> hw.em.rxd=4096
> hw.em.txd=4096
>
> 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.
>
> --
> Adam Stylinski
> PGP Key: http://pohl.ececs.uc.edu/~adam/publickey.pub
> Blog: http://technicallyliving.blogspot.com
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikLb7k36mN3ktRGdm4mQyehHB-ONg>