Bug #3843

[Crunchstat] Report CPU accounting numbers accurately.

Added by Ward Vandewege about 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
0.5

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.

Related issues

Related to Arvados - Story #3826: [Crunch] Display network activity in crunchstatResolved10/10/2014

History

#1 Updated by Ward Vandewege about 5 years ago

  • Target version set to Arvados Future Sprints

#2 Updated by Ward Vandewege about 5 years ago

  • 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).

#3 Updated by Tom Clegg about 5 years ago

  • 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

#4 Updated by Tom Clegg over 4 years ago

  • 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