Subject: CVS commit: src/sys/nfs
To: None <source-changes@NetBSD.org>
From: Jonathan Stone <jonathan@netbsd.org>
List: source-changes
Date: 12/06/2003 02:48:35
Module Name: src
Committed By: jonathan
Date: Sat Dec 6 02:48:35 UTC 2003
Modified Files:
src/sys/nfs: nfs.h
Log Message:
Commit message for previous revision to sys/nfs/nfs.h:
Increase NFS_MAXRAHEAD to 32. With 32k read or write requests, that
amounts to 1 Mbyte of read-ahead, enough to cover about 10 ms latency
at gigabit Ethernet speeds. Increase the table of nfsiod kthreads
(NFS_MAXASYNCDAEMON) from 20 to 128, to match the raised value of
NFS_MAXRAHEAD. (Making the limit dynamic requires replacing the
compile-time array with a dynamic structure.)
Add a comment explaining that each read-ahead requires an I/O thread.
Wrap both parameters with an #ifdef <parameter>/#endif, to allow
hand-tuned values or (later) a kernel config-file option override.
To generate a diff of this commit:
cvs rdiff -r1.43 -r1.44 src/sys/nfs/nfs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.