kernel - Increase default shared pages per process for x86-64
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 9 Nov 2011 10:21:21 +0000 (02:21 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 9 Nov 2011 10:21:21 +0000 (02:21 -0800)
* Increase from 200 to 2000 per process.  This is a temporary fix until a
  better one based on max physical memory can be found.

* For vkernel64 increase from 200 to 1000.

Reported-by: ftigeot
sys/platform/pc64/x86_64/pmap.c
sys/platform/vkernel64/platform/pmap.c

index f9ade37..e001511 100644 (file)
@@ -92,7 +92,7 @@
 
 #define PMAP_KEEP_PDIRS
 #ifndef PMAP_SHPGPERPROC
-#define PMAP_SHPGPERPROC 200
+#define PMAP_SHPGPERPROC 2000
 #endif
 
 #if defined(DIAGNOSTIC)
index 499b553..0150048 100644 (file)
@@ -98,7 +98,7 @@
 
 #define PMAP_KEEP_PDIRS
 #ifndef PMAP_SHPGPERPROC
-#define PMAP_SHPGPERPROC 200
+#define PMAP_SHPGPERPROC 1000
 #endif
 
 #if defined(DIAGNOSTIC)