Justin Piszcz wrote:
And I am using UDP, not TCP.
NFS Version 3.
You may able to specify rsize and wsize of 65536 with NFS Version 3 running
over UDP, but it is guaranteed not to work if either the client or the
server attempts
a 64K transfer.
The problem is that UDP is limited to a 64K datagram. This datagram
must hold
the data, some NFS protocol data structures, and some RPC data
structures. This
exceeds the 64K limit. RPC over UDP will not allow the use of multiple UDP
datagrams, so RPC over UDP is limited to less than 64K payloads. RPC over
TCP will allow larger operations because there is no such single
datagram limit.
You could specify 56K or 60K transfer sizes if you wanted to stay at a
multiple
of 8K or 4K, but there doesn't seem to be much point. The 32K number was
chosen because it was the largest power of 2 below 64K and seems to work
pretty well in most circumstances.
In general, I wouldn't recommend mucking with the read/write transfer sizes
unless you really know what you are doing and understand the target
environment
very well.
ps
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]