-
Notifications
You must be signed in to change notification settings - Fork 0
Documentation
Bogdan Irimie edited this page Dec 4, 2016
·
1 revision
The cloud simulator uses two distinct times:
- the simulation time (stime) is incremented with the maximum value that defines no changes to the current state;
- the request time (tTime) represents the time in the trace file for the current request.
The two time representations can be different, but the maximum difference between them is the task timeout (sTime <= tTime + taskTimeout). The simulation time will always bee grater than or equal to the trace time (sTime >= tTime).
ClusterFormationController has logic to account for the different between sTime and tTime. When deciding the time until the new VM will be started, it takes into account the difference between sTime and tTime.