WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xenpaging: increase recently used pages f

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xenpaging: increase recently used pages from 4MB to 64MB
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 27 Nov 2010 06:25:27 -0800
Delivery-date: Sat, 27 Nov 2010 06:28:00 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xenpaging: increase recently used pages from 4MB to 64MB, Xen patchbot-unstable <=