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

Re: [Xen-devel] [PATCH 03/14]: libxenlight, 8MB slack for PV domains

To: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 03/14]: libxenlight, 8MB slack for PV domains
From: Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx>
Date: Tue, 01 Dec 2009 09:15:19 -0500
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Tue, 01 Dec 2009 06:15:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091201063440.GA15810@xxxxxxxxxxxxxxxxxxxxx>
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>
References: <4B1418C2.1060907@xxxxxxxxxxxxxxxx> <20091201063440.GA15810@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20090817)
The 8mb slack is not real memory allocated. It's extra room in the pfn space. The memory's domain allocation remains capped at the amount intended. I haven't seen anyone in xen-devel for five years needing more slack than that ') Particularly since the network rx flipping path stopped being the default
Andres
Vincent Hanquez wrote:
On Mon, Nov 30, 2009 at 07:10:58PM +0000, Andres Lagar-Cavilla wrote:
Contemplate 8MB of slack for PV domains, since they
do ballooning (or flipping network rx) and need
some extra room in their pfn space.

Signed-off-by: Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx>

this probably should be in the build structure. not magically adding 8 mb 
without the
toolstack knowing, otherwise no toolstack can provide more or less slacks on a
per domain basis. And it make precise memory handling a nightmare, and thus
dynamic memory handling too. in some way this parameter is just like the
shadow_memory one in the hvm build structure.



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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] [PATCH 03/14]: libxenlight, 8MB slack for PV domains, Andres Lagar-Cavilla <=