Flexible I/O Tester development
 help / color / mirror / Atom feed
* write_iops_log/write_bw_log command line parameter bug
       [not found] <112541105.368381.1377163637545.JavaMail.root@thomas-krenn.com>
@ 2013-08-22  9:37 ` Georg Schönberger
  2013-08-22 17:09   ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Georg Schönberger @ 2013-08-22  9:37 UTC (permalink / raw)
  To: fio

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: write_iops_log/write_bw_log command line parameter bug
  2013-08-22  9:37 ` write_iops_log/write_bw_log command line parameter bug Georg Schönberger
@ 2013-08-22 17:09   ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2013-08-22 17:09 UTC (permalink / raw)
  To: Georg Schönberger; +Cc: fio

On 08/22/2013 03:37 AM, Georg Schönberger wrote:
> 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.

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.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-22 17:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <112541105.368381.1377163637545.JavaMail.root@thomas-krenn.com>
2013-08-22  9:37 ` write_iops_log/write_bw_log command line parameter bug Georg Schönberger
2013-08-22 17:09   ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox