24 lines
626 B
Diff
24 lines
626 B
Diff
|
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.
|
||
|
|
||
|
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
||
|
|
||
|
---
|
||
|
tools/xenpaging/policy_default.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
--- xen-4.0.1-testing.orig/tools/xenpaging/policy_default.c
|
||
|
+++ xen-4.0.1-testing/tools/xenpaging/policy_default.c
|
||
|
@@ -26,7 +26,7 @@
|
||
|
#include "policy.h"
|
||
|
|
||
|
|
||
|
-#define MRU_SIZE 1024
|
||
|
+#define MRU_SIZE (1024 * 16)
|
||
|
|
||
|
|
||
|
static unsigned long mru[MRU_SIZE];
|