Re: NFS2 question, help, pls!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ty den 12.04.2005 Klokka 15:22 (-0400) skreiv Xin Zhao:
> I have very very fast network and is testing NFS2 over this kind of
> network. I noticed that for standard work like read/write a large
> file,  compile kernels, the performance of NFS2 is good. But if I try
> to decompress kernel tar file. The standard ext2 takes 28s while NFS2
> takes 81s. Also, if I remove the kernel source code tree, ext2 takes
> 19s but NFS2 takes 44s.
> 
> Why?  (You can assume that network is very fast. )  Is there any
> improvements in NFS3/4 on this issue? If so, how?

NFSv2 requires the server to immediately write all data to disk before
it can reply to the RPC write request (synchronous writes).

NFSv3 and v4 both have the ability to cache writes safely. The following
paper http://www.netapp.com/ftp/NFSv3_Rev_3.pdf has full details on how
and why.

Cheers,
  Trond

-- 
Trond Myklebust <[email protected]>

-
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]
  Powered by Linux