diff options
author | 1999-09-20 17:06:00 +0000 | |
---|---|---|
committer | 1999-09-20 17:06:00 +0000 | |
commit | 3290d505f2e53d7381079f1f8b98b46640ba959a (patch) | |
tree | 83b1b40411b08f6b0babbc9d9b655812bc132b7b | |
parent | crank default limits (diff) | |
download | wireguard-openbsd-3290d505f2e53d7381079f1f8b98b46640ba959a.tar.xz wireguard-openbsd-3290d505f2e53d7381079f1f8b98b46640ba959a.zip |
kvm is larger; crank NMBCLUSTERS and NKMEMCLUSTERS
-rw-r--r-- | sys/arch/i386/include/param.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/arch/i386/include/param.h b/sys/arch/i386/include/param.h index f58b0729070..86f6af5ee58 100644 --- a/sys/arch/i386/include/param.h +++ b/sys/arch/i386/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.7 1999/09/17 16:52:05 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.8 1999/09/20 17:06:00 deraadt Exp $ */ /* $NetBSD: param.h,v 1.29 1996/03/04 05:04:26 cgd Exp $ */ /*- @@ -101,18 +101,14 @@ #define MCLOFSET (MCLBYTES - 1) /* offset within a m_buf cluster */ #ifndef NMBCLUSTERS -#ifdef GATEWAY -#define NMBCLUSTERS 1024 /* map size, max cluster allocation */ -#else -#define NMBCLUSTERS 512 /* map size, max cluster allocation */ -#endif +#define NMBCLUSTERS 2048 /* map size, max cluster allocation */ #endif /* * Size of kernel malloc arena in CLBYTES-sized logical pages */ #ifndef NKMEMCLUSTERS -#define NKMEMCLUSTERS (8 * 1024 * 1024 / CLBYTES) +#define NKMEMCLUSTERS (16 * 1024 * 1024 / CLBYTES) #endif /* pages ("clicks") to disk blocks */ |