Skip to content
Kilian Melcher edited this page Jun 1, 2022 · 5 revisions

Output files are generated as a result of the simulation and should be stored on the output directory.
There are two types of output files: policy output and metrics output.

Policy Output

The policy output shows the effect of the auto-scaling decisions by the policy on the system. It contains a table with the following columns:

  • timestamp: Timestamp column from input data.
  • Cores: Demanded cores for an application (Cores column from input data).
  • AllocatedCores: Allocated cores by the simulation.
  • SystemUtilization: Percentage of demanded cores over allocated cores.
  • RealAllocatedCores: Real allocated cores by the trace's auto-scaling policy.
  • RealSystemUtilization: Real system utilization percentage by the trace's auto-scaling policy.
  • ExceededCores: Amount of cores that is not supported by the allocated infrastructure.
  • Decision: Amount of new cores decided by the policy, that will be allocated after the application start time.
  • CooldownUp: Amount of timestamps to wait until the next scaling up decision. This cooldown is trigger right after the scaling up action.
  • CooldownDown: Amount of timestamps to wait until the next scaling down decision. This cooldown is trigger right after the scaling down action.

you can see an example here.

Metrics Output

The metrics output file shows how the policy performed by showing metrics. It contains a table with the following columns:

  • SimulatedADI: ADI resulted of the auto-scaling simulation.
  • RealADI: ADI resulted of the auto-scaling trace.
  • ADI_PDIFF: Percentage difference between real and simulated ADI.
  • MAE: Mean Absolute Error between real and simulated ADI.
  • SMAPE: Symmetric mean absolute percentage error between real and simulated ADI.
  • PDIFF: Percentage difference between real and simulated allocated cores.

you can see an example here.

Clone this wiki locally