Messages in this thread | | | Subject | Re: [NFS] NFS insanity | From | Trond Myklebust <> | Date | 22 Jun 2001 14:58:53 +0200 |
| |
>>>>> " " == Christian Robottom Reis <kiko@async.com.br> writes:
> anthem:/mondo /mondo nfs > defaults,rsize=3072,wsize=3072,suid,async 0 0
> Async is on, but it's there by default IIRC, right?
Nope. The 'async' option is meaningless to the NFS client. Should make no difference though, as it's never checked.
I'm a bit surprised about your choice or rsize and wsize. Although it shouldn't make any difference, 3072 is not a natural size on an x86 machine. You usually want something that divides PAGE_CACHE_SIZE=4096. Furthermore, on the Linux NFS client, any value < PAGE_CACHE_SIZE means that you use synchronous writes (deferred writes are enabled with wsize=4096 or greater). The advantage in this case though, is that it means any error message that was returned by the server was guaranteed to have been received by 'cp', because the page was written to the server immediately.
If I were you therefore, I'd use ethereal or tcpdump to sniff the NFS traffic and check that the file indeed gets reproduced correctly on the wire.
Cheers, Trond - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |