From ec6a825fe6f5dba4ad6682b7c8d47585ddf3bfdf Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 20 Sep 1999 17:06:01 +0000 Subject: kvm is larger; crank NMBCLUSTERS and NKMEMCLUSTERS --- sys/arch/i386/include/param.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'sys/arch/i386') 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 */ -- cgit v1.2.3