On Fri, Oct 03, 2008 at 01:34:51AM +0800, Roy M. wrote: > Hello, > > On Fri, Oct 3, 2008 at 1:17 AM, J. Bruce Fields <bfields@xxxxxxxxxxxx> wrote: > > On Fri, Oct 03, 2008 at 12:49:50AM +0800, Roy M. wrote: > > > > If you're just doing big I/O to a few files, that may be all you care > > about. If you're doing something more complicated then the situation > > isn't well understood yet. > > > > Do you mean for few files with large size stored in NFS, then maybe > not benefit too much from NFS4, while if I have many files, need to > fetch to client in parallel and in high concurrency, then it might be > a good choice? (in fact, I also heard client side caching in v4 is > better) I doubt the pattern of I/O really matters much--it's the opens and closes themselves that matter. (In v3, close-to-open cache consistency requires that the client always fetch file attributes from the server on an open. That means open() is always going to take at least the ping time to the server. In v4 in some situations the client can do the open with no call to the server at all--by comparison such an open is almost instantaneous. If you're doing a ton of opens all in a row, that may make a difference.) --b. > > > Besides, can I say v4 is the recommended to be used in production right now? > > Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html