The "xm info" command will tell you this, among other things: # xm info ... total_memory : 32766 free_memory : 24128 This host for example has a 2GB dom0, with 32GB physical memory, of which about 24GB is usable for virtualization. (The memory sizes are reported in MB.) -Jeff From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Robbie A. Garrett Sent: Monday, September 28, 2009 10:19 AM To: xen-users@lists.xensource.com Subject: [Xen-users] Ram question Hey all, have a question about limiting ram in grub. i have set my grub to have a config line of dom0_mem=800M which limits dom0 to 800megs of ram. i want to ensure that xen will still be able to use the rest of the system ram for the vm''s for the server has over 16gb of ram. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Typically yes, though I believe the balloon driver allows a domain to give some of its memory back to Xen. See the "xm" documentation, in particular mem-max and mem-set. From: Robbie A. Garrett [mailto:RGarrett@hostourweb.com] Sent: Monday, September 28, 2009 10:37 AM To: Jeff Sturm; xen-users@lists.xensource.com Subject: RE: [Xen-users] Ram question thanks for the response. Another question comes out of this. if i assign a vm 515mb of ram... will the free_memory reflect that? or as the vm uses the memory, will the free_memory decrease. ________________________________ From: Jeff Sturm [jeff.sturm@eprize.com] Sent: Monday, September 28, 2009 9:32 AM To: Robbie A. Garrett; xen-users@lists.xensource.com Subject: RE: [Xen-users] Ram question The "xm info" command will tell you this, among other things: # xm info ... total_memory : 32766 free_memory : 24128 This host for example has a 2GB dom0, with 32GB physical memory, of which about 24GB is usable for virtualization. (The memory sizes are reported in MB.) -Jeff From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Robbie A. Garrett Sent: Monday, September 28, 2009 10:19 AM To: xen-users@lists.xensource.com Subject: [Xen-users] Ram question Hey all, have a question about limiting ram in grub. i have set my grub to have a config line of dom0_mem=800M which limits dom0 to 800megs of ram. i want to ensure that xen will still be able to use the rest of the system ram for the vm''s for the server has over 16gb of ram. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hey all, have a question about limiting ram in grub. i have set my grub to have a config line of dom0_mem=800M which limits dom0 to 800megs of ram. i want to ensure that xen will still be able to use the rest of the system ram for the vm''s for the server has over 16gb of ram. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
thanks for the response. Another question comes out of this. if i assign a vm 515mb of ram... will the free_memory reflect that? or as the vm uses the memory, will the free_memory decrease. ________________________________ From: Jeff Sturm [jeff.sturm@eprize.com] Sent: Monday, September 28, 2009 9:32 AM To: Robbie A. Garrett; xen-users@lists.xensource.com Subject: RE: [Xen-users] Ram question The "xm info" command will tell you this, among other things: # xm info … total_memory : 32766 free_memory : 24128 This host for example has a 2GB dom0, with 32GB physical memory, of which about 24GB is usable for virtualization. (The memory sizes are reported in MB.) -Jeff From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Robbie A. Garrett Sent: Monday, September 28, 2009 10:19 AM To: xen-users@lists.xensource.com Subject: [Xen-users] Ram question Hey all, have a question about limiting ram in grub. i have set my grub to have a config line of dom0_mem=800M which limits dom0 to 800megs of ram. i want to ensure that xen will still be able to use the rest of the system ram for the vm''s for the server has over 16gb of ram. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users