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@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api