When the simulator fires the event to finish the VM migration, it calls the HostSimple.allocateResourcesForVm() as seen in the figure below:
My question is: is it supposed to work this way?
I have a scenario where I have not defined RAM and bandwidth utilization models, and when the simulator calls the VmSimple.getCurrentRequestdRam(), it returns 0.The problem is that the method ResourceProvisionerSimple.allocateResourceForVm() expects a new capacity and set the capacity of the resource to the given one, which for the unused resources, is 0.Therefore, this is changing the capacity of all VMs in my scenario to zero.I will prevent this from happening in my tests by using an UtilizationModelFull for RAM and bandwidth. I just reported this because I am not sure this is the expected behavior of the simulator.Thanks,Alexandre.
If you received an answer that worked for you, please be kind and reply to let everybody knows it worked.
You received this message because you are subscribed to the Google Groups "CloudSim Plus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloudsim-plu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloudsim-plus/5342fe74-da63-477b-98b3-9b3dea75445fn%40googlegroups.com.