lowRISC / lowRISC/dvsim

Store scheduler metrics

Open
#27 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13
Forks
21
Avg merge
1d 11h
Merged PRs (30d)
8

Description

It would be useful to store metrics from the scheduler such as how long each job took to run. Number of concurrent jobs over time throughout a run. Data in a format that makes it easy to plot scheduling decisions and runner utilisation over time.

It may be better to improve the logging information, and then calculate the metrics by parsing the logs? Perhaps add a log entry per job completion with start, end, and duration?

Alternatively, or potentially as well as, save that information and more to the scratch directory as individual job run meta data. This could also include results state, perhaps error logs on a job failure. This would allow us to recreate the summary JSON files from individual job state JSON files.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the scheduler and the existing logging and scratch-directory outputs described in the issue. Compare whether job completion data should be logged, stored as per-job metadata, or both, and define a format that supports plotting scheduler decisions and runner utilisation and can recreate the summary JSON files.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.