write_iops_log/write_bw_log command line parameter bug
Hi Jens,
it seems that the command line options "write_iops_log" and "write_bw_log" don't work as they are described in the man page:
"If no filename is given with this option, the default filename of "jobname_type.log" is used."
Unfortunately the files/filenames are not created automatically by fio:
# fio --name=test --direct=1 --refill_buffers --filesize=1G --bs=8k --rw=randread --ioengine=libaio --runtime=60 --write_iops_log --write_bw_log [...] # ls lost+found test.1.0 --write_bw_log_iops.log
If I specify the filenames everything is fine:
# rm ./--write_bw_log_iops.log # fio --name=test --direct=1 --refill_buffers --filesize=1G --bs=8k --rw=randread --ioengine=libaio --runtime=60 --write_iops_log=rr-iops --write_bw_log=rr-bw [...] # ls lost+found rr-bw_bw.log rr-iops_iops.log test.1.0
I am using fio version fio-2.1.2-13-g3e10.
Best regards, Georg
--
: Georg Schönberger
: Research & Development Executive
: Thomas-Krenn.AG | The server-experts
: http://www.thomas-krenn.com | http://www.thomas-krenn.com/wiki
Quoted 11 lines · Georg Schönberger
Hi Jens,
it seems that the command line options "
write_iops_log" and "write_bw_log" don't work as they are described in the man page:
"If no filename is given with this option, the default filename of "jobname_type.log" is used."Unfortunately the files/filenames are not created automatically by fio:
# fio --name=test --direct=1 --refill_buffers --filesize=1G --bs=8k --rw=randread --ioengine=libaio --runtime=60 --write_iops_log --write_bw_log [...] # ls lost+found test.1.0 --write_bw_log_iops.log
Quoted 8 lines
If I specify the filenames everything is fine:
# rm ./--write_bw_log_iops.log # fio --name=test --direct=1 --refill_buffers --filesize=1G --bs=8k --rw=randread --ioengine=libaio --runtime=60 --write_iops_log=rr-iops --write_bw_log=rr-bw [...] # ls lost+found rr-bw_bw.log rr-iops_iops.log test.1.0I am using fio version fio-2.1.2-13-g3e10.
Don't think there's an easy way to fix this, outside of requiring some name being set. Arguably that should probably be the way that it functions.
Signature · 1 line
Jens Axboe