From 370eb237215cb13bc1125ff54689720ce018e098 Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Sat, 3 Sep 2016 14:25:28 +0000 Subject: 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@ --- sys/arch/hppa/include/param.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/hppa/include') diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h index 8c7d774d3f7..346b5bf7f9c 100644 --- a/sys/arch/hppa/include/param.h +++ b/sys/arch/hppa/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.45 2013/03/26 05:04:10 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.46 2016/09/03 14:25:27 bluhm Exp $ */ /* * Copyright (c) 1988-1994, The University of Utah and @@ -51,7 +51,7 @@ #define USPACE (UPAGES * PAGE_SIZE) /* total size of u-area */ #define USPACE_ALIGN 0 /* u-area alignment 0-none */ -#define NMBCLUSTERS 4096 /* map size, max cluster allocation */ +#define NMBCLUSTERS (4 * 1024) /* max cluster allocation */ #ifndef MSGBUFSIZE #define MSGBUFSIZE (2 * PAGE_SIZE) /* default message buffer size */ -- cgit v1.2.3