Re: NFS: low read/stat performance on small files

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

 



On Thu, 2012-03-29 at 08:52 -0700, Kevin Graham wrote:
> On Mar 23, 2012, at 5:16 AM, Myklebust, Trond wrote:
> 
> > All these tasks have to be done in series (you cannot do them in parallel), and so the
> > latency of each task is limited by the round-trip time to the server.
> 
> 
> Will the v4 client at least collapse them into a single compound op?
> 

Where possible, yes, but there is plenty of stuff where the NFS client
simply doesn't have enough information to do that. For instance, we
don't yet have the capability in the VFS to ask NFS to look up several
path components at the same time.

Furthermore, some of these things are separate system calls. The
filesystem can't just assume that open(O_RDONLY) means that we should
start read ahead, and then close the file, so I don't ever see us being
able to collapse OPEN+READ+CLOSE into a single compound.

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com

��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux