Open xldrx opened 6 years ago
Wouldn't you be better off using filename? As this isn't so much an issue in fio and more of a "how do I?" question it might be better aimed at the fio mailing list.
Filename works fine, but I need to use more files hence filename_format.
I find this behavoiur more like a bug.
+1 for treating this as a bug, since the docs would indicate that this is the intended use - it just seems to get tripped up when using numjobs=# to create duplicate jobs when one wishes to test many threads/procs doing the same thing.
Combining numjobs with filename_format would be very nice for more concise and readable workload files.
The following workload files all try to accomplish the same thing, but the last one fails due to this issue. test.txt test2.txt test3.txt
It appears that between fio-3.12 (from Ubuntu packages) and fio-3.14 (built myself) the "No I/O performed by {ioengine}" message no longer appears, which seems like a bigger bug. Without the error message, one would have to actually notice that in the status bar you only get one running thread with the rest in "dead"/_ state.
I see this in both Ubuntu 19.04 and FreeBSD 11.2 when building from the fio-3.14 source tarball.
I am trying to share files between threads with no success. The following fio file works perfectly:
However, when I change the
filename_format=data-$jobnum-$filenum.bin
tofilename_format=data-$filenum.bin
(removing $jobnum to share the files), I get the following error from all but one thread:I also added the
size=256m
just in case, but the job still fails with the following error:debug=all
suggests that the error is this:I have tried this on fio v3.8, v3.7, v2.99, and v3.1 (centos yum). As well as different filesystems.
Any thoughts on what I am missing?