Skip to content

JSON output "steadystate" section - bandwidth is in bytes instead of kilobytes #1134

Open
@louwrentius

Description

@louwrentius

Background:

JSON OUTPUT
The json output format is intended to be both human readable and convenient for automated parsing. For the most part its sections mirror those of the normal output. The runtime value is reported in
msec and the bw value is reported in 1024 bytes per second units.

Unfortunately, it seems that the bandwidth numbers in the steadystate section are in bytes/s. (see data below)

I would like to request to scale this data to kilobytes too, conform the standard for JSON OUTPUT, if possible.

"steadystate" : {
"ss" : "iops:1.000000%",
"duration" : 10,
"attained" : 1,
"criterion" : "0.744490%",
"max_deviation" : 126.800000,
"slope" : 0.000000,
"data" : {
"bw_mean" : 69762791,
"iops_mean" : 17031,
"iops" : [
17040,
16968,
17026,
17115,
17014,
17148,
16905,
17128,
17002,
16972
],
"bw" : [
69796004,
69500928,
69738602,
70103040,
69689344,
70238814,
69242880,
70156812,
69640192,
69521297
]

I double-checked that the bandwidth was around 70 MB/s with dstat when that benchmark was run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needsattentionpatcheswelcomeNo one internal is working on this but an external contributor's help is very welcome!

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions