== sanity test 123ad: Verify batching statahead works correctly ========================================================== 17:10:09 (1746133809) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88012db55000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012db55000.batch_stats=0 llite.lustre-ffff88012db55000.statahead_max=32 llite.lustre-ffff88012db55000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88012db55000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012db55000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.84 seconds: 119.72 ops/second llite.lustre-ffff88012db55000.statahead_max=0 101 real 0m0.671s user 0m0.009s sys 0m0.221s ls -l 100 files without statahead: 1 sec llite.lustre-ffff88012db55000.statahead_max=32 32 101 real 0m0.403s user 0m0.008s sys 0m0.136s ls -l 100 files with statahead: 0 sec statahead total: 157 statahead wrong: 2 agl total: 157 list_total: 29 fname_total: 128 hit_total: 7404 miss_total: 1328 total: 900 open/close in 2.90 seconds: 310.38 ops/second llite.lustre-ffff88012db55000.statahead_max=0 1001 real 0m8.665s user 0m0.095s sys 0m2.526s ls -l 1000 files without statahead: 8 sec llite.lustre-ffff88012db55000.statahead_max=32 32 1001 real 0m2.341s user 0m0.028s sys 0m1.022s ls -l 1000 files with statahead: 2 sec statahead total: 158 statahead wrong: 2 agl total: 158 list_total: 30 fname_total: 128 hit_total: 8403 miss_total: 1335 - open/close 2134 (time 1746133840.98 total 10.00 last 213.37) - open/close 5040 (time 1746133850.98 total 20.00 last 290.58) - open/close 7645 (time 1746133860.98 total 30.01 last 260.41) total: 9000 open/close in 36.93 seconds: 243.70 ops/second llite.lustre-ffff88012db55000.statahead_max=0 10001 real 1m37.158s user 0m1.305s sys 0m25.312s ls -l 10000 files without statahead: 97 sec llite.lustre-ffff88012db55000.statahead_max=32 32 10001 real 0m22.362s user 0m0.223s sys 0m10.060s ls -l 10000 files with statahead: 22 sec statahead total: 159 statahead wrong: 2 agl total: 159 list_total: 31 fname_total: 128 hit_total: 18402 miss_total: 1374 ls -l done rm -r /mnt/lustre/d123ad.sanity: 74 seconds llite.lustre-ffff88012db55000.statahead_stats= statahead total: 159 statahead wrong: 2 agl total: 159 list_total: 31 fname_total: 128 hit_total: 18402 miss_total: 1374 mdc.lustre-MDT0000-mdc-ffff88012db55000.batch_stats= snapshot_time: 1746134067.068915355 secs.nsecs start_time: 1746133810.971321001 secs.nsecs elapsed_time: 256.097594354 secs.nsecs subreqs per batch batches % cum % 1: 3 0 0 2: 1 0 1 4: 2 0 1 8: 6 1 3 16: 241 68 71 32: 100 28 100 mdc.lustre-MDT0001-mdc-ffff88012db55000.batch_stats= snapshot_time: 1746134067.068998618 secs.nsecs start_time: 1746133810.971401872 secs.nsecs elapsed_time: 256.097596746 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 4 1 1 8: 6 1 3 16: 138 38 42 32: 205 57 100 - open/close 2018 (time 1746134077.89 total 10.00 last 201.72) - open/close 4047 (time 1746134087.89 total 20.01 last 202.84) - open/close 6208 (time 1746134097.90 total 30.01 last 216.06) - open/close 8858 (time 1746134107.90 total 40.01 last 264.91) total: 10000 open/close in 47.07 seconds: 212.43 ops/second llite.lustre-ffff88012db55000.statahead_batch_max=0 llite.lustre-ffff88012db55000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012db55000.stats=clear mdc.lustre-MDT0001-mdc-ffff88012db55000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m16.556s user 0m0.203s sys 0m9.053s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88012db55000.statahead_batch_max=32 llite.lustre-ffff88012db55000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012db55000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88012db55000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012db55000.stats=clear mdc.lustre-MDT0001-mdc-ffff88012db55000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m36.012s user 0m0.295s sys 0m10.674s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88012db55000.batch_stats= snapshot_time: 1746134173.483020697 secs.nsecs start_time: 1746134134.141653816 secs.nsecs elapsed_time: 39.341366881 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 mdc.lustre-MDT0001-mdc-ffff88012db55000.batch_stats= snapshot_time: 1746134173.484586378 secs.nsecs start_time: 1746134134.141905211 secs.nsecs elapsed_time: 39.342681167 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff88012db55000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012db55000.batch_stats=0 llite.lustre-ffff88012db55000.statahead_max=2048 llite.lustre-ffff88012db55000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff88012db55000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012db55000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.95 seconds: 105.52 ops/second llite.lustre-ffff88012db55000.statahead_max=0 101 real 0m0.770s user 0m0.003s sys 0m0.254s ls -l 100 files without statahead: 1 sec llite.lustre-ffff88012db55000.statahead_max=2048 2048 101 real 0m0.387s user 0m0.006s sys 0m0.136s ls -l 100 files with statahead: 0 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10098 miss_total: 57 total: 900 open/close in 3.42 seconds: 263.39 ops/second llite.lustre-ffff88012db55000.statahead_max=0 1001 real 0m7.997s user 0m0.085s sys 0m2.331s ls -l 1000 files without statahead: 8 sec llite.lustre-ffff88012db55000.statahead_max=2048 2048 1001 real 0m1.625s user 0m0.021s sys 0m1.022s ls -l 1000 files with statahead: 1 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 58 - open/close 2353 (time 1746134322.92 total 10.00 last 235.23) - open/close 4970 (time 1746134332.92 total 20.00 last 261.66) - open/close 7425 (time 1746134342.92 total 30.01 last 245.47) total: 9000 open/close in 37.70 seconds: 238.72 ops/second llite.lustre-ffff88012db55000.statahead_max=0 10001 real 1m43.914s user 0m1.600s sys 0m25.955s ls -l 10000 files without statahead: 104 sec llite.lustre-ffff88012db55000.statahead_max=2048 2048 10001 real 0m14.363s user 0m0.325s sys 0m10.292s ls -l 10000 files with statahead: 14 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 59 ls -l done rm -r /mnt/lustre/d123ad.sanity: 86 seconds llite.lustre-ffff88012db55000.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 59 mdc.lustre-MDT0000-mdc-ffff88012db55000.batch_stats= snapshot_time: 1746134561.497321743 secs.nsecs start_time: 1746134174.042917055 secs.nsecs elapsed_time: 387.454404688 secs.nsecs subreqs per batch batches % cum % 1: 11 17 17 2: 1 1 19 4: 8 12 32 8: 6 9 41 16: 1 1 43 32: 1 1 45 64: 0 0 45 128: 8 12 58 256: 26 41 100 mdc.lustre-MDT0001-mdc-ffff88012db55000.batch_stats= snapshot_time: 1746134561.497474362 secs.nsecs start_time: 1746134174.043006632 secs.nsecs elapsed_time: 387.454467730 secs.nsecs subreqs per batch batches % cum % 1: 9 13 13 2: 4 5 19 4: 10 14 34 8: 5 7 41 16: 1 1 43 32: 2 2 46 64: 1 1 47 128: 2 2 50 256: 33 49 100 - open/close 1816 (time 1746134572.42 total 10.00 last 181.54) - open/close 3593 (time 1746134582.42 total 20.01 last 177.66) - open/close 5632 (time 1746134592.43 total 30.01 last 203.85) - open/close 7384 (time 1746134602.43 total 40.01 last 175.13) - open/close 8955 (time 1746134612.43 total 50.01 last 157.09) total: 10000 open/close in 56.08 seconds: 178.33 ops/second llite.lustre-ffff88012db55000.statahead_batch_max=0 llite.lustre-ffff88012db55000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012db55000.stats=clear mdc.lustre-MDT0001-mdc-ffff88012db55000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m20.917s user 0m0.242s sys 0m9.044s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88012db55000.statahead_batch_max=256 llite.lustre-ffff88012db55000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012db55000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88012db55000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012db55000.stats=clear mdc.lustre-MDT0001-mdc-ffff88012db55000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m16.539s user 0m0.310s sys 0m10.691s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88012db55000.batch_stats= snapshot_time: 1746134662.340560330 secs.nsecs start_time: 1746134642.010496298 secs.nsecs elapsed_time: 20.330064032 secs.nsecs subreqs per batch batches % cum % 1: 164 58 58 2: 20 7 65 4: 10 3 69 8: 18 6 75 16: 16 5 81 32: 12 4 85 64: 5 1 87 128: 0 0 87 256: 35 12 100 mdc.lustre-MDT0001-mdc-ffff88012db55000.batch_stats= snapshot_time: 1746134662.341085400 secs.nsecs start_time: 1746134642.013138962 secs.nsecs elapsed_time: 20.327946438 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff88012db55000.statahead_batch_max=64 llite.lustre-ffff88012db55000.statahead_max=128