|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Purpose of mem-max command
On 11/10/15 21:45, Marco Guazzone wrote: On Sat, Oct 10, 2015 at 6:36 PM, Simon Hobson <linux@xxxxxxxxxxxxxxxx> wrote:Marco Guazzone <marco.guazzone@xxxxxxxxx> wrote:I don't understand the behavior of the "xl mem-max" command. The help says: "Set the maximum amount reservation for a domain." But if I try to use it I see no effect on the target domain. It seems that only the "xl mem-set" command has effect on the VM.That sounds correct. mem-max sets the maximum that mem-set can configure. I can't see that it's that useful from the command line, but I have mem-max set is several of my config files where I want to start a machine with a configured amount of ram, but have the option to increase it later (typically because I've had to cut some machines down to shoehorn another VM onto the host) Try this test, in the config file: maxmem = 20480 memory = 8192 When you start the VM, it should have 8GThen, you can allocate some extra RAM (note, you are changing the amount of memory, not the "maximum" amount that could be allocated. xl mem-set memtest 10g Now you should see the VM has extra RAM available. So, from these test it seems that the take-home lesson is to never use "xl mem-max" since it has no effect. Where am I wrong? Thank you very much for your help. Best, Marco _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users Regards, Adam -- Adam Goryachev Website Managers www.websitemanagers.com.au _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |