Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2010 18:30:44 +0800
From:      Jia-Shiun Li <jiashiun@gmail.com>
To:        Stephen Sanders <ssanders@softhammer.net>
Cc:        Brandon Gooch <jamesbrandongooch@gmail.com>, freebsd-performance@freebsd.org, Jack Vogel <jfvogel@gmail.com>
Subject:   Re: FreeBSD 8.0 ixgbe Poor Performance
Message-ID:  <g2q1d6d20bc1004220330u5f4c61cbne8f8646e82a4a0cb@mail.gmail.com>
In-Reply-To: <4BCF6F52.7030802@softhammer.net>
References:  <4BCF0C9A.10005@softhammer.net> <y2y179b97fb1004210804s6ca12944qf194f3a6d8c33cfe@mail.gmail.com> <x2j2a41acea1004211113kf8e4de95s9ff5c1669156b82c@mail.gmail.com>  <4BCF5783.9050007@softhammer.net> <v2t2a41acea1004211353nbfc4e68cy6dfaae6f47f86034@mail.gmail.com> <4BCF6F52.7030802@softhammer.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 22, 2010 at 5:34 AM, Stephen Sanders
<ssanders@softhammer.net> wrote:
> According to pciconf, the card is a "82598EB 10 Gigabit AF Dual Port
> Network Connection".
>
> It looks to me like the card is plugged into a 4xPCIe slot. =C2=A0I'm sur=
e
> this means we're not going to make the 10Gbps but I would imagine that
> we should get north of 5 Gbps.

Some suggestions:

- 'pciconf -lc' too can be used to check pcie link width. Look for
pcie capability in the output.
- IIRC the kernel auto adjusts TCP window size and one does not need
to set it manually.
- Set greater MTU size than default 1500. It helps reduce CPU loading.
- Do not use file as source or destination unless you are sure disks
and I/O paths are fast enough. 10Gbe means 1000+MB/s. Only storage
beasts can handle that. BTW, is FreeBSD able to cache and buffer them
all in memory?
- Finally, use 'top' to make sure nothing is eating up all CPU cycles.

Cheers,
Jia-Shiun.



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