Open wxgsdy opened 3 years ago
Also, I tried to remove --nrfiles
configurations and leave only --filesize
, fio is taking default values as 1 for --nrfiles
.
Here is the configuration file I am using for my fio testing:
[global]
loops=1
time_based=1
runtime=180
direct=1
ioengine=libaio
cpus_allowed=0,2,4,6,8,10,12,14
directory={some local directory}
group_reporting
[256k 100%seq 100% write]
rw=write
bs=256K
filesize=1M
numjobs=8
iodepth=4
ramp_time=30
stonewall
Is the option --create_on_open
you are looking for?
Description of the new feature
Hello fio team, fio has been a really powerful and handy tool since I found this. Appreciate you guys' contribution to this.
I have been playing with
--nrfiles, --filesize
configuration, and I set my job to be time based. But is seems no matter how I set those parameters, fio is always creating this number of files(nrfiles
) at one time with size offilesize
for each, and then overwrite them over and over again.Is there a way we can control fio to write files with unified size(
filesize
) and create them in sequence and run for a specific time(runtime
) instead of overwriting.I have been reading over the public doc for fio, but not finding any configurations can do this, so I created this feature request for discussion.
Thanks