Minimizes the energy consumption in a Cloud Enviornment by optimizing the allocation of Containers to Vms, and Vms to Pms.
Either compile each library file individually and link them to main.c on execution or run project-bpp.cbp
with Code Blocks
and build from there.
The cofigurations can be found in macros.c
. VM and container configuration can be selected from these:
VM_TYPE
: Denotes the type of VM to be selected, it can havevm_syn
for synthetic vms andvm_rea
for real vms.VM_SIZE
: 10 for synthentic vms, 20 for real vms.CNT_TYPE
: Denotes the type of containers to be allocated, it can havecn_syn
for synthentic containers andcn_rea
for real containers.CNT_SIZE
: It can take values from200,500,1000,1500