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
4.2 distribution
[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
4406d4c
..
418fb9c
100644
(file)
--- a/
usr/src/sys/conf/param.c
+++ b/
usr/src/sys/conf/param.c
@@
-1,4
+1,4
@@
-/* param.c
4.14 82/09/18
*/
+/* param.c
6.1 83/07/29
*/
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
@@
-31,14
+31,19
@@
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;
-int ntext = 24 + MAXUSERS;
+#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;
-int nfile = 16 * (NPROC + 16 + MAXUSERS) / 10 + 32;
-int ncallout = 16 +
MAXUSERS
;
+int nfile = 16 * (NPROC + 16 + MAXUSERS) / 10 + 32
+ 2 * NETSLOP
;
+int ncallout = 16 +
NPROC
;
int nclist = 100 + 16 * MAXUSERS;
int nport = NPROC / 2;
int nmbclusters = NMBCLUSTERS;
int nclist = 100 + 16 * MAXUSERS;
int nport = NPROC / 2;
int nmbclusters = NMBCLUSTERS;
-#if
QUOTA
+#if
def
QUOTA
int nquota = (MAXUSERS * 9)/7 + 3;
int ndquot = (MAXUSERS*NMOUNT)/4 + NPROC;
#endif
int nquota = (MAXUSERS * 9)/7 + 3;
int ndquot = (MAXUSERS*NMOUNT)/4 + NPROC;
#endif
@@
-64,7
+69,7
@@
short *swsize;
int *swpf;
char *buffers;
struct cmap *cmap, *ecmap;
int *swpf;
char *buffers;
struct cmap *cmap, *ecmap;
-#if
QUOTA
+#if
def
QUOTA
struct quota *quota, *quotaNQUOTA;
struct dquot *dquot, *dquotNDQUOT;
#endif
struct quota *quota, *quotaNQUOTA;
struct dquot *dquot, *dquotNDQUOT;
#endif