trace benchmark support
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- java
- Domain
- performance
Research direction
Start by reading the existing synthetic benchmark flow; the issue does not name files, tests, or entry points. The scope includes trace format support, replay modes, visualization, scoring, and threading, so clarify the initial deliverable before starting; done would mean an agreed, working trace-benchmarking feature.
Written by the indexing model from the issue text.
Description
To date we only support synthetic benchmarks.
trace benchmarking uses recorded real world app data to be replayed for measuring realistic performance of the drive.
Tools such as PCMark 10, Fio and Storage Executive has support for trace benchmarking.
Fio has a binary iolog format which would be a good initial format to support. The fields are believed to be:
- Time - offset in nanoseconds from the start of trace
- Direction - Read (0) or Write (1)
- Offset - the starting byte on the disk
- Length - size of the request (eg 4096 bytes)
a potential interface might be a tab to separate the synthetic vs trace controls. maybe reuse graph or start a new one dedicated for handling traces.
- replay speed options:
- real-time
- ASAP - ignore idle time between request
- visualization - heatmap or IOPS overtime
- timeline indicator - a know showing the progress of where we are in the trace replay
- drift monitor - indicator showing if drive is falling behind the trace's original timing
drive scoring:
| metric | calculation | notes |
|---|---|---|
| fidelity score | (trace duration / replay time ) x 100 | in real mode less than 100 indicates lag |
| 99th percentile | time below whihc 99% of I/O completions fall | captures stuttering? |
| normalized bw | avg mb/s during active io periods | helps compare drives across different traces |
| wat time ratio | percentage of time cpu is waiting for I/O to finish | high % indicates disk is a bottle neck for that workload |
implementation notes:
MappedByteBuffercould be used for offset-based reading and writing.- public traces usually come in these formats:
- Fio Binary/ASCII iolog
- SNIA/IOTTA (CSV)
- Blktrace (linux binary)
- threading
- default threading to 32
- make configurable
- use dispatcher thread to launch from a thread pool of n threads
- Dominant language
- Java
- Stars
- 6
- Forks
- 6
- Avg merge
- 10h 11m
- Merged PRs (30d)
- 12
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JDiskMark/jdm-java
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
enhancement linux
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
documentation linux
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
enhancement linux
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
bug linux
Difficulty 3/5 1-2 days Newbie friendliness 52/100
Maintainers usually reply within 1 day
All issues in JDiskMark/jdm-java
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bloxbean/yaci-store#1445 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Spare PermissionOpen
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
Etar-Group/Etar-Calendar#2234 ·
Maintainers usually reply within 1 day
-
[BUG] MCP resources-as-tools drops invocation context when listing templatesPossibly taken @CryoThrust claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
langchain4j/langchain4j#7320 ·
Maintainers usually reply within 1 day