trace benchmark support
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- java
- 领域
- performance
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Java
- 星标
- 6
- 派生
- 6
- 平均合并
- 10 小时 11 分钟
- 30 天内合并 PR
- 12
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JDiskMark/jdm-java 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
enhancement linux
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
documentation linux
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
enhancement linux
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
-
bug linux
难度 3/5 1-2 天 新手友好度 52/100
维护者通常 1 天内回复
查看 JDiskMark/jdm-java 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
bloxbean/yaci-store#1445 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
-
Spare Permission未关闭
难度 2/5 1-3 小时 新手友好度 63/100
Etar-Group/Etar-Calendar#2234 ·
维护者通常 1 天内回复
-
[BUG] MCP resources-as-tools drops invocation context when listing templates可能已有人在做 @CryoThrust 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
langchain4j/langchain4j#7320 ·
维护者通常 1 天内回复