Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs Commit message for previous revision to sys/nfs/nfs.h:
details: https://anonhg.NetBSD.org/src/rev/fd29b2c0615a
branches: trunk
changeset: 556017:fd29b2c0615a
user: jonathan <jonathan%NetBSD.org@localhost>
date: Sat Dec 06 02:48:35 2003 +0000
description:
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.
diffstat:
sys/nfs/nfs.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (9 lines):
diff -r bb54ea23432c -r fd29b2c0615a sys/nfs/nfs.h
--- a/sys/nfs/nfs.h Sat Dec 06 02:43:17 2003 +0000
+++ b/sys/nfs/nfs.h Sat Dec 06 02:48:35 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs.h,v 1.43 2003/12/06 02:43:17 jonathan Exp $ */
+/* $NetBSD: nfs.h,v 1.44 2003/12/06 02:48:35 jonathan Exp $ */
/*
* Copyright (c) 1989, 1993, 1995
* The Regents of the University of California. All rights reserved.
Home |
Main Index |
Thread Index |
Old Index