trace benchmark support

Aberta
#119 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
java
Domínio
performance

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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
Linguagem predominante
Java
Estrelas
6
Forks
6
Merge médio
10h 11min
PRs com merge (30d)
12

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de JDiskMark/jdm-java

Todas as issues de JDiskMark/jdm-java

Issues semelhantes

Mais issues de Java

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.