Module Name:    src
Committed By:   martin
Date:           Wed Apr 11 14:37:11 UTC 2018

Modified Files:
        src/sys/arch/amd64/include [netbsd-8]: vmparam.h
        src/sys/arch/sparc64/include [netbsd-8]: vmparam.h

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r1.39.6.1 -r1.39.6.2 src/sys/arch/amd64/include/vmparam.h
cvs rdiff -u -r1.37 -r1.37.10.1 src/sys/arch/sparc64/include/vmparam.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amd64/include/vmparam.h
diff -u src/sys/arch/amd64/include/vmparam.h:1.39.6.1 src/sys/arch/amd64/include/vmparam.h:1.39.6.2
--- src/sys/arch/amd64/include/vmparam.h:1.39.6.1	Thu Aug 31 08:32:38 2017
+++ src/sys/arch/amd64/include/vmparam.h	Wed Apr 11 14:37:11 2018
@@ -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.

Index: src/sys/arch/sparc64/include/vmparam.h
diff -u src/sys/arch/sparc64/include/vmparam.h:1.37 src/sys/arch/sparc64/include/vmparam.h:1.37.10.1
--- src/sys/arch/sparc64/include/vmparam.h:1.37	Sat Mar 26 11:49:10 2016
+++ src/sys/arch/sparc64/include/vmparam.h	Wed Apr 11 14:37:11 2018
@@ -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.
  */

Reply via email to