--- On Mon, 4/4/11, Chuck Lever <chuck.lever@xxxxxxxxxx> wrote: > I suspect this is a result of the POSIX requirement > that stat(2) must return mtime and size that reflects the > very latest write to a file. To meet this requirement, > the client flushes all dirty data for a file before > performing the GETATTR. > > The Linux VM allows a large amount of dirty data > outstanding when writing a file. This means it could > take quite a while before that GETATTR can be done. I've done some more benchmarking, and in my case writes appear to *not* be the culprit. Having the HPC farm only reading files (with noatime set everywhere, of course) actually makes "ls -l" over NFS slightly ~slower~. Having the HPC farm only reading files that all fit in the server's cache makes "ls -l" over NFS yet slower. (I watched iostat while this was running to make sure that nothing was being written to or read from disk.) So I've eliminated the disk as a bottleneck, and (as per my earlier emails) I've eliminated the filesystem and VM system. It really does look at this point like nfsd is the choke point. Andrew -- 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