summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-09-17 18:31:52 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-09-17 18:31:52 +0000
commitdf0919718c4a19aeb0dcffc3df0d246f121f25a3 (patch)
tree6b3e61632e5f45ccbc195a680b19856de26ab58c /sys/arch/mips64/include
parent5f7c0a1cd724a2dae774565caac2b75678372de4 (diff)
Crank MSIZE and NMBCLUSTERS, per other 64bit arches.
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r--sys/arch/mips64/include/param.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/arch/mips64/include/param.h b/sys/arch/mips64/include/param.h
index 35779a1f785..d4be80923e1 100644
--- a/sys/arch/mips64/include/param.h
+++ b/sys/arch/mips64/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.4 2004/09/09 22:21:41 pefo Exp $ */
+/* $OpenBSD: param.h,v 1.5 2004/09/17 18:31:51 miod Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -107,16 +107,12 @@
* clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
* of the hardware page size.
*/
-#define MSIZE 128 /* size of an mbuf */
+#define MSIZE 256 /* size of an mbuf */
#define MCLSHIFT 11
#define MCLBYTES (1 << MCLSHIFT) /* enough for whole Ethernet packet */
#define MCLOFSET (MCLBYTES - 1)
#ifndef NMBCLUSTERS
-#ifdef GATEWAY
-#define NMBCLUSTERS 2048 /* map size, max cluster allocation */
-#else
-#define NMBCLUSTERS 1024 /* map size, max cluster allocation */
-#endif
+#define NMBCLUSTERS 4096 /* map size, max cluster allocation */
#endif
#define MSGBUFSIZE 8192