Skip to contentSkip to conversation

FIO creating empty latency log files

DISCUSSION Reed Crowe 2 participants 2 messages Jun 4, 2015 – Jun 20, 2015

lore
Share & tools
lore

Reed Crowe

author
#0 lore raw

Using this version of FIO:
* io-threads
master

rcrowe@rcrowe-desktop:~/fio_iothreads/fio$ ./fio --version
fio-2.2.7-14-g00b2

I have a job file which looks like this:

[global]
ioengine=libaio
direct=1
numjobs=1
bs=4k
iodepth=300
rw=randwrite
randrepeat=0
io_submit_mode=offload
rate_iops=8070
time_based=1
runtime=1m

[slow_write]
filename=/mnt/test1/testfile.io
write_lat_log=/tmp/fio_lat

And it produces empty files:

-rw-r--r-- 1 root   root         0 Jun  4 14:34 fio_lat_clat.1.log
-rw-r--r-- 1 root   root         0 Jun  4 14:34 fio_lat_lat.1.log
-rw-r--r-- 1 root   root         0 Jun  4 14:34 fio_lat_slat.1.log

What am I missing?

________________________________

PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).

#1 lore raw
Quoted 31 lines · Reed Crowe

Using this version of FIO:
* io-threads
master

rcrowe@rcrowe-desktop:~/fio_iothreads/fio$ ./fio --version
fio-2.2.7-14-g00b2

I have a job file which looks like this:

[global]
ioengine=libaio
direct=1
numjobs=1
bs=4k
iodepth=300
rw=randwrite
randrepeat=0
io_submit_mode=offload
rate_iops=8070
time_based=1
runtime=1m

[slow_write]
filename=/mnt/test1/testfile.io
write_lat_log=/tmp/fio_lat

And it produces empty files:

(quoted diff) +0 -3
-rw-r--r-- 1 root   root         0 Jun  4 14:34 fio_lat_clat.1.log
-rw-r--r-- 1 root   root         0 Jun  4 14:34 fio_lat_lat.1.log
-rw-r--r-- 1 root   root         0 Jun  4 14:34 fio_lat_slat.1.log
Quoted 1 line

What am I missing?

Nothing, it was a bug in the io_submit_mode=offload code. Try updating to current -git, this should fix it:

http://git.kernel.dk/cgit/fio/commit/?id=75dc383e9d05369c830559496afa382178905e39

Signature · 1 line
Jens Axboe