Accelergy-Project / accelergy

Accelergy is an energy estimation infrastructure for accelerator energy estimations
http://accelergy.mit.edu
MIT License
126 stars 40 forks source link

A Qeustion about Idle energy consumption equation #17

Closed cocojk closed 1 year ago

cocojk commented 1 year ago

I've read the accelergy cacti energy calculation equation in accelergy-cacti-plug-in/cacti_wrapper.py

In line 224-227, the actual idle energy (the total leakage energy consumption) is obtained by parsing the cacti output. In this equation, is there any reason for multiplying 'Random cycle time'?

224 standby_power_in_w = float(row[cacti_entry]) * 10 -3 # mW -> W 225 idle_energy_per_bank_in_j = standby_power_in_w float(row[' Random cycle time (ns)']) 10 -9 226 idle_energy_per_bank_in_pj = idle_energy_per_bank_in_j * 10 * 12 227 energy = idle_energy_per_bank_in_pj n_banks

tanner-andrulis commented 1 year ago

This is a heuristic used as a proxy for the latency. It will be replaced with a more rigorous solution in a coming update.

Thanks for the interest!