-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Please acknowledge the following before creating a ticket
- [ v] I have read the GitHub issues section of REPORTING-BUGS.
Description of the bug:
fio --buffer_compress_percentage=82 --buffer_compress_chunk=512 --thread=1 --filename=/dev/nvme0n1 --direct=1 --rw=randrw --verify=md5 --ioengine=libaio --bs=127k --iodepth=32 --numjobs=1 --size=20G --mem_align=512 --rwmixread=30 --group_reporting --name=randrw_30rwmixread_127k_4job_32QD_512mem --runtime=1800 --time_based
randrw_30rwmixread_127k_4job_32QD_512mem: (g=0): rw=randrw, bs=(R) 127KiB-127KiB, (W) 127KiB-127KiB, (T) 127KiB-127KiB, ioengine=libaio, iodepth=32
fio-3.36
Starting 1 thread
verify: bad header rand_seed 2648634942919779000, wanted 53579819933698815 at file /dev/nvme0n1 offset 16910531584, length 130048 (requested block: offset=16910531584, length=130048)
fio: pid=2232122, err=84/file:io_u.c:2213, func=io_u_queued_complete, error=Invalid or incomplete multibyte or wide character
randrw_30rwmixread_127k_4job_32QD_512mem: (groupid=0, jobs=1): err=84 (file:io_u.c:2213, func=io_u_queued_complete, error=Invalid or incomplete multibyte or wide character): pid=2232122: Wed May 14 01:47:21 2025
read: IOPS=4309, BW=534MiB/s (560MB/s)(16.6GiB/31807msec)
slat (nsec): min=842, max=10951, avg=1801.98, stdev=683.43
clat (usec): min=98, max=5802, avg=4246.24, stdev=607.89
lat (usec): min=104, max=5805, avg=4248.04, stdev=607.89
clat percentiles (usec):
| 1.00th=[ 2769], 5.00th=[ 3097], 10.00th=[ 3261], 20.00th=[ 3556],
| 30.00th=[ 3884], 40.00th=[ 4621], 50.00th=[ 4621], 60.00th=[ 4621],
| 70.00th=[ 4621], 80.00th=[ 4621], 90.00th=[ 4621], 95.00th=[ 4686],
| 99.00th=[ 5211], 99.50th=[ 5211], 99.90th=[ 5211], 99.95th=[ 5211],
| 99.99th=[ 5211]
bw ( KiB/s): min=125222, max=359664, per=60.90%, avg=333261.37, stdev=35858.98, samples=38
iops : min= 986, max= 2832, avg=2624.11, stdev=282.35, samples=38
write: IOPS=6167, BW=765MiB/s (802MB/s)(14.0GiB/18690msec); 0 zone resets
slat (usec): min=149, max=909, avg=151.84, stdev= 3.85
clat (usec): min=85, max=6276, avg=3503.24, stdev=400.22
lat (usec): min=236, max=6428, avg=3655.08, stdev=400.38
clat percentiles (usec):
| 1.00th=[ 2606], 5.00th=[ 2769], 10.00th=[ 2933], 20.00th=[ 3097],
| 30.00th=[ 3261], 40.00th=[ 3392], 50.00th=[ 3556], 60.00th=[ 3556],
| 70.00th=[ 3720], 80.00th=[ 3884], 90.00th=[ 4015], 95.00th=[ 4178],
| 99.00th=[ 4359], 99.50th=[ 4490], 99.90th=[ 4621], 99.95th=[ 4686],
| 99.99th=[ 4817]
bw ( KiB/s): min=282956, max=787146, per=98.37%, avg=770509.00, stdev=81453.08, samples=38
iops : min= 2228, max= 6198, avg=6067.00, stdev=641.36, samples=38
lat (usec) : 100=0.01%, 250=0.01%, 500=0.01%, 750=0.01%, 1000=0.01%
lat (msec) : 2=0.02%, 4=56.80%, 10=43.17%
cpu : usr=97.95%, sys=1.31%, ctx=45, majf=0, minf=3154
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=100.0%, >=64=0.0%
submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.1%, 64=0.0%, >=64=0.0%
issued rwts: total=137058,115273,0,0 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=32
Run status group 0 (all jobs):
READ: bw=534MiB/s (560MB/s), 534MiB/s-534MiB/s (560MB/s-560MB/s), io=16.6GiB (17.8GB), run=31807-31807msec
WRITE: bw=765MiB/s (802MB/s), 765MiB/s-765MiB/s (802MB/s-802MB/s), io=14.0GiB (15.0GB), run=18690-18690msec
Disk stats (read/write):
nvme0n1: ios=204204/172850, sectors=34551796/29279342, merge=0/0, ticks=18516/2769, in_queue=21285, util=99.74%
Form the ssd data the seed is indeed wrong.

Environment: kernel : 5.14.0-362.24.1.el9_3.x86_64 Red Hat Enterprise Linux 9.3
fio version: 3.36
Reproduction steps
1.make sure the ssd sector size is 512B
2. run the same command as above:
fio --buffer_compress_percentage=82 --buffer_compress_chunk=512 --thread=1 --filename=/dev/nvme0n1 --direct=1 --rw=randrw --verify=md5 --ioengine=libaio --bs=127k --iodepth=32 --numjobs=1 --size=20G --mem_align=512 --rwmixread=30 --group_reporting --name=randrw_30rwmixread_127k_4job_32QD_512mem --runtime=1800 --time_based
3.if the setp 2 can't reproduce the error ,you can try below one:
fio --buffer_compress_percentage=0 --buffer_compress_chunk=512 --thread=1 --filename=/dev/nvme0n1 --direct=1 --rw=randrw --verify=md5 --ioengine=libaio --bs=3k --iodepth=32 --numjobs=1 --size=1m --rwmixread=30 --group_reporting --name=randrw_30rwmixread_3k_4job_32QD_512mem --runtime=20 -time_based