Research Article
Learning-Based Virtual Machine Selection in Cloud Server Consolidation
| Input: hostlist, vmList | | Output: allocation of the VMs | (1) | for each VM in vmList do | (2) | minPower MAX | (3) | allocatedHost NULL | (4) | for host in hostList do | (5) | if no SLAV on this host and not the source host for VM then | (6) | power estimatePower (host, VM) | (7) | if power < minPower then | (8) | allocatedHost host | (9) | manpower power | (10) | end if | (11) | end if | (12) | end for | (13) | if allocatedHost NULL then | (14) | allocation.add (VM, allocatedHost) | (15) | end if | (16) | end for return allocation |
|