You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finally, added support for AMD CPUs TDP identification.
Also, publicly documented the different variants of the `tdp-finder.py`.
Last, but not the least important, added crawler to fetch CPUBenchmark database, as well ad documented its usage.
The program `tdp-finder.py` helps to obtain the TDP of an Intel processor, using the gathered metadata stored at `cpu_details.json` within the series directory.
118
+
## TDP (thermal design power) of the used processor
121
119
122
-
Repository https://github.com/felixsteinke/cpu-spec-dataset contains at
123
-
[dataset](https://github.com/felixsteinke/cpu-spec-dataset/tree/main/dataset) subdirectory several tables in CSV format with
124
-
this and other details for many Intel, AMD and Ampere processors. The key column here is `ProcessorNumber`.
120
+
Next accessory programs help to obtain the TDP of either an Intel or AMD processor, used later to estimate the energy consumption of the processes:
121
+
*`tdp-finder.py` uses the gathered metadata stored at `cpu_details.json` within a series directory obtained by either `process-metrics-collector.py` or `execution-metrics-collector.py`.
122
+
*`cpuinfo-tdp-finder.py` uses the processor model strings from `/proc/cpuinfo` (or a copy of it).
123
+
*`modelname-tdp-finder.py` uses the processor model string provided through command line.
125
124
126
-
Forked repository https://github.com/JosuaCarl/cpu-spec-dataset contains at
127
-
[dataset](https://github.com/JosuaCarl/cpu-spec-dataset/tree/main/dataset) subdirectory tables in CSV similar to the ones from original repo, but with different column names. The key column here to match the processor is `Processor Number`.
125
+
Processor TDP specifications are partially available from several sources around internet.
126
+
* Repository https://github.com/felixsteinke/cpu-spec-dataset contains at
127
+
[dataset](https://github.com/felixsteinke/cpu-spec-dataset/tree/main/dataset) subdirectory several tables in CSV format provide details
128
+
for many Intel, AMD and Ampere processors. The key column here is `ProcessorNumber` on Intel CSV file, 'Name' on AMD one, etc...
129
+
* Forked repository https://github.com/JosuaCarl/cpu-spec-dataset contains at
130
+
[dataset](https://github.com/JosuaCarl/cpu-spec-dataset/tree/main/dataset) subdirectory several tables in CSV similar to the ones from original repo, but with different column names. The key column here to match Intel processors is `Processor Number`, for instance.
131
+
* As TDP specifications for many AMD server models are missing from the previous sources, the page https://www.cpubenchmark.net/CPU_mega_page.html provides information for many different models. The downside is that we have detected that some TDP values related to Intel laptop processors might be inaccurate.
128
132
129
-
Usage would be something like next:
133
+
You can fetch either of the two first datasets just with next commands:
For the third source, there is a scraping program within this repository, which writes a trimmed version of the huge table from CPUBenchmark into a CSV file.
143
+
144
+
```bash
145
+
python -m treecript.tdp_sources cpumark_table.csv
146
+
```
147
+
148
+
Once these datasets are locally available, usage of `tdp-finder.py` would be something like next, using an already generated (or even ongoing) metrics directory:
0 commit comments