== sanity test 856p: Add hole read optimization for random read ========================================================== 00:31:17 (1770442277) /usr/bin/fio osc.lustre-OST0000-osc-ffff953190a21800.hole_detect_policy=all osc.lustre-OST0001-osc-ffff953190a21800.hole_detect_policy=all osc.lustre-OST0000-osc-ffff953190a21800.hole_detect_policy=lock read trunc punch osc.lustre-OST0001-osc-ffff953190a21800.hole_detect_policy=lock read trunc punch 0 104857599 /mnt/lustre/f856p.sanity: ostid 0/0/[0x280000401:0x2e16:0x0] count 1 in [0 18446744073709551615] ALL llite.lustre-ffff953190a21800.read_ahead_stats=clear osc.lustre-OST0000-osc-ffff953190a21800.stats=clear osc.lustre-OST0001-osc-ffff953190a21800.stats=clear rndread: (g=0): rw=randread, bs=(R) 64.0KiB-64.0KiB, (W) 64.0KiB-64.0KiB, (T) 64.0KiB-64.0KiB, ioengine=libaio, iodepth=1 fio-3.19 Starting 1 process rndread: (groupid=0, jobs=1): err= 0: pid=323473: Sat Feb 7 00:31:24 2026 read: IOPS=546, BW=34.2MiB/s (35.8MB/s)(100MiB/2928msec) slat (usec): min=1257, max=3445, avg=1814.79, stdev=324.67 clat (nsec): min=2261, max=48886, avg=4686.34, stdev=2840.61 lat (usec): min=1260, max=3454, avg=1821.41, stdev=326.35 clat percentiles (nsec): | 1.00th=[ 2480], 5.00th=[ 2704], 10.00th=[ 2864], 20.00th=[ 3152], | 30.00th=[ 3472], 40.00th=[ 3856], 50.00th=[ 4192], 60.00th=[ 4640], | 70.00th=[ 5152], 80.00th=[ 5728], 90.00th=[ 6624], 95.00th=[ 7392], | 99.00th=[15040], 99.50th=[23424], 99.90th=[48896], 99.95th=[48896], | 99.99th=[48896] bw ( KiB/s): min=33536, max=36736, per=99.33%, avg=34737.60, stdev=1315.75, samples=5 iops : min= 524, max= 574, avg=542.40, stdev=20.51, samples=5 lat (usec) : 4=44.56%, 10=54.31%, 20=0.50%, 50=0.62% cpu : usr=0.68%, sys=97.51%, ctx=5, majf=0, minf=24 IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.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.0%, 64=0.0%, >=64=0.0% issued rwts: total=1600,0,0,0 short=0,0,0,0 dropped=0,0,0,0 latency : target=0, window=0, percentile=100.00%, depth=1 Run status group 0 (all jobs): READ: bw=34.2MiB/s (35.8MB/s), 34.2MiB/s-34.2MiB/s (35.8MB/s-35.8MB/s), io=100MiB (105MB), run=2928-2928msec llite.lustre-ffff953190a21800.read_ahead_stats= snapshot_time 1770442284.699179760 secs.nsecs start_time 1770442278.511904481 secs.nsecs elapsed_time 6.187275279 secs.nsecs misses 1600 samples [pages] readpage_not_consecutive 1581 samples [pages] failed_to_fast_read 1600 samples [pages] hole_pages 1600 samples [pages] 16 16 25600 hole num: 1600 random num: 0 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 5.30858 s, 19.8 MB/s llite.lustre-ffff953190a21800.read_ahead_stats=clear osc.lustre-OST0000-osc-ffff953190a21800.stats=clear osc.lustre-OST0001-osc-ffff953190a21800.stats=clear rndread: (g=0): rw=randread, bs=(R) 64.0KiB-64.0KiB, (W) 64.0KiB-64.0KiB, (T) 64.0KiB-64.0KiB, ioengine=libaio, iodepth=1 fio-3.19 Starting 1 process rndread: (groupid=0, jobs=1): err= 0: pid=324309: Sat Feb 7 00:31:55 2026 read: IOPS=254, BW=15.9MiB/s (16.7MB/s)(100MiB/6294msec) slat (usec): min=1252, max=11263, avg=3917.70, stdev=2193.75 clat (nsec): min=2202, max=35560, avg=4938.55, stdev=2487.65 lat (usec): min=1256, max=11276, avg=3924.68, stdev=2196.29 clat percentiles (nsec): | 1.00th=[ 2416], 5.00th=[ 2544], 10.00th=[ 2672], 20.00th=[ 2896], | 30.00th=[ 3312], 40.00th=[ 3632], 50.00th=[ 4192], 60.00th=[ 5088], | 70.00th=[ 5984], 80.00th=[ 6816], 90.00th=[ 7840], 95.00th=[ 8640], | 99.00th=[11968], 99.50th=[16768], 99.90th=[24960], 99.95th=[35584], | 99.99th=[35584] bw ( KiB/s): min=12840, max=18816, per=100.00%, avg=16312.67, stdev=1531.08, samples=12 iops : min= 200, max= 294, avg=254.83, stdev=24.05, samples=12 lat (usec) : 4=46.69%, 10=51.56%, 20=1.38%, 50=0.38% cpu : usr=0.38%, sys=50.18%, ctx=11063, majf=0, minf=23 IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.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.0%, 64=0.0%, >=64=0.0% issued rwts: total=1600,0,0,0 short=0,0,0,0 dropped=0,0,0,0 latency : target=0, window=0, percentile=100.00%, depth=1 Run status group 0 (all jobs): READ: bw=15.9MiB/s (16.7MB/s), 15.9MiB/s-15.9MiB/s (16.7MB/s-16.7MB/s), io=100MiB (105MB), run=6294-6294msec llite.lustre-ffff953190a21800.read_ahead_stats= snapshot_time 1770442315.915156849 secs.nsecs start_time 1770442306.818809318 secs.nsecs elapsed_time 9.096347531 secs.nsecs misses 1600 samples [pages] readpage_not_consecutive 1581 samples [pages] failed_to_fast_read 1600 samples [pages] forceread_pages 851 samples [pages] 15 15 12765 hole_pages 749 samples [pages] 16 16 11984 hole num: 749 random num: 851 osc.lustre-OST0000-osc-ffff953190a21800.hole_detect_policy=none osc.lustre-OST0001-osc-ffff953190a21800.hole_detect_policy=none