Bad performance of 7.0 nfs client with Solaris nfs server
Alfred Perlstein
alfred at freebsd.org
Wed Feb 20 21:20:54 UTC 2008
* Chuck Swiger <cswiger at mac.com> [080220 10:35] wrote:
> Hi--
>
> On Feb 20, 2008, at 3:23 AM, Valerio Daelli wrote:
> > 99904 total packets received
> [ ... ]
> >
> > 61441 fragments received
>
> [ ... ]
> > 34819 output datagrams fragmented
> > 208914 fragments created
>
> Take a look at the level of packet fragmentation you are encountering;
> yes, this is expected and things will work but there is extra latency
> added when the IP stack has to reassemble packets before the data can
> be delivered. Try setting the NFS rsize/wsize to 1024 or perhaps 1400
> and see whether that improves performance.
>
> Or, if your switch and NICs support it, see whether you can get Gb
> Ethernet jumbo frames working so that you don't have to fragment for
> 2K or 4K data packets....
TCP mounts do not have this problem. You can safely use
32k or higher sizes with TCP without fragmentation.
-Alfred
More information about the freebsd-performance
mailing list