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 <williamejs...@googlemail.com> wrote: > Hi All, > 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 duo > 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 10GbE, > or many recommendations, and wondered if anyone has already successfully > managed to tune freebsd with intel 10gbe nics, to gain a higher throughput? > 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-unsubscr...@freebsd.org" > _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"