== sanity test 123ad: Verify batching statahead works correctly ========================================================== 04:03:59 (1759824239) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9fb455c74800.batch_stats=0 llite.lustre-ffff9fb455c74800.statahead_max=32 llite.lustre-ffff9fb455c74800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9fb455c74800.batch_stats=0 total: 100 open/close in 1.06 seconds: 94.52 ops/second llite.lustre-ffff9fb455c74800.statahead_max=0 101 real 0m0.703s user 0m0.003s sys 0m0.242s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9fb455c74800.statahead_max=32 32 101 real 0m0.359s user 0m0.003s sys 0m0.170s ls -l 100 files with statahead: 0 sec statahead total: 57 statahead wrong: 2 agl total: 53 list_total: 27 fname_total: 30 hit_total: 33739 miss_total: 1345 total: 900 open/close in 3.01 seconds: 298.80 ops/second llite.lustre-ffff9fb455c74800.statahead_max=0 1001 real 0m8.930s user 0m0.018s sys 0m3.015s ls -l 1000 files without statahead: 9 sec llite.lustre-ffff9fb455c74800.statahead_max=32 32 1001 real 0m3.297s user 0m0.012s sys 0m1.689s ls -l 1000 files with statahead: 3 sec statahead total: 58 statahead wrong: 2 agl total: 54 list_total: 28 fname_total: 30 hit_total: 34738 miss_total: 1346 total: 4000 open/close in 8.73 seconds: 457.97 ops/second llite.lustre-ffff9fb455c74800.statahead_max=0 5001 real 0m34.245s user 0m0.073s sys 0m11.222s ls -l 5000 files without statahead: 34 sec llite.lustre-ffff9fb455c74800.statahead_max=32 32 5001 real 0m17.717s user 0m0.066s sys 0m9.761s ls -l 5000 files with statahead: 17 sec statahead total: 59 statahead wrong: 2 agl total: 55 list_total: 29 fname_total: 30 hit_total: 39737 miss_total: 1347 ls -l done rm -r /mnt/lustre/d123ad.sanity: 34 seconds llite.lustre-ffff9fb455c74800.statahead_stats= statahead total: 59 statahead wrong: 2 agl total: 55 list_total: 29 fname_total: 30 hit_total: 39737 miss_total: 1347 mdc.lustre-MDT0000-mdc-ffff9fb455c74800.batch_stats= snapshot_time: 1759824366.371793848 secs.nsecs start_time: 1759824241.780288510 secs.nsecs elapsed_time: 124.591505338 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 2 1 1 8: 3 1 2 16: 3 1 4 32: 190 95 100 - open/close 2961 (time 1759824377.25 total 10.00 last 296.09) - open/close 5147 (time 1759824387.25 total 20.00 last 218.54) - open/close 7387 (time 1759824397.25 total 30.00 last 223.97) - open/close 9881 (time 1759824407.26 total 40.01 last 249.31) total: 10000 open/close in 40.53 seconds: 246.71 ops/second llite.lustre-ffff9fb455c74800.statahead_batch_max=0 llite.lustre-ffff9fb455c74800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fb455c74800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.253s user 0m0.146s sys 0m23.617s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9fb455c74800.statahead_batch_max=32 llite.lustre-ffff9fb455c74800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fb455c74800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9fb455c74800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m41.108s user 0m0.146s sys 0m21.838s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9fb455c74800.batch_stats= snapshot_time: 1759824488.755358865 secs.nsecs start_time: 1759824442.677654412 secs.nsecs elapsed_time: 46.077704453 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 1 32: 312 98 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9fb455c74800.batch_stats=0 llite.lustre-ffff9fb455c74800.statahead_max=2048 llite.lustre-ffff9fb455c74800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9fb455c74800.batch_stats=0 total: 100 open/close in 0.90 seconds: 111.03 ops/second llite.lustre-ffff9fb455c74800.statahead_max=0 101 real 0m1.105s user 0m0.005s sys 0m0.322s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9fb455c74800.statahead_max=2048 2048 101 real 0m0.569s user 0m0.003s sys 0m0.340s 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: 2 total: 900 open/close in 2.84 seconds: 316.63 ops/second llite.lustre-ffff9fb455c74800.statahead_max=0 1001 real 0m7.254s user 0m0.020s sys 0m2.440s ls -l 1000 files without statahead: 8 sec llite.lustre-ffff9fb455c74800.statahead_max=2048 2048 1001 real 0m3.083s user 0m0.011s sys 0m1.134s ls -l 1000 files with statahead: 3 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 - open/close 3943 (time 1759824635.84 total 10.00 last 394.25) - open/close 8439 (time 1759824645.84 total 20.00 last 449.58) total: 9000 open/close in 21.19 seconds: 424.75 ops/second llite.lustre-ffff9fb455c74800.statahead_max=0 10001 real 1m8.279s user 0m0.226s sys 0m22.369s ls -l 10000 files without statahead: 68 sec llite.lustre-ffff9fb455c74800.statahead_max=2048 2048 10001 real 0m26.785s user 0m0.135s sys 0m18.534s ls -l 10000 files with statahead: 26 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 4 ls -l done rm -r /mnt/lustre/d123ad.sanity: 67 seconds llite.lustre-ffff9fb455c74800.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 4 mdc.lustre-MDT0000-mdc-ffff9fb455c74800.batch_stats= snapshot_time: 1759824821.056965246 secs.nsecs start_time: 1759824489.719372481 secs.nsecs elapsed_time: 331.337592765 secs.nsecs subreqs per batch batches % cum % 1: 131 53 53 2: 19 7 61 4: 17 6 68 8: 8 3 71 16: 3 1 72 32: 26 10 83 64: 0 0 83 128: 1 0 83 256: 40 16 100 - open/close 4123 (time 1759824832.56 total 10.00 last 412.12) - open/close 7263 (time 1759824842.56 total 20.00 last 313.98) total: 10000 open/close in 28.46 seconds: 351.40 ops/second llite.lustre-ffff9fb455c74800.statahead_batch_max=0 llite.lustre-ffff9fb455c74800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fb455c74800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.888s user 0m0.141s sys 0m24.705s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9fb455c74800.statahead_batch_max=256 llite.lustre-ffff9fb455c74800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fb455c74800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9fb455c74800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.914s user 0m0.141s sys 0m23.550s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9fb455c74800.batch_stats= snapshot_time: 1759824926.602254754 secs.nsecs start_time: 1759824886.458508780 secs.nsecs elapsed_time: 40.143745974 secs.nsecs subreqs per batch batches % cum % 1: 233 65 65 2: 46 12 78 4: 11 3 81 8: 2 0 82 16: 2 0 82 32: 25 7 89 64: 0 0 89 128: 1 0 90 256: 35 9 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff9fb455c74800.statahead_batch_max=64 llite.lustre-ffff9fb455c74800.statahead_max=128