Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2011 14:06:52 -0500 (EST)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        george+freebsd@m5p.com
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Re; NFS performance
Message-ID:  <70510313.18875.1294600012817.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <201101091838.p09Icfdo010086@m5p.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> It has been suggested that I move this thread to freebsd-stable. The
> thread so far (deficient NFS performance in FreeBSD 8):
> 
> http://lists.freebsd.org/pipermail/freebsd-hackers/2011-January/034006.html
> 
> I updated my kernel to FreeBSD 8.2-PRERELEASE. This improved my
> throughput, but still not to the level I got from 7.3-STABLE. Here's
> an updated table from my original message:
> 
> Observed bytes per second (dd if=filename of=/dev/null bs=65536):
> Source machine: mattapan scollay sullivan
> Destination machine:
> wonderland/7.3-STABLE 870K 5.2M 1.8M
> wonderland/8.1-STABLE 496K 690K 420K
> wonderland/8.2-PRERELEASE 800K 1.2M 447K
> 
> Furthermore, I was still able to induce the NFS "server not
> responding"
> message with 8.2-PRERELEASE. So I applied the patch from Rick Macklem.
> The throughput did not change, but I haven't seen the NFS "server not
> responding" message yet.

So, did the patch get rid of the 1min + stalls you reported earlier?

Beyond that, all I can suggest is trying to fiddle with some of the
options on the net device driver, such as rxcsum, txcsum and tso.
(I think tso has had some issues for some drivers, but I don't know
 any specifics.) When I've seen poor NFS perf. it has usually been a
problem at the network device driver level. (If you have a different
kind of network card handy, you could try swapping them. Basically
one with a different net chipset so that it uses a different net device
driver.)

rick



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