diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-01-23 21:34:00 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-01-23 21:34:00 +0000 |
commit | dc38a284ac76d0405dd69ea5923fb2b67040551c (patch) | |
tree | b97d14066c05d2cefa0cfec9cc233fe86a8f97b2 /usr.sbin/nfsd/nfsd.c | |
parent | 8a8bdb081089ca2d939a031c1b0d502f25c8d2e8 (diff) | |
download | FreeBSD-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/nfsd.c')
-rw-r--r-- | usr.sbin/nfsd/nfsd.c | 2 |
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 */ |