projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't penalize others for our stupidity
[unix-history]
/
usr
/
src
/
sys
/
conf
/
param.c
diff --git
a/usr/src/sys/conf/param.c
b/usr/src/sys/conf/param.c
index
dcdbb8e
..
bac56bb
100644
(file)
--- a/
usr/src/sys/conf/param.c
+++ b/
usr/src/sys/conf/param.c
@@
-1,4
+1,4
@@
-/* param.c 4.1
7
83/07/21 */
+/* param.c 4.1
8
83/07/21 */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
@@
-31,11
+31,14
@@
int tick = 1000000 / HZ;
struct timezone tz = { TIMEZONE, DST };
#define NPROC (20 + 8 * MAXUSERS)
int nproc = NPROC;
struct timezone tz = { TIMEZONE, DST };
#define NPROC (20 + 8 * MAXUSERS)
int nproc = NPROC;
-/* the +20 here is for all the lousy server processes */
-int ntext = 24 + MAXUSERS + 20;
+#ifdef INET
+#define NETSLOP 20 /* for all the lousy servers*/
+#else
+#define NETSLOP 0
+#endif
+int ntext = 24 + MAXUSERS + NETSLOP;
int ninode = (NPROC + 16 + MAXUSERS) + 32;
int ninode = (NPROC + 16 + MAXUSERS) + 32;
-/* the +40 here is for 20 server processes */
-int nfile = 16 * (NPROC + 16 + MAXUSERS) / 10 + 32 + 40;
+int nfile = 16 * (NPROC + 16 + MAXUSERS) / 10 + 32 + 2 * NETSLOP;
int ncallout = 16 + NPROC;
int nclist = 100 + 16 * MAXUSERS;
int nport = NPROC / 2;
int ncallout = 16 + NPROC;
int nclist = 100 + 16 * MAXUSERS;
int nport = NPROC / 2;