Write and verify

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have some basic questions:

1. Is following a correct understanding?
If time_based is not set and nrfiles = 1 and size = 1GB.
A sequential write job will write 1GB worth of data and create a
"solid" 1GB file (writes will cover all file blocks).
A random write job with norandommap = 0 will write 1GB worth of data
and create a "solid" 1GB file (writes will cover all file blocks).
A random write job with norandommap = 1 will write 1GB worth of data
and create a 1GB file with potential "holes"  (some file blocks may
not be written).

2. Is the following a valid usage of fio's write and verify capabilities?
If so, is it possible to add "time_based" and "runtime" parameters to
the write-job and still expect verify-job to function correctly (i.e.
verify data that was written within runtime)?
Also, does "verify_only=1" mean the verify-job's "rw" parameter is
ignored? (suppose we've written sequentially, but want to verify the
data through random or sequential reads)
https://fio.readthedocs.io/en/latest/fio_man.html#cmdoption-arg-verify-only
mentioned that "verify_only" flag "Do not perform specified workload,
only verify data still matches previous invocation of this workload."

[write-job]
ioengine=libaio
bs=4K
size=1GB
numjobs=2
iodepth=64
rw=randwrite
direct=1
verify_state_save=1
verify=crc32c
do_verify=0
serialize_overlap=1

[verify-job]
ioengine=libaio
bs=4K
size=1GB
numjobs=2
verify_state_load=1
verify_only=1
iodepth=64
rw=randread
direct=1
verify=crc32c

Thanks!



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux