DJA wrote:

It looks like the problem occurs with large files. The file on which

Actually, I'm copying from one Linux box to another via NFS.

Old versions of NFS don't support largefiles. This may very well be your problem.

First, make sure you're using at least NFS v.3. (add nfsvers=3 to mount options). If your server supports NFS v.4, specify the filesystem type as 'nfs4' and omit the nfsvers=3 option.

You also might want to enable NFS over TCP. (add tcp to mount options). This may or may not have any effect on performance.

Also, it's a good idea to increase the read size and write size blocks, as this will speed things up tremendously. 8k or 16k are good values. (add rsize=16384,wsize=16384 to mount options).

Also, check see if your rsync is compiled with largefile support:

rsync -vvv --version

Under 'Capabilities:' there should be listed '64-bit files' -- this is analogous to largefile support.

Good luck,
-kelsey


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to