trace benchmark support

Ouverte
#119 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
25/100
Type d'issue
Fonctionnalité
Clarté
À clarifier
Activité
À l'abandon
Stack technique
java
Domaine
performance

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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
Langage dominant
Java
Étoiles
6
Forks
6
Merge moyen
10 h 11 min
PR mergées (30 j)
12

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de JDiskMark/jdm-java

Toutes les issues de JDiskMark/jdm-java

Issues similaires

Plus d'issues Java

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.