**Describe the bug** We observe `cpu_percentage` still higher than 100% even though PR https://github.com/alumet-dev/alumet/pull/341 says that it was fixed in v0.9.3. The hardware on which we ran the tests has 96 CPU Cores. Refer the following two issues where we the bug surfaces: - https://github.com/thealanjason/alumet-viz/issues/7#issuecomment-4468320466 - https://github.com/thealanjason/topographic_uq_energy/issues/11 - https://github.com/thealanjason/topographic_uq_energy/pull/9#issuecomment-4320739915 Are we missing something? Do we need to use the `cgroups` plugin? **Environment information** OS: Ubuntu Linux 24.04LTS Alumet version²: v0.9.3. Enabled plugins: ``` 🧩 5 plugins started: - csv v0.2.0 - rapl v0.3.1 - procfs v0.2.1 - nvml v0.5.0 - energy-attribution v0.1.1 ``` **To Reproduce** Steps to reproduce the behavior: Use the config here: https://github.com/thealanjason/energy_measurement/blob/main/measurement_tools/alumet/experiments/08_cpu_percentage_test/alumet-config-cpu-percent-test.toml to `exec` the program here: https://github.com/thealanjason/energy_measurement/blob/86dcdd60bf89a0996294a7200fd82230c2658b3a/case_studies/gemm/gemm.py The program would need a conda/micromamba to be created with the following `environment.yml` file ``` name: test-case-gemm channels: - conda-forge dependencies: - numpy ``` **Expected behavior** `cpu_percent` less than 100% when the program uses all 96 cores. **Logs / Output** - Log file: https://github.com/thealanjason/energy_measurement/blob/86dcdd60bf89a0996294a7200fd82230c2658b3a/measurement_tools/alumet/experiments/08_cpu_percentage_test/alumet-agent-cpu-percent-test.log - CSV Output file: https://github.com/thealanjason/energy_measurement/blob/86dcdd60bf89a0996294a7200fd82230c2658b3a/measurement_tools/alumet/experiments/08_cpu_percentage_test/alumet-output-rapl%2Benergy-attribution.csv
Describe the bug
We observe
cpu_percentagestill higher than 100% even though PR #341 says that it was fixed in v0.9.3.The hardware on which we ran the tests has 96 CPU Cores.
Refer the following two issues where we the bug surfaces:
cpu_percentis still above 100% thealanjason/topographic_uq_energy#11Are we missing something? Do we need to use the
cgroupsplugin?Environment information
OS: Ubuntu Linux 24.04LTS
Alumet version²: v0.9.3.
Enabled plugins:
To Reproduce
Steps to reproduce the behavior:
Use the config here: https://github.com/thealanjason/energy_measurement/blob/main/measurement_tools/alumet/experiments/08_cpu_percentage_test/alumet-config-cpu-percent-test.toml
to
execthe program here: https://github.com/thealanjason/energy_measurement/blob/86dcdd60bf89a0996294a7200fd82230c2658b3a/case_studies/gemm/gemm.pyThe program would need a conda/micromamba to be created with the following
environment.ymlfileExpected behavior
cpu_percentless than 100% when the program uses all 96 cores.Logs / Output