2010-10-20 23:00:35 +02:00
|
|
|
Subject: xenpaging: increase recently used pages from 4MB to 64MB
|
|
|
|
|
|
|
|
Increase recently used pages from 4MB to 64MB.
|
|
|
|
Keeping more pages in memory allows the guest to make more progress if the
|
|
|
|
paging file spans the entire guest memory.
|
|
|
|
|
2011-01-14 19:24:51 +01:00
|
|
|
(xen-unstable changeset: 22447:aba70e59a90d)
|
|
|
|
|
2010-10-20 23:00:35 +02:00
|
|
|
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
|
|
|
|
|
|
|
---
|
|
|
|
tools/xenpaging/policy_default.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2011-02-04 22:19:54 +01:00
|
|
|
Index: xen-4.0.2-testing/tools/xenpaging/policy_default.c
|
|
|
|
===================================================================
|
|
|
|
--- xen-4.0.2-testing.orig/tools/xenpaging/policy_default.c
|
|
|
|
+++ xen-4.0.2-testing/tools/xenpaging/policy_default.c
|
2010-10-20 23:00:35 +02:00
|
|
|
@@ -26,7 +26,7 @@
|
|
|
|
#include "policy.h"
|
|
|
|
|
|
|
|
|
|
|
|
-#define MRU_SIZE 1024
|
|
|
|
+#define MRU_SIZE (1024 * 16)
|
|
|
|
|
|
|
|
|
|
|
|
static unsigned long mru[MRU_SIZE];
|