which three circumstances might the VMkernel use a swap file for a running virtual machine?

Assuming that ballooning is possible, under which three circumstances might the VMkernel use a swap file for a running virtual machine?

A.
The Mem CtlMaxPercent value is between 10 and 25 percent

B.
Memory cannot be reclaimed quickly enough

C.
The virtual machine is starting up

D.
VMware Tools is not installed

E.
50 percent of the configured memory has already been balooned

Explanation:
C: Wrong: When the machine is starting up the Ballooning driver hasn’t loaded yet.
D: Wrong: When VMware tools is not installed Ballooning isn’t possible

8 Comments on “which three circumstances might the VMkernel use a swap file for a running virtual machine?

  1. Giorgio says:

    The question asks “under which three circumstances might the VMkernel use a swap file for a running virtual machine?”

    Because by default a VM swap file is created when a virtual machine starts, I think that the answer

    C-The virtual machine is starting up

    Is correct. This holds true even if ballooning is possible.

  2. billy says:

    A,B,E are correct.. but the question is poorly worded though.. It says “ballooning is possible”, and C and D are two scenario that won’t have ballooning capability

  3. microsoft says:

    Not sure about this one … Assuming that ballooning is posible doesn’t that mean that there is available memory ? So is this case D should be a good anwser ? also C ?

    cheers,

  4. Sam says:

    The answer is B,C,D for sure.

    Its not (A) because ballooning will start between the 10-15 value and SWAP will be used if it keeps dropping to 2 percent.

    B Because if the value starts to drop to 3 or 2 percent then SWAP will happen. Which is not being recalled fast enough.

    C Because during startup the drivers will not be loaded

    D Becuase you need VMtools installed to work.

    Its not (E) becuase simply its not a true statement

  5. TwojaStara04 says:

    IMHO: BCD and sentence “Assuming that ballooning is possible” means only that it is not disabled, I think.

    http://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.resmgmt.doc%2FGUID-B55F4F6B-44E6-46DE-B8FF-75950020A181.html

    Using Swap Files

    You can specify the location of your swap file, reserve swap space when memory is overcommitted, and delete a swap file.

    ESXi hosts use swapping to forcibly reclaim memory from a virtual machine when the vmmemctl driver is not available or is not responsive.
    ■ It was never installed.
    ■ It is explicitly disabled.
    ■ It is not running (for example, while the guest operating system is booting).
    ■ It is temporarily unable to reclaim memory quickly enough to satisfy current system demands.
    ■ It is functioning properly, but maximum balloon size is reached.

    Standard demand-paging techniques swap pages back in when the virtual machine needs them.


Leave a Reply

Your email address will not be published. Required fields are marked *