X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/08b0f53ef793530362d3f3d6858993caa4a874e0..ab5b52ea5dd7c9aa334113590bb6351e63241d0e:/usr/src/sys/conf/param.c?ds=inline diff --git a/usr/src/sys/conf/param.c b/usr/src/sys/conf/param.c index dcdbb8e6a4..bac56bbe69 100644 --- a/usr/src/sys/conf/param.c +++ b/usr/src/sys/conf/param.c @@ -1,4 +1,4 @@ -/* param.c 4.17 83/07/21 */ +/* param.c 4.18 83/07/21 */ #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; -/* 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; -/* 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;