summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nfsd
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-01-23 21:34:00 +0000
committerrwatson <rwatson@FreeBSD.org>2005-01-23 21:34:00 +0000
commitdc38a284ac76d0405dd69ea5923fb2b67040551c (patch)
treeb97d14066c05d2cefa0cfec9cc233fe86a8f97b2 /usr.sbin/nfsd
parent8a8bdb081089ca2d939a031c1b0d502f25c8d2e8 (diff)
downloadFreeBSD-src-dc38a284ac76d0405dd69ea5923fb2b67040551c.zip
FreeBSD-src-dc38a284ac76d0405dd69ea5923fb2b67040551c.tar.gz
Bump the default maximum on nfsd processes from 20 to 256. Real-world
measurements suggest that higher degrees of parallelism for large numbers of clients help performance substantially. Submitted by: Eric Anderson <anderson at centtech dot com>
Diffstat (limited to 'usr.sbin/nfsd')
-rw-r--r--usr.sbin/nfsd/nfsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nfsd/nfsd.c b/usr.sbin/nfsd/nfsd.c
index 13d1084..7157896 100644
--- a/usr.sbin/nfsd/nfsd.c
+++ b/usr.sbin/nfsd/nfsd.c
@@ -77,7 +77,7 @@ int debug = 1;
int debug = 0;
#endif
-#define MAXNFSDCNT 20
+#define MAXNFSDCNT 256
#define DEFNFSDCNT 4
pid_t children[MAXNFSDCNT]; /* PIDs of children */
int nfsdcnt; /* number of children */
OpenPOWER on IntegriCloud