Bug #3843
closed
[Crunchstat] Report CPU accounting numbers accurately.
Added by Ward Vandewege over 10 years ago.
Updated almost 10 years ago.
Description
Expected by user: same as CPU usage figures reported by top (between 0 and 400 on a 4-core node).
Currently reported: CPU usage divided by number of cores available, rounded or truncated to an integer.
Both numbers are useful. Crunchstat should log the raw data, and let the post-processing step do the dividing and rounding as desired.
Implementation:
- Log CPU load as a percentage of one CPU core. Round to 2 decimal places.
- Log #cores with each status update (instead of just when it changes) to make it easy to parse.
- Target version set to Arvados Future Sprints
- Subject changed from [Crunchstat] cpu accounting numbers appear off. They seem to never go above 10, so it's certainly not a percentage of CPU load (which is what I expected). to [Crunchstat] cpu accounting numbers appear off. They seem to not be a percentage of CPU load (which is what I expected).
- Subject changed from [Crunchstat] cpu accounting numbers appear off. They seem to not be a percentage of CPU load (which is what I expected). to [Crunchstat] Report CPU accounting numbers accurately.
- Description updated (diff)
- Category set to Crunch
- Status changed from New to Resolved
- Assigned To set to Tom Clegg
- Target version deleted (
Arvados Future Sprints)
Fixed by 3b0de2173e005deacc22d083a4aea23f9a648865 during #3826.
Also available in: Atom
PDF