lkml.org 
[lkml]   [2005]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: NFS2 question, help, pls!
From
Date
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 <trond.myklebust@fys.uio.no>

-
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/

\
 
 \ /
  Last update: 2005-04-13 00:40    [W:0.053 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site