[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] xcp and minimum memory




Thanks, the "xe vm-memory-target-set" worked.  A bit clunky, but at least I can finally move on from here.  Perhaps a less manual solution will present down the track.



From: "George Shuklin" <george.shuklin@xxxxxxxxx>
To: "Lyn Amery" <lyn@xxxxxxxxxxxxxxxxxxxx>
Cc: xen-api@xxxxxxxxxxxxx
Sent: Friday, 28 September, 2012 2:39:31 PM
Subject: Re: [Xen-API] xcp and minimum memory

I forgot mention - reboot after changes.

If you want more memory to dom0, you can change it via xe vm-memory-target-set for Control Domain for your host (you can get dom uuid from xe vm-list with 'control domain' in name-label).


28.09.2012 10:35, Lyn Amery ÐÐÑÐÑ:

Thanks for your assistance.  Tried it, but still makes no difference.


From: "George Shuklin" <george.shuklin@xxxxxxxxx>
To: xen-api@xxxxxxxxxxxxx
Sent: Friday, 28 September, 2012 2:00:21 PM
Subject: Re: [Xen-API] xcp and minimum memory

1) don't use xend (or it configs). xapi or xend, not both.
2) Proper setting is

/etc/default/grub
# Start dom0 with less RAM
GRUB_CMDLINE_XEN_DEFAULT="dom0_mem=1024M"

and do update-grub after changing default.

28.09.2012 09:40, Lyn Amery ÐÐÑÐÑ:
Hi,

I've installed xcp (xcp-xapi) on Ubuntu 12.04 - installed, but have gotten no further.  What's stopped me dead in my tracks is that Xen appears to grab most of my 6GB of memory - well, *something does* - leaving only 1GB for me to run my desktop on.  Very slow and painful to use.  (It would be ideal to run this on a test server, but nothing is available.)

First, do I understand correctly that "dom0" is just the host system?  In other words, when I boot the Xen kernel, that's dom0, yes?

Here's what I've tried up to this point.

Edited /etc/default/grub

  GRUB_CMDLINE_XEN="dom0_mem=2G,max:2G" 

also tried

  GRUB_CMDLINE_XEN="dom0_mem=512M,max:512M"


... followed by update-grub command.


Edited /etc/xen/xend-config.sxp

--------------------------------------

  xend-config.sxp:(dom0-min-mem 2048)

  (enable-dom0-ballooning no)


All mods followed by reboots, of course.  None seems to make any difference.  The performance monitor application and "free" command show just under 1GB available when booted under the Xen kernel, 6BG when booted under normal Ubuntu.

Xen reports the proper memory stats:

# xe host-list params=all | grep memory

  memory-overhead ( RO): 83017728

  memory-total ( RO): 6372888576

  memory-free ( RO): 5120520192

  memory-free-computed ( RO): <expensive field>


Have I missed some basic concept somewhere?  Anyone have similar problems?


Cheers,

Lyn 

 
--
---------------------
Lyn Amery
Gaia Resources
p +61 8 9227 7309
w www.gaiaresources.com.au
e lyn@xxxxxxxxxxxxxxxxxxxx




_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


--
---------------------
Lyn Amery
Gaia Resources
p +61 8 9227 7309
w www.gaiaresources.com.au
e lyn@xxxxxxxxxxxxxxxxxxxx





--
---------------------
Lyn Amery
Gaia Resources
p +61 8 9227 7309
w www.gaiaresources.com.au
e lyn@xxxxxxxxxxxxxxxxxxxx


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.