Skip to content

bench(compaction): add fusio-level IO probes for compaction/read amplification #586

@belveryin

Description

@belveryin

Summary

Instrument benchmark FS path with counting probes to capture operation counts and byte-level IO for compaction/read scenarios.

Motivation

Compaction performance changes are often driven by IO pattern shifts; we need direct counts, not just latency.

Scope

  • Introduce benchmark-only counting FS wrapper (similar to existing test counting wrappers).
  • Capture at minimum:
    • file read ops
    • file write ops
    • bytes read
    • bytes written
    • SST files touched
  • Wire counters into benchmark JSON output.

Acceptance Criteria

  1. Each scenario reports non-empty IO counters.
  2. Counters are reset per scenario and isolated.
  3. No invasive change to production FS interfaces.

Out of Scope

  • Prometheus/OpenTelemetry export.

Labels

performance, benchmark, io, compaction

Metadata

Metadata

Assignees

Labels

in_reviewWork is ready and under review

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions