4 ms·
Are the energy consumption values reported by Intel CPUs accurate? Measuring energy consumption for cheap is hard, so I wonder whether they are big approximatio
by speedgoose 2y ago
Are the energy consumption values reported by Intel CPUs accurate? Measuring energy consumption for cheap is hard, so I wonder whether they are big approximations or they have some magic tricks.
- lastgeniusua 2y agoThey've been verified to be fairly accurate: https://dl.acm.org/doi/10.1145/2989081.2989088 https://dl.acm.org/doi/10.1145/2989081.2989088 https://dl.acm.org/doi/10.1145/3177754 https://dl.acm.org/doi/10.1145/3177754
- ngneer 2y agoYes. Much earlier architectures (e.g., Sandy Bridge) used event counters as a rough approximation for energy consumption. However, these days, we use calibrated current sensors, not approximations. These are rather accurate. And accurate enough to do a side-channel attack, too. If software opts-in for security, we also add a little bit of randomness to the readings, in order to avoid measurements being too data-dependent to where crypto would be broken (PLATYPUS attack), but not enough to affect accuracy for normal use cases.
- deleted 2y ago[deleted]