Sreeharsha Totakura
2009-Jul-30 11:40 UTC
[Xen-users] Memory consumption of xend on x86_64
Hi, On one of our servers which has 6GB RAM (dom0 RAM: 3GB), the xend service is taking about 46% of the memory. Is this normal? We use xen on other servers (8GB, 6GB RAM) too and in them xend is taking about 3% of the memory. This particular server if of x86_64 architecture where as the rest are of i386. Is that the reason for xend taking so much RAM? Regards, Sree Harsha Totakura Member, Open Source Platform - TEG Tata Consultancy Services Ph:- +91-22-67782038 Mailto: sreeharsha.totakura@tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----====Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sreeharsha Totakura
2009-Jul-31 07:07 UTC
Re: [Xen-users] Memory consumption of xend on x86_64
Hi, If I try to run 32bit hosts on a 64bit dom-0, will they run under HVM? Also, How can I check whether the guests are running under PV or HVM? I use virt-manager it creates the virtual machines without the need to use xm. Thanks- Harsha xen-users-bounces@lists.xensource.com wrote on 07/30/2009 05:10:16 PM:> Sreeharsha Totakura <sreeharsha.totakura@tcs.com> > Sent by: xen-users-bounces@lists.xensource.com > > 07/30/2009 05:10 PM > > To > > xen-users@lists.xensource.com > > cc > > Subject > > [Xen-users] Memory consumption of xend on x86_64 > > > Hi, > > On one of our servers which has 6GB RAM (dom0 RAM: 3GB), the xend service > is taking about 46% of the memory. Is this normal? We use xen on other > servers (8GB, 6GB RAM) too and in them xend is taking about 3% of the > memory. > > This particular server if of x86_64 architecture where as the rest are of > i386. Is that the reason for xend taking so much RAM? > Regards,- Harsha =====-----=====-----====Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I think you can l limit the amount of ram consumed by dom0 on 64 bit hosts by modifying the kernel initialization statement in grub or lilo. just add the line *dom0_mem*=512M or something similar. You can also change the memory after initialization by running xm mem-set 0 512M and it should change dom0 Rob On Thu, Jul 30, 2009 at 4:40 AM, Sreeharsha Totakura < sreeharsha.totakura@tcs.com> wrote:> > Hi, > > On one of our servers which has 6GB RAM (dom0 RAM: 3GB), the xend service > is taking about 46% of the memory. Is this normal? We use xen on other > servers (8GB, 6GB RAM) too and in them xend is taking about 3% of the > memory. > > This particular server if of x86_64 architecture where as the rest are of > i386. Is that the reason for xend taking so much RAM? > > Regards, > Sree Harsha Totakura > Member, Open Source Platform - TEG > Tata Consultancy Services > Ph:- +91-22-67782038 > Mailto: sreeharsha.totakura@tcs.com > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Outsourcing > ____________________________________________ > > =====-----=====-----====> Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > > > _______________________________________________ > 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
Fajar A. Nugraha
2009-Aug-03 03:55 UTC
Re: [Xen-users] Memory consumption of xend on x86_64
On Fri, Jul 31, 2009 at 2:07 PM, Sreeharsha Totakura<sreeharsha.totakura@tcs.com> wrote:> Hi, > > If I try to run 32bit hosts on a 64bit dom-0, will they run under HVM?Newer versions of Xen (I think 3.1+ will do) can run 32bit PV domU or dom0 on top of 64bit hypervisor, so you don''t have to use HVM.> > Also, How can I check whether the guests are running under PV or HVM? I use > virt-manager it creates the virtual machines without the need to use xm.The easiest way is to look what parameters you use to create the domU. If you use -p or --paravirt, it will be PV. If you use -v or --hvm, it will be HVM. Some domU (like Windows) only supports HVM. Deterimining this from domU is somewhat harder. One way to do it is to look at /proc/xen. If that directory exists then most likely it''s PV domU. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users