Repository navigation
fix(dmb): fix latency units/source (lat_ns/1e6), bandwidth units (bw_bytes/1e6), and enable lat_percentiles - #235
Merged
Conversation
…le lat_percentiles
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the FIO result aggregator to extract bandwidth in decimal MB/s and prefer total latency (lat_ns) over completion latency (clat_ns) to better handle synchronous blocking on FUSE. It also corrects the aggregation logic by using minimum and maximum functions for latency bounds instead of averages, tracks valid iterations correctly, adds comprehensive unit tests, and enables lat_percentiles=1 in several FIO configuration files. There are no review comments, and I have no additional feedback to provide.
PranjalC100
force-pushed
the
fix/dmb-result-aggregator-metrics
branch
from
November 25, 2026 16:19
2c7171f to
5ef84c1
Compare
PranjalC100
approved these changes
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes metric extraction and aggregation bugs in
distributed-micro-benchmark/helpers/result_aggregator.pyand enables total-latency percentiles in the FIO templates:lat_nsinstead ofclat_nsand fix 1,000x unit bug: Withlibaioon FUSE, I/O blocks inio_submit()(slat_ns), leavingclat_nswith only microseconds of overhead atiodepth=1. Also fixesdivisorfrom1000.0to1_000_000.0(FIO reports bothlat_nsandclat_nsin nanoseconds, not microseconds).lat_percentiles=1to the.fiotemplates: FIO only emitspercentileunderclat_nsby default, solat_percentiles=1is needed to populatep50,p90, andp99underlat_ns.bw_bytes / 1_000_000.0(withbw * 1024 / 1_000_000.0fallback) for decimalMB/sinstead of dividing KiB/sbwby1000.0.min/maxanditerations: Usesmin()/max()across iterations instead of averaging them, and counts only valid parsed FIO JSON files.Tracking Bug
b/590453297