diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2007-03-12 19:25:59 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2007-03-12 19:25:59 +0000 |
commit | e2accbecd55c27c9a1a2365893c0f5d93219d012 (patch) | |
tree | ca0b2751f85606cf94b365f4b6aaa821bfd43ddd /sys/conf | |
parent | b570921c68c222dc3b999a7bd7230170676eaa53 (diff) |
better desiredvnodes not based on maxusers; pedro@ deraadt@ ok
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/param.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/conf/param.c b/sys/conf/param.c index ed72c4fa57e..558518c7047 100644 --- a/sys/conf/param.c +++ b/sys/conf/param.c @@ -1,4 +1,4 @@ -/* $OpenBSD: param.c,v 1.24 2007/02/14 16:47:04 mickey Exp $ */ +/* $OpenBSD: param.c,v 1.25 2007/03/12 19:25:58 mickey Exp $ */ /* $NetBSD: param.c,v 1.16 1996/03/12 03:08:40 mrg Exp $ */ /* @@ -84,9 +84,6 @@ int tickadj = 240000 / (60 * HZ); /* can adjust 240ms in 60s */ struct timezone tz = { TIMEZONE, DST }; #define NPROC (20 + 16 * MAXUSERS) int maxproc = NPROC; -#define NTEXT (80 + NPROC / 8) /* actually the object cache */ -#define NVNODE (NPROC * 2 + NTEXT + 100) -int desiredvnodes = NVNODE; int maxfiles = 3 * (NPROC + MAXUSERS) + 80; int nmbclust = NMBCLUSTERS; |