On Tue, 2012-05-08 at 08:45 -0400, J. Bruce Fields wrote: > On Tue, May 08, 2012 at 12:06:59PM +0000, Daniel Pocock wrote: > > > > > > On 07/05/12 17:18, J. Bruce Fields wrote: > > > How many file creates per second? > > > > > > > I ran: > > nfsstat -s -o all -l -Z5 > > and during the test (unpacking the tarball), I see numbers like these > > every 5 seconds for about 2 minutes: > > > > nfs v3 server total: 319 > > ------------- ------------- -------- > > nfs v3 server getattr: 1 > > nfs v3 server setattr: 126 > > nfs v3 server access: 6 > > nfs v3 server write: 61 > > nfs v3 server create: 61 > > nfs v3 server mkdir: 3 > > nfs v3 server commit: 61 > > OK, so it's probably creating about 60 new files, each requiring a > create, write, commit, and two setattrs? > > Each of those operations is synchronous, so probably has to wait for at > least one disk seek. About 300 such operations every 5 seconds is about > 60 per second, or about 16ms each. That doesn't sound so far off. > > (I wonder why it needs two setattrs?) It is an untar workload, so it needs to reset the atime/mtime after writing the file. Note that the above workload is exactly the one I was targeting with the unstable file creation draft: http://tools.ietf.org/html/draft-myklebust-nfsv4-unstable-file-creation-01 I'm going to try pushing that again for NFSv4.3... -- 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�����٥