fio
fio copied to clipboard
specifying log_compression results in log_avg_msec ignored for bw and iops logs
Please acknowledge the following before creating a ticket
- [x] I have read the GitHub issues section of REPORTING-BUGS.
Description of the bug:
If log_compression
is specified together with log_avg_msec
, then bw and iops logs still contain a separate entry for each I/O done (instead of averages as expected).
Environment: Arch Linux, 6.7.5-arch1-1
fio version: fio-3.37
Reproduction steps
[global]
size=1TB
kb_base=1000
ioengine=libaio
invalidate=1
direct=1
write_bw_log
write_iops_log
write_lat_log
log_compression=128MiB
log_avg_msec=10
[test]
rw=read
io_limit=2GiB
iodepth=64
Run with fio --filename /dev/sdX test.fio
.
Observe lots of non-averaged entries in the bw and iops logs:
9, 2803, 0, 0, 0
9, 3107, 0, 0, 0
9, 3103, 0, 0, 0
9, 3102, 0, 0, 0
9, 3102, 0, 0, 0
9, 3101, 0, 0, 0
9, 3101, 0, 0, 0
9, 3101, 0, 0, 0
9, 3100, 0, 0, 0
9, 3100, 0, 0, 0