oxidecomputer / oxidecomputer/crucible

Upstairs stat buckets for IO times

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

Nobody has claimed this yet.

Dominant language
Rust
Stars
260
Forks
34
Avg merge
2d 1h
Merged PRs (30d)
8

Description

After a chat with @rmustacc
Upstairs should record IO times in 6 or so buckets where a bucket is basically a count of IOs that
have happened between this bucket and the bucket below it. I.e. have buckets like:

IO took less than or up to 1 ms
IO between 1 ms and 10 ms
10 ms - 100 ms
100 ms - 1 sec,
1 sec - 5 sec,

5 sec

These stats would start when the Upstairs first starts, and live for the entire time the upstairs is running.

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

No files or tests are named. Start by locating Upstairs IO accounting and existing statistics entry points, then trace where IO durations are available. Done means Upstairs records counts in the six requested duration ranges from startup through shutdown.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
observability, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.