Blame SOURCES/ghostscript-raise-VMThreshold-limit.patch

9ea96f
From 50db943c234cd650e6930b99f3b2cbf675447aa2 Mon Sep 17 00:00:00 2001
9ea96f
From: Chris Liddell <chris.liddell@artifex.com>
9ea96f
Date: Wed, 17 Apr 2013 09:24:22 +0100
9ea96f
Subject: [PATCH] Raise the default VMThreshold from 1Mb to 8Mb
9ea96f
9ea96f
This seems like a fair change based on modern hardware and, in particular
9ea96f
modern PDF files. In some cases this results in a significant speed
9ea96f
improvement. It may increase overall memory usage, but testing suggests only
9ea96f
by an insignificant amount in the vast majority of cases.
9ea96f
9ea96f
No cluster differences.
9ea96f
---
9ea96f
 psi/zvmem2.c | 2 +-
9ea96f
 1 file changed, 1 insertion(+), 1 deletion(-)
9ea96f
9ea96f
diff --git a/psi/zvmem2.c b/psi/zvmem2.c
9ea96f
index 53fe44b..13d9b6b 100644
9ea96f
--- a/psi/zvmem2.c
9ea96f
+++ b/psi/zvmem2.c
9ea96f
@@ -25,7 +25,7 @@
9ea96f
 
9ea96f
 /* Garbage collector control parameters. */
9ea96f
 #define DEFAULT_VM_THRESHOLD_SMALL 100000
9ea96f
-#define DEFAULT_VM_THRESHOLD_LARGE 1000000
9ea96f
+#define DEFAULT_VM_THRESHOLD_LARGE 8000000
9ea96f
 #define MIN_VM_THRESHOLD 1
9ea96f
 #define MAX_VM_THRESHOLD max_long
9ea96f
 
9ea96f
-- 
9ea96f
2.9.4
9ea96f