summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-09-20 17:06:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-09-20 17:06:01 +0000
commitec6a825fe6f5dba4ad6682b7c8d47585ddf3bfdf (patch)
tree91b31c494336671be7673158c1722a30c64ce942 /sys
parentbd6239619b9530a5bdf26a63898c4d24f9ec69e1 (diff)
kvm is larger; crank NMBCLUSTERS and NKMEMCLUSTERS
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/include/param.h10
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 */