Skip to content

log_hist_coarseness parameter causes fio-hist-log-pctiles.py to fail #826

Open
@bengland2

Description

@bengland2

For example, if log_hist_coarseness=4 parameter is used in a job file, the resulting log causes this error.

[bengland@bene-laptop repro]$ python ../fio-histo-log-pctiles.py x_clat_hist.1.log 
fio version = 3
bucket groups = 29
bucket bits = 6
time quantum = 1 sec
percentiles = 0.0,50.0,95.0,99.0,100.0
buckets per group = 64
buckets per interval = 1856 
output unit = usec
ERROR: 116 buckets per interval but 1856 expected in in histogram record 2 file x_clat_hist.1.log

Seems like it could automatically recognize the coarseness from the number of buckets in the record, since bucket count is 1856/(2^k) where k is coarseness.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions