I am currently trying out a simple simulation by assigning a single CloudletSimple with the default UtilizationModelNull for ram
. After the cloudlet has finished execution on the allocated VM (VmSimple) and the VM has shutdown, I noticed that the VM does not release ram
resources on the host. A quick solution is to use UtilizationModelFull instead for ram and bandwidth.
I want to know is this the expected behaviour? Shouldn't the host release all resources used by the VM even if the VM utilization is not 100%?
Seems like the logic is done in HostSimple.deallocateResourcesOfVm(final Vm vm). You can set a breakpoint on line 673 when debugging to verify the bug.