I see this feature in other virtualization systems, but can''t find any mention of it in Xen. Can Xen give a guaranteed minimum amount of ram to a VM, but allow it to take more to a certain limit if required? The VMs certainly handle having the amount of memory they have changed manually with "xm mem-set", so doesn''t seem so far fetched an idea. Thanks -- Mike Williams System Administration Manager - Comodo Office Tel Europe: +44 (0) 161 8747070 Fax Europe: +44 (0) 161 8771767 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
There is no built in mechanism for this, mostly to make sure you aren''t overcommitting the total memory you have in the system. If you want this kind of functionality you would have to build a script which monitors memory usage on each VM and uses the mem-set command to adjust as necessary. But that would be fairly tricky. On 6/22/06, Mike Williams <mike.williams@comodo.com> wrote:> > I see this feature in other virtualization systems, but can''t find any > mention > of it in Xen. > Can Xen give a guaranteed minimum amount of ram to a VM, but allow it to > take > more to a certain limit if required? > The VMs certainly handle having the amount of memory they have changed > manually with "xm mem-set", so doesn''t seem so far fetched an idea. > > Thanks > > -- > Mike Williams > System Administration Manager - Comodo > Office Tel Europe: +44 (0) 161 8747070 > Fax Europe: +44 (0) 161 8771767 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thursday 22 June 2006 15:26, Tim Wood wrote:> There is no built in mechanism for this, mostly to make sure you aren''t > overcommitting the total memory you have in the system. If you want this > kind of functionality you would have to build a script which monitors > memory usage on each VM and uses the mem-set command to adjust as > necessary. But that would be fairly tricky.Thanks for that, it''s something to think about. However, what does the maxmem option do? :) I forced a VM to use up all it''s alloted memory, with several hundred more megs maxmem, and just like you''d expect, the kernel started killing processes.... Xen didn''t do anything. -- Mike Williams System Administration Manager - Comodo Office Tel Europe: +44 (0) 161 8747070 Fax Europe: +44 (0) 161 8771767 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
AFAIK the maxmem parameter does not work. On Thu, 22 Jun 2006 15:58:35 +0100, Mike Williams <mike.williams@comodo.com> wrote:> On Thursday 22 June 2006 15:26, Tim Wood wrote: >> There is no built in mechanism for this, mostly to make sure you aren''t >> overcommitting the total memory you have in the system. If you want > this >> kind of functionality you would have to build a script which monitors >> memory usage on each VM and uses the mem-set command to adjust as >> necessary. But that would be fairly tricky. > > Thanks for that, it''s something to think about. > However, what does the maxmem option do? :) I forced a VM to use up all > it''s > alloted memory, with several hundred more megs maxmem, and just like you''d > > expect, the kernel started killing processes.... Xen didn''t do anything. > > -- > Mike Williams > System Administration Manager - Comodo > Office Tel Europe: +44 (0) 161 8747070 > Fax Europe: +44 (0) 161 8771767 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Timo Benk - Jabber ID: fry@jabber.org - ICQ ID: #241877854 PGP Public Key: http://m28s01.vlinux.de/timo_benk_gpg_key.asc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users