RE: FIO for random seed usage -How to verify the data validation

"Yan, Jane" <[email protected]> Thu, 17 Jul 2025 14:39:30 +0000
Newsgroups org.kernel.vger.fio
Message-ID <SN4PR19MB547194A3A4A1560CB9A2D2F6A851A@SN4PR19MB5471.namprd19.prod.outlook.com>

HI, FIO experts, how are you !

Currently I am using the FIO tool for some testing ,I got a problem which may need your help , Thanks a lot.
Seems if we used the randseed ,we could not do data validation correctly.


I want to use the randseed to generate totally same data pattern to do deduplication seems we cannot do data verification if we used the seed ?
Can you please give me an example how to validate the data with randseed. Thanks .
My step steps:

1. Write configure file:

[write_test]
filename=/home/cyc/tmp/seed/testa.txt
size=8k
rw=write
bs=8k
numjobs=1
iodepth=1
direct=1
sync=1
randseed=383733983
buffer_compress_percentage=50
randrepeat=1

2. Validation conf file:

[write_test]
filename=/home/cyc/tmp/seed/testa.txt
size=8k
rw=read
bs=8k
numjobs=1
iodepth=1
direct=1
sync=1
randseed=383733983
buffer_compress_percentage=50
randrepeat=1
do_verify=1

3. Modify the file testa.txt and then do reun the verify file , which did not report errors this is not expected as I change the testa.txt file ,thanks

Thanks a lot.



Internal Use - Confidential