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] RAM size problem

To: inas mohamed <inas_2003@xxxxxxxxx>
Subject: Re: [Xen-users] RAM size problem
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Mon, 7 Mar 2011 09:24:22 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 07 Mar 2011 06:26:12 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=ZGX+BD8sx8JulRakweaGwebabwfFnYyde8gnTNgclUw=; b=JwUbZU/J4RUZG2siCevrRBgv3zoVVtPjnsVFrwXvJA/na5OMp+CnoKBQHBxFahR3q3 D1ljKMdc7ydIetFyz7wGvQKWMDLsST9revwY9F/5X5Yg4HM29ybAzDj7Sk3JLIG9rLE0 KeMPrfU8fzpJJErr9MGegGWK0+8+1l0BjgRvg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=ZHx6b/KFoSwYzA8EaNtskJLKgzmxQmsHdyH9f4PU5LYCwjyL1YLiE3YafNNfE9SQX6 EMG+qbl+jLIT0Q94hvn946xZCTlChoJFjF+2BV3ERQr8Yqp0BVWFarStYcdAdthN7MEV 8cEzJaAWNF2l+SOLQt2Hcvja6cG0z0d+AqJtM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <348834.49802.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <AANLkTimFKbMoGM36rC7LVNHq-gno7nagLon9jJGpeqx1@xxxxxxxxxxxxxx> <348834.49802.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Mar 7, 2011 at 8:09 AM, inas mohamed <inas_2003@xxxxxxxxx> wrote:
>
> It is the first time to use this command, but any way
> on VM:
> Memory: 6659048k/16777216k available (2513k kernel code, 333224k reserved, 
> 1399k data, 184k init)
>

So 16777216k is 16 GB. The guest is getting the right amount. I'm not
sure why free is reporting lower values... Could it be a kernel
problem of some kind?



>
> on the master host:
> I got:
> Memory: 683100k/778240k available (2344k kernel code, 86752k reserved, 1323k 
> data, 260k init, 0k highmem)
>

So this is dom0, which doesn't get allocated as much. I don't have a
system handy to test the xen dmesg command for XCP. I think it is in
/opt/xensource/ (maybe bin?)

> thanks again for your help
>
> --- On Mon, 3/7/11, Todd Deshane <todd.deshane@xxxxxxx> wrote:
>
> From: Todd Deshane <todd.deshane@xxxxxxx>
> Subject: Re: [Xen-users] RAM size problem
> To: "inas mohamed" <inas_2003@xxxxxxxxx>
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Date: Monday, March 7, 2011, 2:41 PM
>
> On Mon, Mar 7, 2011 at 12:34 PM, inas mohamed <inas_2003@xxxxxxxxx> wrote:
> >
> > when I set these values the VM was halted then I started it from my xen 
> > host and then I checked RAM size from VM it self
> >
>
> What does dmesg on the host and guest repoort for memory?
>
> >
> > --- On Mon, 3/7/11, Todd Deshane <todd.deshane@xxxxxxx> wrote:
> >
> > From: Todd Deshane <todd.deshane@xxxxxxx>
> > Subject: Re: [Xen-users] RAM size problem
> > To: "inas mohamed" <inas_2003@xxxxxxxxx>
> > Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> > Date: Monday, March 7, 2011, 2:31 PM
> >
> > On Mon, Mar 7, 2011 at 11:24 AM, inas mohamed <inas_2003@xxxxxxxxx> wrote:
> > >
> > > Hi,
> > > I have 5 XCP servers joining a pool.
> > > I have more than 16G physical RAM free and when I tried to allocate 16G 
> > > RAM for my CentOS VM using:
> > > xe vm-param-set   uuid=my-vm-uuid   memory-static-max=17179869184
> > > xe vm-param-set   uuid=my-vm-uuid   memory-dynamic-max=17179869184
> >
> > did you restart the CentOS VM after running these?
> >
> > >
> > > and when:
> > > #  free -m                                     //on my VM
> > > the total was: 6130
> > > and if:
> > > # free -m -t
> > > Total  11698
> > > why it is not 16G?
> > > Thanks for you help
> > >
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> >
> > --
> > Todd Deshane
> > http://www.linkedin.com/in/deshantm
> > http://www.xen.org/products/cloudxen.html
> >
>
>
>
> --
> Todd Deshane
> http://www.linkedin.com/in/deshantm
> http://www.xen.org/products/cloudxen.html
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

-- 
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html

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