Project

General

Profile

Actions

Bug #3843

closed

[Crunchstat] Report CPU accounting numbers accurately.

Added by Ward Vandewege over 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
-
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 - Idea #3826: [Crunch] Display network activity in crunchstatResolvedTom Clegg10/10/2014Actions
Actions #1

Updated by Ward Vandewege over 9 years ago

  • Target version set to Arvados Future Sprints
Actions #2

Updated by Ward Vandewege over 9 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).
Actions #3

Updated by Tom Clegg over 9 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
Actions #4

Updated by Tom Clegg almost 9 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.

Actions

Also available in: Atom PDF