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/
Home Products Support Community News


Re: [Xen-devel] Re: non-contiguous allocations

To: Olaf Hering <olaf@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: non-contiguous allocations
From: Keir Fraser <keir@xxxxxxx>
Date: Sat, 07 May 2011 17:31:23 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 07 May 2011 09:32:26 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:user-agent:date:subject:from:to:cc :message-id:thread-topic:thread-index:in-reply-to:mime-version :content-type:content-transfer-encoding; bh=gq1GokghO3f+Mt74oCH5d7D5jcGYQWuPbDyDuGMmwOE=; b=MhTUTZuFHcdnieOwRAD+f7Q29Wf0HbJBLqRX1GrRXx7FmjkTDDlMZebtoMoeJGExW7 GYG9c0/N66ZMmjrkYNBRbGRnkrirDvo4Nl+OeK2FsgoyPOUm1gcDq9Feh17FWudTIYid FIlQGBrgYT4mqNNHK+b3P4ksHQEH2OdajWCV0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=fRqTVEXsf7FTUvvIouVz4ddds1uNWTGpQfO8IiWXGzMNVT6IHmXO36PwohpOWjlLcA AtZ+waXA3lKJ/QwNIBht+Bkk5g5NS6iknrrzQDt9FDV9PBN8ppJDjuRJ8szFIm9gvMXS hXGrbc8J39BukP5pKuWhXLfQCTdZil+Il+yGs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110507083919.GA28246@xxxxxxxxx>
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
Thread-index: AcwM1DPi+op919VX4EiSAKnihKOaKw==
Thread-topic: [Xen-devel] Re: non-contiguous allocations
User-agent: Microsoft-Entourage/
On 07/05/2011 09:39, "Olaf Hering" <olaf@xxxxxxxxx> wrote:

> On Fri, May 06, Keir Fraser wrote:
>> On 06/05/2011 19:12, "Olaf Hering" <olaf@xxxxxxxxx> wrote:
>>> Is there a way to allocate more than 128mb with repeated calls to
>>> alloc_xenheap_page()?
>> Yes it should just work. Are you sure you actually have more than 128MB
>> available (not all allocated to dom0 for example)?
> Thanks Keir. xm mem-set 0 1024 did the trick.
> I was under the impression dom0 would automatically get ballooned down
> to make room for the allocation requests.

Only when creating new domains in xend, then xend will balloon down dom0. So
no, not in this case: we can hardly go run xend while we're in hypervisor
context. ;-)

This kind of thing is why we normally run dom0 with 'just enough' memory and
don't use auto ballooning.

 -- Keir

> Olaf

Xen-devel mailing list