Potential Bug: Block size dropped in log files when running with log_avg_msec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I've been doing some test runs with fio using the write_bw_log, write_lat_log and write_iops_log options, and I've needed to use the log_avg_msec option to set my sample interval.   I've noticed when running with log_avg_msec, the block size is dropped from the logs.  See examples of the BW log:

Without log_avg_msec:

13, 14833, 0, 32768
13, 14780, 1, 32768
13, 14780, 1, 32768
13, 15003, 0, 32768
13, 17702, 1, 32768
13, 17655, 1, 32768

With log_avg_msec:

500, 312320, 0, 0
1090, 343972, 0, 0
1090, 310784, 1, 0
2083, 329861, 0, 0
2083, 324756, 1, 0
3073, 285252, 0, 0
3073, 306290, 1, 0
4040, 320644, 0, 0

-----------------------------------------------------------
Now for the other details:

Environment: Linux Kubuntu 16.04.  Uname output:

    Linux <hostname> 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Fio version:

   fio-2.9-35-g5c8f

GCC version:

    $ gcc --version
    gcc (Ubuntu 5.3.1-14ubuntu2) 5.3.1 20160413

Job file (named fileTest.job):

    [global]
    ioengine=aio
    numjobs=1
    offset=0
    verify=crc32c-intel
    time_based
    runtime=120
    thread

    [1]
    blocksize=32k
    readwrite=rw
    verify=meta
    do_verify=0
    verify_pattern=0xAA55AA55
    iodepth=32
    filename=/tmp/fio.dat
    size=100M

Command line:

    #!/bin/bash
    /opt/build/fio/fio --write_iops_log $1 --write_bw_log $1 --write_lat_log $1 --output-format=json --status-interval=1 fileTest.job

Failure command line is the same as above, but add --log_avg_msec 500
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux