== sanity test 123ad: Verify batching statahead works correctly ========================================================== 00:42:29 (1746074549) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88012ca33800.batch_stats=0 llite.lustre-ffff88012ca33800.statahead_max=32 llite.lustre-ffff88012ca33800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88012ca33800.batch_stats=0 total: 100 open/close in 1.92 seconds: 52.03 ops/second llite.lustre-ffff88012ca33800.statahead_max=0 101 real 0m1.394s user 0m0.010s sys 0m0.290s ls -l 100 files without statahead: 2 sec llite.lustre-ffff88012ca33800.statahead_max=32 32 101 real 0m0.685s user 0m0.005s sys 0m0.141s ls -l 100 files with statahead: 1 sec statahead total: 102 statahead wrong: 2 agl total: 102 list_total: 26 fname_total: 76 hit_total: 4811 miss_total: 469 total: 900 open/close in 7.84 seconds: 114.82 ops/second llite.lustre-ffff88012ca33800.statahead_max=0 1001 real 0m13.100s user 0m0.126s sys 0m2.786s ls -l 1000 files without statahead: 13 sec llite.lustre-ffff88012ca33800.statahead_max=32 32 1001 real 0m5.230s user 0m0.020s sys 0m1.130s ls -l 1000 files with statahead: 5 sec statahead total: 103 statahead wrong: 2 agl total: 103 list_total: 27 fname_total: 76 hit_total: 5810 miss_total: 473 - open/close 1221 (time 1746074600.20 total 10.00 last 122.06) total: 2000 open/close in 17.02 seconds: 117.50 ops/second llite.lustre-ffff88012ca33800.statahead_max=0 3001 real 0m40.159s user 0m0.402s sys 0m8.527s ls -l 3000 files without statahead: 41 sec llite.lustre-ffff88012ca33800.statahead_max=32 32 3001 real 0m14.205s user 0m0.070s sys 0m3.391s ls -l 3000 files with statahead: 14 sec statahead total: 104 statahead wrong: 2 agl total: 104 list_total: 28 fname_total: 76 hit_total: 8809 miss_total: 496 ls -l done rm -r /mnt/lustre/d123ad.sanity: 29 seconds llite.lustre-ffff88012ca33800.statahead_stats= statahead total: 104 statahead wrong: 2 agl total: 104 list_total: 28 fname_total: 76 hit_total: 8809 miss_total: 496 mdc.lustre-MDT0000-mdc-ffff88012ca33800.batch_stats= snapshot_time: 1746074697.191201121 secs.nsecs start_time: 1746074551.792283160 secs.nsecs elapsed_time: 145.398917961 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 1 0 1 8: 3 2 3 16: 3 2 5 32: 128 94 100 - open/close 1241 (time 1746074708.26 total 10.00 last 124.07) - open/close 2447 (time 1746074718.26 total 20.00 last 120.56) - open/close 3732 (time 1746074728.26 total 30.01 last 128.43) - open/close 5026 (time 1746074738.26 total 40.01 last 129.39) - open/close 6225 (time 1746074748.27 total 50.02 last 119.83) - open/close 7475 (time 1746074758.27 total 60.02 last 124.97) - open/close 8734 (time 1746074768.28 total 70.02 last 125.84) total: 10000 open/close in 78.96 seconds: 126.64 ops/second llite.lustre-ffff88012ca33800.statahead_batch_max=0 llite.lustre-ffff88012ca33800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012ca33800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m24.300s user 0m0.292s sys 0m9.231s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88012ca33800.statahead_batch_max=32 llite.lustre-ffff88012ca33800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012ca33800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012ca33800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m40.382s user 0m0.322s sys 0m10.777s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88012ca33800.batch_stats= snapshot_time: 1746074849.636300036 secs.nsecs start_time: 1746074805.024288810 secs.nsecs elapsed_time: 44.612011226 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 0 32: 312 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff88012ca33800.batch_stats=0 llite.lustre-ffff88012ca33800.statahead_max=2048 llite.lustre-ffff88012ca33800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff88012ca33800.batch_stats=0 total: 100 open/close in 1.79 seconds: 56.01 ops/second llite.lustre-ffff88012ca33800.statahead_max=0 101 real 0m1.454s user 0m0.000s sys 0m0.331s ls -l 100 files without statahead: 1 sec llite.lustre-ffff88012ca33800.statahead_max=2048 2048 101 real 0m0.447s user 0m0.012s sys 0m0.132s ls -l 100 files with statahead: 1 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10098 miss_total: 73 total: 900 open/close in 7.40 seconds: 121.59 ops/second llite.lustre-ffff88012ca33800.statahead_max=0 1001 real 0m13.003s user 0m0.110s sys 0m2.839s ls -l 1000 files without statahead: 13 sec llite.lustre-ffff88012ca33800.statahead_max=2048 2048 1001 real 0m2.604s user 0m0.027s sys 0m1.180s ls -l 1000 files with statahead: 2 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 74 - open/close 1178 (time 1746075058.15 total 10.00 last 117.77) total: 2000 open/close in 16.56 seconds: 120.78 ops/second llite.lustre-ffff88012ca33800.statahead_max=0 3001 real 0m40.576s user 0m0.313s sys 0m8.531s ls -l 3000 files without statahead: 41 sec llite.lustre-ffff88012ca33800.statahead_max=2048 2048 3001 real 0m7.619s user 0m0.098s sys 0m3.337s ls -l 3000 files with statahead: 8 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 14096 miss_total: 75 ls -l done rm -r /mnt/lustre/d123ad.sanity: 34 seconds llite.lustre-ffff88012ca33800.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 14096 miss_total: 75 mdc.lustre-MDT0000-mdc-ffff88012ca33800.batch_stats= snapshot_time: 1746075152.998396750 secs.nsecs start_time: 1746074850.390484050 secs.nsecs elapsed_time: 302.607912700 secs.nsecs subreqs per batch batches % cum % 1: 4 12 12 2: 0 0 12 4: 0 0 12 8: 3 9 21 16: 5 15 36 32: 2 6 42 64: 3 9 51 128: 1 3 54 256: 15 45 100 - open/close 1211 (time 1746075164.22 total 10.00 last 121.09) - open/close 2371 (time 1746075174.22 total 20.00 last 115.97) - open/close 3633 (time 1746075184.22 total 30.01 last 126.16) - open/close 4862 (time 1746075194.22 total 40.01 last 122.86) - open/close 5989 (time 1746075204.23 total 50.01 last 112.65) - open/close 7118 (time 1746075214.23 total 60.02 last 112.87) - open/close 8288 (time 1746075224.23 total 70.02 last 116.99) - open/close 9455 (time 1746075234.23 total 80.02 last 116.69) total: 10000 open/close in 85.23 seconds: 117.33 ops/second llite.lustre-ffff88012ca33800.statahead_batch_max=0 llite.lustre-ffff88012ca33800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012ca33800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m27.600s user 0m0.279s sys 0m9.675s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88012ca33800.statahead_batch_max=256 llite.lustre-ffff88012ca33800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012ca33800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012ca33800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m20.825s user 0m0.345s sys 0m10.874s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88012ca33800.batch_stats= snapshot_time: 1746075297.403523428 secs.nsecs start_time: 1746075271.279850017 secs.nsecs elapsed_time: 26.123673411 secs.nsecs subreqs per batch batches % cum % 1: 70 40 40 2: 11 6 46 4: 13 7 54 8: 14 8 62 16: 16 9 71 32: 12 6 78 64: 0 0 78 128: 1 0 79 256: 36 20 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff88012ca33800.statahead_batch_max=64 llite.lustre-ffff88012ca33800.statahead_max=128