diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2018-09-14 13:58:21 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2018-09-14 13:58:21 +0000 |
commit | cc95cb9957fd3b32421cbfe2e99e1781d61bf575 (patch) | |
tree | 4abf8f1a8cac55e753769eb376660d73c2120364 /sys/arch/hppa | |
parent | 04a98321c4df72cdb9deb2752fb0f05e2cb3e9b9 (diff) |
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@
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/include/param.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h index 346b5bf7f9c..c53885bb7c4 100644 --- a/sys/arch/hppa/include/param.h +++ b/sys/arch/hppa/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.46 2016/09/03 14:25:27 bluhm Exp $ */ +/* $OpenBSD: param.h,v 1.47 2018/09/14 13:58:20 claudio 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 (4 * 1024) /* max cluster allocation */ +#define NMBCLUSTERS (32 * 1024) /* max cluster allocation */ #ifndef MSGBUFSIZE #define MSGBUFSIZE (2 * PAGE_SIZE) /* default message buffer size */ |