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-devel

[Xen-devel] [RFC] limit dom0 memory using Xen's dom0_mem command line op

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [RFC] limit dom0 memory using Xen's dom0_mem command line option
From: David Vrabel <david.vrabel@xxxxxxxxxx>
Date: Tue, 16 Aug 2011 11:00:35 +0100
Cc: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Tue, 16 Aug 2011 03:02:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This set of patches limits the amount of memory dom0 can use by using
Xen's dom0_mem=max:NNN command line option.  This can make extra
memory available because less memory is wasted on page tables that are
never used and fewer pages are reserved for low memory situations.

In addition, the extra pages can be in two regions which allows more
low memory to be available if dom0 intially starts with less than 1
GiB.

Xen requires the patch "x86: use 'dom0_mem' to limit the number of
pages for dom0" to provide the correct information in the
XENMEM_maximum_reservation memory op.

Instead of this approach would it be better to limit dom0 memory to
the initial number pages and use the recently added memory hotplug
support in the balloon driver for all reservation increases?

David

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