summaryrefslogtreecommitdiff
path: root/sys/arch/mips64
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2016-09-03 14:25:28 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2016-09-03 14:25:28 +0000
commit370eb237215cb13bc1125ff54689720ce018e098 (patch)
treee7abfb850f7773d53f38d571eaf5d8d8369ae2dc /sys/arch/mips64
parenta70783600a28e32438b87802494d59ad22051fab (diff)
Increase the number of mbufs on most architectures. This is based
on a guess how much memory a typical machine has. If the value is too high, users may run out of kernel memory. Then we will have to adjust this again. OK claudio@ deraadt@
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r--sys/arch/mips64/include/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mips64/include/param.h b/sys/arch/mips64/include/param.h
index d57eb466e03..19363ad1643 100644
--- a/sys/arch/mips64/include/param.h
+++ b/sys/arch/mips64/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.34 2015/11/02 20:13:45 miod Exp $ */
+/* $OpenBSD: param.h,v 1.35 2016/09/03 14:25:27 bluhm Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -62,7 +62,7 @@
#define USPACE_ALIGN (2 * PAGE_SIZE) /* align to an even TLB boundary */
#endif
-#define NMBCLUSTERS 4096 /* map size, max cluster allocation */
+#define NMBCLUSTERS (8 * 1024) /* max cluster allocation */
#ifndef MSGBUFSIZE
#if PAGE_SHIFT > 12