Hi, How do I, if it''s possible, increase a domU''s memory without shutting it down? -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2010-Jan-27 00:03 UTC
Re: [Xen-users] how to dynamically increase domU''s memory?
It depends on the operating system. From dom0, you can do: xm mem-set <Domain> <memory> So, if a domain called "Linux" needs its memory set to 1GB: xm mem-set Linux 1024M Some operating systems or kernel versions do not support dynamic memory sizing - for example, I don''t think the balloon driver for Windows is working, yet. -Nick>>> On 2010/01/26 at 14:13, Rudi Ahlers <Rudi@SoftDux.com> wrote: > Hi, > > How do I, if it''s possible, increase a domU''s memory without shutting it > down?-------- This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Keith Coleman
2010-Jan-27 00:17 UTC
Re: [Xen-users] how to dynamically increase domU''s memory?
On Tue, Jan 26, 2010 at 7:03 PM, Nick Couchman <Nick.Couchman@seakr.com> wrote:> Some operating systems or kernel versions do not support dynamic memory sizing - > for example, I don''t think the balloon driver for Windows is working, yet.The Citrix Windows PV drivers support dynamic memory resizing. They are released as part of XCP and I have added support for them into the upcoming xen 4.0.0 and 3.4.3 releases. Keith Coleman _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers
2010-Jan-27 06:08 UTC
Re: [Xen-users] how to dynamically increase domU''s memory?
On Wed, Jan 27, 2010 at 2:03 AM, Nick Couchman <Nick.Couchman@seakr.com>wrote:> It depends on the operating system. From dom0, you can do: > xm mem-set <Domain> <memory> > > So, if a domain called "Linux" needs its memory set to 1GB: > xm mem-set Linux 1024M > > Some operating systems or kernel versions do not support dynamic memory > sizing - for example, I don''t think the balloon driver for Windows is > working, yet. > > -Nick > >Nick, I already tried "xm mem-set" before I posted this, but it didn''t do anything, other than altering the memory value in the domU configuration file. The dom0 server is on CentOS 5.4 x64, and the domU as well. So, if I want this feature, then what should I have enabled / installed? -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Jan-28 05:19 UTC
Re: [Xen-users] how to dynamically increase domU''s memory?
On Wed, Jan 27, 2010 at 1:08 PM, Rudi Ahlers <Rudi@softdux.com> wrote:> Nick, > > I already tried "xm mem-set" before I posted this, but it didn''t do > anything, other than altering the memory value in the domU configuration > file. > > The dom0 server is on CentOS 5.4 x64, and the domU as well. > So, if I want this feature, then what should I have enabled / installed?Is it PV domU? If yes, you can try putting a setting like this on domU config memory = "4000" maxmem = "8000" in that example, domU will start with 4000M memory, but you''ll be able to increase it later with "xm mem-set" up to 8000MB. Note that there are some memory overhead necessary to be able to balloon-up, so you should set a realistic value for maxmem. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users