Skip to contentSkip to conversation

Output file and async example

DISCUSSION Georg Schönberger 1 participant 1 message Jun 1, 2012

lore
Share & tools
lore
#0 lore raw

Hello out there,

is there a way to specify a separate output file for each job in a job file? I know how to do that on the command line:

:~$ fio --name= test --rw=read --size=10M --bs=1M --output=test-read
In a job file this is not working:
[global]
size=${SIZE}
numjobs=${NUMJOBS}

[seq]
output=seq-test
rw=read
bs=1M

:~$ SIZE=10M NUMJOBS=1 fio fio.jobs
Bad option <output=seq-test>
fio: job seq dropped

The second question is about an example in the HOWTO file:
[...]
Let's look at an example that has a number of processes writing randomly to files.

; -- start job file --
[random-writers]
ioengine=libaio
iodepth=4
rw=randwrite
bs=32k
direct=0
size=64m
numjobs=4

; -- end job file --
[...]
Shouldn't the direct option been changed to "direct=1" as buffered I/O is no async (at least with Linux)?

-Georg