[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xenpaging: increase recently used pages from 4MB to 64MB



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1290781530 0
# Node ID aba70e59a90dcb0cacc2c6834a6ce19d03d88601
# Parent  08158f001f19d158c523cb14c39e354a805e7e65
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@xxxxxxxxx>
---
 tools/xenpaging/policy_default.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 08158f001f19 -r aba70e59a90d tools/xenpaging/policy_default.c
--- a/tools/xenpaging/policy_default.c  Fri Nov 26 14:23:31 2010 +0000
+++ b/tools/xenpaging/policy_default.c  Fri Nov 26 14:25:30 2010 +0000
@@ -26,7 +26,7 @@
 #include "policy.h"
 
 
-#define MRU_SIZE 1024
+#define MRU_SIZE (1024 * 16)
 
 
 static unsigned long mru[MRU_SIZE];

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.