Source-Changes archive

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

NetBSD master CVS tree commits



thorpej
Mon Dec  2 14:55:49 PST 1996
Update of /cvsroot/src/sys/nfs
In directory netbsd1:/var/slash-tmp/cvs-serv24372

Modified Files:
        nfs.h nfs_bio.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c 
        nfs_vnops.c nfsmount.h nfsnode.h 
Log Message:
NFS performance improvement from Doug Rabson/FreeBSD:

Improve the queuing algorithms used by NFS' asynchronous i/o.  The
existing mechanism uses a global queue for some buffers and the
vp->b_dirtyblkhd queue for others.  This turns sequential writes into
randomly ordered writes to the server, affecting both read and write
performance.  The existing mechanism also copes badly with hung
servers, tending to block accesses to other servers when all the iods
are waiting for a hung server.

The new mechanism uses a queue for each mount point.  All asynchronous
i/o goes through this queue which preserves the ordering of requests.
A simple mechanism ensures that the iods are shared out fairly between
active mount points.

Reviewed/integrated/approved by Frank van der Linden <fvdl%netbsd.org@localhost>




Home | Main Index | Thread Index | Old Index