[Fedora-xen] physical memory is reduced :-(

Deependra Shekhawat jeevanullas at gmail.com
Thu Mar 8 02:38:29 UTC 2007


You can do the same via virsh too.
By the way can someone tell me why doesn't the RAM which was used by the VM
is given back to Domain 0 automatically when the VM shuts down.


On 3/6/07, Andrew Cathrow <acathrow at redhat.com> wrote:
>
> run "xm list" and you see memory allocations to each domain.
> If you run "xm mem-set " you should be able to allocate that memory to
> domain 0 (if it needs it)
>
> xm mem-set 0 512
>
> Would allocate 512MB to domain 0.
>
>
> On Mon, 2007-03-05 at 16:39 -0400, John Sanabria wrote:
>
> Hi,
> i had installed the last updates for FC6 in a machine with 1 Giga of RAM.The machine's ip is 136.145.116.88.
> ------------------------------------------------------[root at dhcp-crl-116-88 ~]# free             total       used       free     shared    buffers     cachedMem:        962032     281512     680520          0      16116     191412-/+ buffers/cache:      73984     888048Swap:      2031608          0    2031608[root at dhcp-crl-116-88 ~]# uname -aLinux dhcp-crl-116-88.ece.uprm.edu 2.6.19-1.2911.6.4.fc6xen #1 SMP Sat Feb24 14:57:17 EST 2007 i686 i686 i386 GNU/Linux------------------------------------------------------
> now, i execute a "xm create xentemplate_6 -c", and voila! i lost approx250 Mbytes of PHYSICAL RAM, :-(------------------------------------------------------[root at dhcp-crl-116-88 ~]# free             total       used       free     shared    buffers     cachedMem:     -> 764928 <-  375796     389132          0      17536     281980-/+ buffers/cache:      76280     688648Swap:      2031608          0    2031608------------------------------------------------------
> then, shutdown the virtual machine, and i did not get back the lost 250Mbytes of RAM.anybody knows how to get back my physical memory after to shutdown thevirtual machine? is that behavior a bug?
> if i run two virtual machines, my physical memory is reduced until 512 MBof Physical RAM. At this time, the only way to get 1Gbyte of RAM isrebooting the machine :-(.
> Thanks a lot for your suggestions.
> http://ece.uprm.edu/~s047267http://del.icio.us/josanabrhttp://blog-grid.blogspot.com
> --Fedora-xen mailing listFedora-xen at redhat.comhttps://www.redhat.com/mailman/listinfo/fedora-xen
>
>     --
>
> Andrew Cathrow
> Red Hat, Inc.
>
> (678) 733 0452 - Mobile
> (404) 437 6178 - Home Office
> acathrow at redhat.com
>
>
> --
> Fedora-xen mailing list
> Fedora-xen at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-xen
>
>


-- 
Enjoy Life !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20070308/0aea95c8/attachment.htm>


More information about the Fedora-xen mailing list