Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
src: Pull up following revision(s) (requested by mrg in ticket #...
details: https://anonhg.NetBSD.org/src/rev/6775bcd7cba0
branches: netbsd-8
changeset: 318062:6775bcd7cba0
user: martin <martin%NetBSD.org@localhost>
date: Wed Apr 11 14:37:11 2018 +0000
description:
Pull up following revision(s) (requested by mrg in ticket #733):
sys/arch/amd64/include/vmparam.h: revision 1.44
sys/arch/amd64/include/vmparam.h: revision 1.45
sys/arch/sparc64/include/vmparam.h: revision 1.38
bump PAGER_MAP_DEFAULT_SIZE to 512MB. this should allow more
concurrent IOs to be possible, and i'm unable to see pager_map
contention any more.
other larger platforms should probably do this too.
ok chs@.
Remove superfluous word in comment. Noted by Geoff Wing.
Bump PAGER_MAP_DEFAULT_SIZE to 512 MB (like amd64 recently did).
diffstat:
sys/arch/amd64/include/vmparam.h | 8 +++++++-
sys/arch/sparc64/include/vmparam.h | 8 +++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diffs (44 lines):
diff -r d335f59f36ab -r 6775bcd7cba0 sys/arch/amd64/include/vmparam.h
--- a/sys/arch/amd64/include/vmparam.h Wed Apr 11 14:27:51 2018 +0000
+++ b/sys/arch/amd64/include/vmparam.h Wed Apr 11 14:37:11 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.39.6.1 2017/08/31 08:32:38 bouyer Exp $ */
+/* $NetBSD: vmparam.h,v 1.39.6.2 2018/04/11 14:37:11 martin Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -57,6 +57,12 @@
#define PAGE_MASK (PAGE_SIZE - 1)
/*
+ * Default pager_map of 16MB is awfully small. There is plenty
+ * of VA so use it.
+ */
+#define PAGER_MAP_DEFAULT_SIZE (512 * 1024 * 1024)
+
+/*
* USRSTACK is the top (end) of the user stack. Immediately above the
* user stack resides the user structure, which is UPAGES long and contains
* the kernel stack.
diff -r d335f59f36ab -r 6775bcd7cba0 sys/arch/sparc64/include/vmparam.h
--- a/sys/arch/sparc64/include/vmparam.h Wed Apr 11 14:27:51 2018 +0000
+++ b/sys/arch/sparc64/include/vmparam.h Wed Apr 11 14:37:11 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.37 2016/03/26 11:49:10 martin Exp $ */
+/* $NetBSD: vmparam.h,v 1.37.10.1 2018/04/11 14:37:11 martin Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -58,6 +58,12 @@
#define PAGE_MASK (PAGE_SIZE - 1)
/*
+ * Default pager_map of 16MB is awfully small. There is plenty
+ * of VA so use it.
+ */
+#define PAGER_MAP_DEFAULT_SIZE (512 * 1024 * 1024)
+
+/*
* The kernel itself is mapped by the boot loader with 4Mb locked VM pages,
* so let's keep 4Mb definitions here as well.
*/
Home |
Main Index |
Thread Index |
Old Index