X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/ff1a3ad7ab4540246762c6ab8460d9ef24aa6b14..795abf1316db53d4abdc5bff180f2b2376c5cfe4:/sys/conf/param.c diff --git a/sys/conf/param.c b/sys/conf/param.c index b98d1b2970..17c3314a27 100644 --- a/sys/conf/param.c +++ b/sys/conf/param.c @@ -1,3 +1,10 @@ +/* + * Copyright (c) UNIX System Laboratories, Inc. All or some portions + * of this file are derived from material licensed to the + * University of California by American Telephone and Telegraph Co. + * or UNIX System Laboratories, Inc. and are reproduced herein with + * the permission of UNIX System Laboratories, Inc. + */ /* * Copyright (c) 1980, 1986, 1989 Regents of the University of California. * All rights reserved. @@ -31,7 +38,7 @@ * SUCH DAMAGE. * * from: @(#)param.c 7.20 (Berkeley) 6/27/91 - * $Id: param.c,v 1.5 1994/01/21 09:55:52 davidg Exp $ + * $Id: param.c,v 1.9 1994/02/02 17:56:54 ache Exp $ */ #include "sys/param.h" @@ -74,14 +81,14 @@ int tick = 1000000 / HZ; #ifndef TICKADJ int tickadj = 240000 / (60 * HZ); /* can adjust 240ms in 60s */ #else -int tickadj = TICKADJ /* NTP users may prefer a smaller value */ +int tickadj = TICKADJ; /* NTP users may prefer a smaller value */ #endif struct timezone tz = { TIMEZONE, DST }; #define NPROC (20 + 16 * MAXUSERS) int maxproc = NPROC; -#define NTEXT (NPROC) /* actually the object cache */ -int vm_cache_max = NTEXT; -#define NVNODE (NPROC + NTEXT + 100) +#define NTEXT NPROC /* actually the object cache */ +int vm_cache_max = NTEXT / 2 + 16; +#define NVNODE (NPROC + NTEXT + 100 + 16) long desiredvnodes = NVNODE; int maxfdescs = MAXFDESCS; int maxfiles = 3 * (NPROC + MAXUSERS) + 80;