trace benchmark support

未关闭
#119 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 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 内容生成。

描述

enhancement ui/ux

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:

  1. Time - offset in nanoseconds from the start of trace
  2. Direction - Read (0) or Write (1)
  3. Offset - the starting byte on the disk
  4. 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.

  1. replay speed options:
    • real-time
    • ASAP - ignore idle time between request
  2. visualization - heatmap or IOPS overtime
  3. timeline indicator - a know showing the progress of where we are in the trace replay
  4. 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:

  • MappedByteBuffer could 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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

JDiskMark/jdm-java 的其他 Issue

查看 JDiskMark/jdm-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。