Hi Nicolay
im new with cloud sim & i'm using it to simulate an optimisation in resources allocation to minimize SLA violation under heavy load
so to start i'v created a data center with one host 1 cpu, 1000mips, 1024 ram, 10000 bw ....etc
& i'v allocated 1 vm with 1cpu 500mips,512ram.1000bw, imagesize 10000 ...etc
& i executed cloudlet withe diffrent size => different execution time and the coste stille the same
the DatacenterCharacteristics is like this
double cost = 3.0; // the cost of using processing in this resource
double costPerMem = 0.05; // the cost of using memory in this resource
double costPerStorage = 0.001; // the cost of using storage in this resource
double costPerBw = 0.0; // the cost of using bw in this resource
the cost is 35.6 no matter haw long the execution was
the cost is calculated by ( amount of ram * costPerRam ) + ( imagesize * costPerStorage )
i'v tried to change the variable cost = 0.3 & nothing happen
in my work i'm trying to simulate pricing by used time of both ram & cpu if any one have some info about the cost and why it doesn't affect any thing and how to calculate cost by used time ,
please give me some answers about cost or if the cloudsim can simulat SLA pricing
thanks in advance