All of lore.kernel.org
 help / color / mirror / Atom feed
* fio output parameter
@ 2017-05-03 20:58 Jeff Furlong
  2017-05-04  5:42 ` Ruvinsky, Konstantin
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Furlong @ 2017-05-03 20:58 UTC (permalink / raw)
  To: fio

Hi All,
When in command line mode, the output parameter dumps the output to a file.  When in job mode, the output parameter cannot be used, so all output goes to stdout.  Can the output parameter be used with job files?  Consider below:

# fio -version
fio-2.19-59-gf52e9

#fio --name=test_job --ioengine=libaio --direct=1 --rw=randread --iodepth=1 --size=100% --numjobs=1 --bs=4k --filename=/dev/nvme0n1 --runtime=10s --time_based --output=test_job

#cat text.txt
[test_job]
ioengine=libaio
direct=1
rw=randread
iodepth=1
size=100%
numjobs=1
bs=4k
filename=/dev/nvme0n1
runtime=10s
time_based
output=test_job

# fio test.txt
Bad option <output=test_job>


Regards,
Jeff


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

* RE: fio output parameter
  2017-05-03 20:58 fio output parameter Jeff Furlong
@ 2017-05-04  5:42 ` Ruvinsky, Konstantin
  2017-05-04 16:13   ` Jeff Furlong
  0 siblings, 1 reply; 3+ messages in thread
From: Ruvinsky, Konstantin @ 2017-05-04  5:42 UTC (permalink / raw)
  To: Jeff Furlong, fio

Hi,

You can use the following:

fio --output kuku.log test.txt

and remove output from the job file

Regards
Konstantin


-----Original Message-----
From: fio-owner@vger.kernel.org [mailto:fio-owner@vger.kernel.org] On Behalf Of Jeff Furlong
Sent: Wednesday, May 03, 2017 11:59 PM
To: fio@vger.kernel.org
Subject: fio output parameter

Hi All,
When in command line mode, the output parameter dumps the output to a file.  When in job mode, the output parameter cannot be used, so all output goes to stdout.  Can the output parameter be used with job files?  Consider below:

# fio -version
fio-2.19-59-gf52e9

#fio --name=test_job --ioengine=libaio --direct=1 --rw=randread --iodepth=1 --size=100% --numjobs=1 --bs=4k --filename=/dev/nvme0n1 --runtime=10s --time_based --output=test_job

#cat text.txt
[test_job]
ioengine=libaio
direct=1
rw=randread
iodepth=1
size=100%
numjobs=1
bs=4k
filename=/dev/nvme0n1
runtime=10s
time_based
output=test_job

# fio test.txt
Bad option <output=test_job>


Regards,
Jeff

--
To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* RE: fio output parameter
  2017-05-04  5:42 ` Ruvinsky, Konstantin
@ 2017-05-04 16:13   ` Jeff Furlong
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Furlong @ 2017-05-04 16:13 UTC (permalink / raw)
  To: Ruvinsky, Konstantin, fio

Thanks.  Using --output on the command line will work for my simple example.  However, if I make two jobs in one file, then the --output parameter forces all output into one file.

[test_job]
ioengine=libaio
direct=1
rw=randread
iodepth=1
size=100%
numjobs=1
bs=4k
filename=/dev/nvme0n1
runtime=10s
time_based
output=test_job
[test_job2]
ioengine=libaio
direct=1
rw=randread
iodepth=2
size=100%
numjobs=1
bs=4k
filename=/dev/nvme0n1
runtime=10s
time_based
output=test_job2

Maybe it's best to make one job file per fio job.

Regards,
Jeff


-----Original Message-----
From: Ruvinsky, Konstantin [mailto:Konstantin.Ruvinsky@dell.com] 
Sent: Wednesday, May 3, 2017 10:43 PM
To: Jeff Furlong <jeff.furlong@wdc.com>; fio@vger.kernel.org
Subject: RE: fio output parameter

Hi,

You can use the following:

fio --output kuku.log test.txt

and remove output from the job file

Regards
Konstantin


-----Original Message-----
From: fio-owner@vger.kernel.org [mailto:fio-owner@vger.kernel.org] On Behalf Of Jeff Furlong
Sent: Wednesday, May 03, 2017 11:59 PM
To: fio@vger.kernel.org
Subject: fio output parameter

Hi All,
When in command line mode, the output parameter dumps the output to a file.  When in job mode, the output parameter cannot be used, so all output goes to stdout.  Can the output parameter be used with job files?  Consider below:

# fio -version
fio-2.19-59-gf52e9

#fio --name=test_job --ioengine=libaio --direct=1 --rw=randread --iodepth=1 --size=100% --numjobs=1 --bs=4k --filename=/dev/nvme0n1 --runtime=10s --time_based --output=test_job

#cat text.txt
[test_job]
ioengine=libaio
direct=1
rw=randread
iodepth=1
size=100%
numjobs=1
bs=4k
filename=/dev/nvme0n1
runtime=10s
time_based
output=test_job

# fio test.txt
Bad option <output=test_job>


Regards,
Jeff

--
To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2017-05-04 16:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-03 20:58 fio output parameter Jeff Furlong
2017-05-04  5:42 ` Ruvinsky, Konstantin
2017-05-04 16:13   ` Jeff Furlong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.