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

Re: [Xen-users] memory allocation

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] memory allocation
From: Paras pradhan <pradhanparas@xxxxxxxxx>
Date: Wed, 4 Feb 2009 14:27:41 -0600
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 04 Feb 2009 12:28:23 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=doJFlevhaJwoSQ8SPXNI5ODXNe0WswZ+60aluXoOS/c=; b=yFBoSGtyIr7nR+cDTPdjd9Klmw4kQv4L/xeSaqSpjiL6VOdqcWo5ADkZSC7kr1l/0j zwrhyvxKxN0/7X2h+VByf+VFMcNsQ8T7O/VIbFFwwj1u1VSMcBP5y6qDpMRzpQ7VQBGp VNl2/G2qKViJByRDCpW3B1zD2DEZh1IlMJroo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LdJ2SIOff31Byv/i9A+tA/4GnMfqphjP8jAtG2KGKHmIaKy1Ie/KMGzqBqkdH1O9qU zw/cnDde/IOrXdqklQ3LSIRvlKdeZFrl01VWBdnl7HF6deIgv1f3FVzeD9blLUxEqo1L gxRXmhvYPTKGvMcs08Z8m0AATjy8J+sVNGFgM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0902040417l254d425ay26d5e0c71522afd9@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <8b711df40902020944i5a4dbc11tcfbdec18f4ba0634@xxxxxxxxxxxxxx> <7207d96f0902040417l254d425ay26d5e0c71522afd9@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Feb 4, 2009 at 6:17 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Tue, Feb 3, 2009 at 12:44 AM, Paras pradhan <pradhanparas@xxxxxxxxx> wrote:
>> Its showing 345MB instead of 8GB.
>>
>
> When domU starts it "takes away" memory from dom0. Meaning whenever
> (and after) any domU runs, dom0 will be left with less than total
> physical RAM. In your case, dom0 is left with only 345MB.
>
> Sometimes it's more desirable to limit dom0s memory from start and
> prevent it from changing. This is done using some settings on
> xend-config.sxp and kernel parameter.
>
>>
>> xm info o/p:
>>
>> total_memory           : 8165
>> free_memory            : 3583
>>
>
> In your case :
> (1) What does "xm list" show?
> (2) What is the value of "dom0-min-mem" on /etc/xen/xend-config.sxp?
> (3) Have you ever start domUs which (together) takes up about 4.5 GB memory?
>
>
>>
>> What do i need to do to make memory available to my host system from dom0?
>
> In your current state,
>
> xm mem-set 0 3G

This works.. But why the free memory at dom0 is not automatically
available to host.



>
> will tell dom0 to use available memory (as shown from xm info) up to
> 3G total. Try running "xm list" and "xm info" afterwards.
>
> Regards,
>
> Fajar
>

Thanks
Paras.

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

<Prev in Thread] Current Thread [Next in Thread>