TCP Reassembly Issues
Jeremy Chadwick
freebsd at jdc.parodius.com
Sat Nov 26 01:47:14 UTC 2011
On Fri, Nov 25, 2011 at 01:05:06PM -0500, George Mitchell wrote:
> On 11/24/11 21:00, Jeremy Chadwick wrote:
> >[...]
> >If none of this solves the problem, then I consider this a priority 0
> >blocker (read: "all hands on deck") issue with the IP stack in FreeBSD
> >9.x and will need immediate attention.
> >
> >I would strongly recommend a developer or clueful end-user begin
> >tracking down who committed all of these bits and CC them into the
> >thread. I would start by looking who implemented the
> >net.inet.tcp.reass.cursegments sysctl, because that isn't in RELENG_8 at
> >all.
> >
>
> I've tried out the 9.0 release candidates, and what I notice is that for
> a few minutes after the system starts, I get wonderful NFS read
> throughput (7+ MB/s over a 100 megabit interface) -- more than twice as
> fast as 7.n or 8.n on the same hardware -- quickly degrading to abysmal
> (less than 0.5 MB/s). Is this possibly related to the problem under
> discussion? -- George Mitchell
>
> P.S. A lot of other 9.0 features look very nice indeed!
You could try forcing UDP NFS (assuming this is possible; I would assume
on the server side "nfsd -u" is needed and on the client side use of the
mntudp option would be needed in /etc/fstab; see mount_nfs(8))
description that others have given indicate the problem being discussed
affects purely TCP.
Regarding NFS performance in general -- and this is in no way shape or
form a slam against Rick -- it would be good to get some actual Linux
vs. FreeBSD numbers when it comes to NFS performance, including what
protocols are used (TCP vs. UDP) and NFS versions are used (3 vs. 4).
I have a gut feeling NFS on Linux is significantly faster, and it would
be really helpful to find out how/why.
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, US |
| Making life hard for others since 1977. PGP 4BD6C0CB |
More information about the freebsd-stable
mailing list