Boavizta / boaviztapi

🛠 Giving access to BOAVIZTA reference data and methodologies trough a RESTful API
GNU Affero General Public License v3.0
66 stars 23 forks source link

Characterize the consumption profile of CPU from TDP #122

Closed samuelrince closed 1 year ago

samuelrince commented 1 year ago

The implementation and testing of the issue https://github.com/Boavizta/boaviztapi/issues/121, about CPU consumption profiles using TDP is done.

The compute_consumption_profile_model() method from CPUConsumptionProfileModel has a new parameter cpu_tdp corresponding the the CPU TDP value in Watts.

Calling the method with cpu_tdp set and no workload/power data points will trigger the curve fitting feature using "fake" workload/power data points generated from TDP power ratios computed here: AWS Platforms Ratios.