From: Matthew Dillon Date: Wed, 9 Nov 2011 10:21:21 +0000 (-0800) Subject: kernel - Increase default shared pages per process for x86-64 X-Git-Tag: v3.0.0~700 X-Git-Url: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/f1d3f4223a161c4e97e85268be2cc6dd16b9f6c8 kernel - Increase default shared pages per process for x86-64 * 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 --- diff --git a/sys/platform/pc64/x86_64/pmap.c b/sys/platform/pc64/x86_64/pmap.c index f9ade37..e001511 100644 --- a/sys/platform/pc64/x86_64/pmap.c +++ b/sys/platform/pc64/x86_64/pmap.c @@ -92,7 +92,7 @@ #define PMAP_KEEP_PDIRS #ifndef PMAP_SHPGPERPROC -#define PMAP_SHPGPERPROC 200 +#define PMAP_SHPGPERPROC 2000 #endif #if defined(DIAGNOSTIC) diff --git a/sys/platform/vkernel64/platform/pmap.c b/sys/platform/vkernel64/platform/pmap.c index 499b553..0150048 100644 --- a/sys/platform/vkernel64/platform/pmap.c +++ b/sys/platform/vkernel64/platform/pmap.c @@ -98,7 +98,7 @@ #define PMAP_KEEP_PDIRS #ifndef PMAP_SHPGPERPROC -#define PMAP_SHPGPERPROC 200 +#define PMAP_SHPGPERPROC 1000 #endif #if defined(DIAGNOSTIC)