Enable VmAllocationPolicy implementations to power Hosts on and off as required #128
Host has an
In real environments, if a Host CPU utilization is zero, it's actually powered off. Even if the Host doesn't have user applications running, it has its own operating system (OS), so its CPU usage will be greater than zero.
But in simulation, it isn't being considered the overhead of the Host's OS. The CPU utilization data is just about running VMs, not the Host's OS. Therefore, when there aren't running VMs, the Host's CPU utilization becomes zero. This way, we are considering the Host is powered off immediately after it is idle. Despite idle and powered off states are different, they are being treated the same.
The way original CloudSim checks if a Host is active is if its CPU utilization is zero, which doesn't mean the Host is powered off.
The text was updated successfully, but these errors were encountered: