maximum CPU capacity limit and VM could be allocated within this limit. Based on heuristics, if the CPU capacity limit is exceeded, then VMs can be migrated through live migration. It is assumed that when a host is in idle mode, it considered to be in switch off mode and it consumes no power. All functioning hosts are referred to be in active mode. However, the problem is when a VMs should be migrated for minimizing power consumption. We will propose certain algorithms which are chosen for the appropriate VMs migration to minimize power consumption.\

![image](VM_cons){width="3in"}

Fig. 2 shows a dynamic VM consolidation which saves power consumption by using VM consolidation and by turning off the idle host after VM consolidation. For a dynamic VM consolidation, we have assumed that there are n homogeneous hosts with an $Ah$ capacity for each host and the maximum capacity of the CPU that can be allocated is $Av$. Hence, the maximum capacity of a host for VM allocation is $m=\frac{A_h}{A_v}$. Thereofore, the total number of VMs that will be allocated to all hosts is $mn$. We assume that an idle host consumed no power because no VM is allocated in an idle host, 