LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] xen and freeing up RAM

[ILUG] xen and freeing up RAM

Conor Wynne mariconor at gmail.com
Tue Apr 15 14:36:57 IST 2008


On Tue, Apr 15, 2008 at 12:38 PM, Stephen Burke <steviewdr at skynet.ie> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On Tue, 15 Apr 2008, Conor Wynne wrote:
>
> > If I xm create the vm, then it uses that same memory again. If I xm
> > destroy
> > it, then create a NEW vm, more memory is taken away.
> > It doesn't seen right to me...
> >
>
> I remember seeing the exact same thing. AFAIR if you keep destroying and
> creating the VMs it will not run out of memory. It might appear to use more
> memory. I take it you were using "xm top" where you saw the memory
> decreasing for dom0 evertime you destroyed and created a vm?
>
> I wouldnt worry too much about it, unless it does eat up and not release
> the memory. If you set the dom0_mem in the menu.lst xm top and free will
> correctly report the memory been used dom0.


Rebooted the server, 8GB installed.
On a fresh reboot, free -m reports:

free -m
Total 7484, Free 7066

xm create one RHEL5 and one RHEL4 VM's
free -m reports:
Total 6961, Free 6530

Now xm destroy both vm's:
Total 6961, Free 6529

So where is the RAM gone?
Does this only occur on RHEL5.x?

Anyone else experienced this before?
If I restart xend the RAM is still gone.



>
>
> Just a last note about putting dom0_mem into grub/menu.lst, when you
> upgrade to a new kernel, this entry will be removed. If anyone knows how to
> correctly keep this boot option between upgrades, it would be good to know.


That is strange. Normally all kernel paramaters are kept.


>
>
> Rgds,
> Steve Burke
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIBJPB21ZxaWXmuiARAme5AJsF7tXKMM3vGhPLcvtFZuje+4+7AACgndfm
> Gc9zEjdwcgFlPFHDrwGSJog=
> =+eD2
> -----END PGP SIGNATURE-----
>


Conor.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell