Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2011 18:28:18 +0200
From:      Kip Macy <kip.macy@gmail.com>
To:        William Salt <williamejsalt@googlemail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Intel 10GbE Tuning under freebsd
Message-ID:  <BANLkTinbLSWK6aUokP1v%2B0amiN1vmjYf4Q@mail.gmail.com>
In-Reply-To: <BANLkTi=u1O=sfHPrZnhecF4=u=zMAwNWQw@mail.gmail.com>
References:  <BANLkTi=u1O=sfHPrZnhecF4=u=zMAwNWQw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Four very quick points:

- Enabling flowtable can help provided you don't have a large (greater
than a few thousand) number of peers.
- I have a patch under review to cache the rtentry (L3) and llentry
(L2) in the inpcb for TCP connections, which improves scaling at high
packet rates.
- You'll want to ensure that the number of transmit and receive queues
is getting configured properly (at least one per core up to the
maximum number supported by the cards)
- If you have very large numbers of connections you'll want to
increase the size of the TCB hash, to dramatically reduce the lookup
times when receiving packets.


I hope that helps a little bit.

Cheers,
Kip

On Thu, May 19, 2011 at 3:52 PM, William Salt
<williamejsalt@googlemail.com> wrote:
> Hi All,
> =A0 =A0 =A0 =A0 I have just got a couple of 10GbE intel X520-DA2 cards to=
 test. Im
> running freebsd 8.1 on a super micro intel xeon server, and a hp core 2 d=
uo
> workstation, both machines have 4gb of ram.
> Both are attached via sfp+ cables to a brocade turbo iron switch, which
> simply has jumbo frames enabled.
>
> Initial testing was pretty basic, i simply enabled jumbo frames, and
> increased max send/recv buffer to 16MB, which should be more than enough.
> I then ran iperf and managed to get approximately 5gbps, i was expecting
> around 8.5gbps.
> However, i realise that the ix driver probably needs to be tuned, as well=
 as
> the OS.
>
> After a bit of googling, i cant find a tuning guide under freebsd for 10G=
bE,
> or many recommendations, and wondered if anyone has already successfully
> managed to tune freebsd with intel 10gbe nics, to gain a higher throughpu=
t?
> If so, has anyone got any tips, or sample configs?
>
> Thanks in advance
> Will
> _______________________________________________
> 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"
>



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