From cc95cb9957fd3b32421cbfe2e99e1781d61bf575 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Fri, 14 Sep 2018 13:58:21 +0000 Subject: Unify and bump some of the NMBCLUSTERS defines. Some archs had it set to 4MB which is far too low especially when the platform is able to run MP. New limits are, amd64 = 256M; arm64, mips64, sparc64 = 64M; alpha, arm, hppa, i386, powerpc = 32M; m88k, sh = 8M Still rather conservative numbers but much better than before. At least some hangs of arm64 build boxes was caused by this. OK kettenis@, visa@ --- sys/arch/arm64/include/param.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/arm64/include') diff --git a/sys/arch/arm64/include/param.h b/sys/arch/arm64/include/param.h index e64007d2ee7..06eefdee8ec 100644 --- a/sys/arch/arm64/include/param.h +++ b/sys/arch/arm64/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.5 2018/09/08 20:12:54 claudio Exp $ */ +/* $OpenBSD: param.h,v 1.6 2018/09/14 13:58:20 claudio Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -63,7 +63,7 @@ #define USPACE (UPAGES * PAGE_SIZE) /* total size of u-area */ #define USPACE_ALIGN 0 /* u-area alignment 0-none */ -#define NMBCLUSTERS (256 * 1024) /* max cluster allocation */ +#define NMBCLUSTERS (64 * 1024) /* max cluster allocation */ #ifndef MSGBUFSIZE #define MSGBUFSIZE (16 * PAGE_SIZE) /* default message buffer size */ -- cgit v1.2.3