[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] Questions for help - memory recycling


  • To: xen-api@xxxxxxxxxxxxx
  • From: Alexandre Kouznetsov <alk@xxxxxxxxxx>
  • Date: Wed, 09 Jan 2013 10:14:11 -0600
  • Delivery-date: Wed, 09 Jan 2013 16:14:23 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Hello.

El 09/01/13 09:23, çå-åéç escribiÃ:
      If a guest os is destroyed,is the internal memory that it once
occupyed will scratched? Is the internal memory that it once occupyed
will  recovered?
I don't fully understand what do you mean by "scratched".
But yes, once a guest VM (not really a guest OS) if shut down or destroyed, the memory it was using is recovered. It becomes immediately available, and can be assigned to any other guest VM.

        If it will be scratched,would you show me the corresponding
codes or testing progama?
The utility "xentop" can show you the memory usage status by the hypervisor. The display is unusually wide for a console utility (163 characters), do not let yourself confuse. While you start and stop your guest VM's, you will see how the amounts of used an available memory change.

Note, that if you try "top" (or "free") utility, you will probably see different numbers. That's because xentop will show you hot the hypervisor sees the memory, and top will show you how your Domain-0 (called Dom0, for short) sees the memory. For the hypervisor, Dom0 is one of the guest machines.

Hope this helps.

--
Alexandre Kouznetsov


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.