== sanity test 123ad: Verify batching statahead works correctly ========================================================== 05:56:49 (1734433009) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8800a8b61800.batch_stats=0 llite.lustre-ffff8800a8b61800.statahead_max=32 llite.lustre-ffff8800a8b61800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8800a8b61800.batch_stats=0 total: 100 open/close in 0.55 seconds: 180.98 ops/second llite.lustre-ffff8800a8b61800.statahead_max=0 101 real 0m0.500s user 0m0.008s sys 0m0.181s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8800a8b61800.statahead_max=32 32 101 real 0m0.388s user 0m0.007s sys 0m0.121s ls -l 100 files with statahead: 1 sec statahead total: 45 statahead wrong: 1 agl total: 45 list_total: 20 fname_total: 25 hit_total: 11663 miss_total: 219 total: 900 open/close in 2.25 seconds: 399.30 ops/second llite.lustre-ffff8800a8b61800.statahead_max=0 1001 real 0m6.436s user 0m0.052s sys 0m2.149s ls -l 1000 files without statahead: 7 sec llite.lustre-ffff8800a8b61800.statahead_max=32 32 1001 real 0m2.048s user 0m0.024s sys 0m0.906s ls -l 1000 files with statahead: 2 sec statahead total: 46 statahead wrong: 1 agl total: 46 list_total: 21 fname_total: 25 hit_total: 12662 miss_total: 220 - open/close 3898 (time 1734433036.00 total 10.00 last 389.75) - open/close 8371 (time 1734433046.00 total 20.00 last 447.19) total: 9000 open/close in 22.28 seconds: 403.89 ops/second llite.lustre-ffff8800a8b61800.statahead_max=0 10001 real 1m15.089s user 0m0.903s sys 0m22.262s ls -l 10000 files without statahead: 75 sec llite.lustre-ffff8800a8b61800.statahead_max=32 32 10001 real 0m22.732s user 0m0.243s sys 0m9.196s ls -l 10000 files with statahead: 23 sec statahead total: 47 statahead wrong: 1 agl total: 47 list_total: 22 fname_total: 25 hit_total: 22661 miss_total: 232 ls -l done rm -r /mnt/lustre/d123ad.sanity: 46 seconds llite.lustre-ffff8800a8b61800.statahead_stats= statahead total: 47 statahead wrong: 1 agl total: 47 list_total: 22 fname_total: 25 hit_total: 22661 miss_total: 232 mdc.lustre-MDT0000-mdc-ffff8800a8b61800.batch_stats= snapshot_time: 1734433198.662309705 secs.nsecs start_time: 1734433010.174277355 secs.nsecs elapsed_time: 188.488032350 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 4 1 1 16: 4 1 2 32: 346 97 100 - open/close 3192 (time 1734433209.43 total 10.00 last 319.17) - open/close 7291 (time 1734433219.43 total 20.00 last 409.88) total: 10000 open/close in 26.66 seconds: 375.05 ops/second llite.lustre-ffff8800a8b61800.statahead_batch_max=0 llite.lustre-ffff8800a8b61800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8b61800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m10.777s user 0m0.209s sys 0m9.226s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8800a8b61800.statahead_batch_max=32 llite.lustre-ffff8800a8b61800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8b61800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8b61800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m20.886s user 0m0.230s sys 0m9.028s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8800a8b61800.batch_stats= snapshot_time: 1734433262.163745310 secs.nsecs start_time: 1734433238.731420569 secs.nsecs elapsed_time: 23.432324741 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-ffff8800a8b61800.batch_stats=0 llite.lustre-ffff8800a8b61800.statahead_max=2048 llite.lustre-ffff8800a8b61800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8800a8b61800.batch_stats=0 total: 100 open/close in 0.51 seconds: 195.00 ops/second llite.lustre-ffff8800a8b61800.statahead_max=0 101 real 0m0.449s user 0m0.005s sys 0m0.167s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8800a8b61800.statahead_max=2048 2048 101 real 0m0.248s user 0m0.001s sys 0m0.099s 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: 3 total: 900 open/close in 1.61 seconds: 560.21 ops/second llite.lustre-ffff8800a8b61800.statahead_max=0 1001 real 0m5.582s user 0m0.040s sys 0m1.928s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff8800a8b61800.statahead_max=2048 2048 1001 real 0m1.274s user 0m0.020s sys 0m0.830s 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: 4 - open/close 4197 (time 1734433348.13 total 10.00 last 419.64) - open/close 8798 (time 1734433358.13 total 20.00 last 460.05) total: 9000 open/close in 20.44 seconds: 440.37 ops/second llite.lustre-ffff8800a8b61800.statahead_max=0 10001 real 0m53.201s user 0m0.396s sys 0m18.404s ls -l 10000 files without statahead: 53 sec llite.lustre-ffff8800a8b61800.statahead_max=2048 2048 10001 real 0m11.590s user 0m0.224s sys 0m9.841s ls -l 10000 files with statahead: 12 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 5 ls -l done rm -r /mnt/lustre/d123ad.sanity: 41 seconds llite.lustre-ffff8800a8b61800.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 5 mdc.lustre-MDT0000-mdc-ffff8800a8b61800.batch_stats= snapshot_time: 1734433470.575520564 secs.nsecs start_time: 1734433262.620506004 secs.nsecs elapsed_time: 207.955014560 secs.nsecs subreqs per batch batches % cum % 1: 266 68 68 2: 17 4 73 4: 14 3 76 8: 8 2 79 16: 19 4 83 32: 21 5 89 64: 1 0 89 128: 1 0 89 256: 39 10 100 - open/close 3553 (time 1734433481.49 total 10.00 last 355.30) - open/close 8470 (time 1734433491.49 total 20.00 last 491.62) total: 10000 open/close in 23.14 seconds: 432.14 ops/second llite.lustre-ffff8800a8b61800.statahead_batch_max=0 llite.lustre-ffff8800a8b61800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8b61800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m10.018s user 0m0.188s sys 0m8.939s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8800a8b61800.statahead_batch_max=256 llite.lustre-ffff8800a8b61800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8b61800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8b61800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m10.168s user 0m0.233s sys 0m8.757s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8800a8b61800.batch_stats= snapshot_time: 1734433519.053173090 secs.nsecs start_time: 1734433506.563873035 secs.nsecs elapsed_time: 12.489300055 secs.nsecs subreqs per batch batches % cum % 1: 196 63 63 2: 12 3 67 4: 13 4 71 8: 17 5 77 16: 14 4 82 32: 18 5 87 64: 1 0 88 128: 1 0 88 256: 35 11 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8800a8b61800.statahead_batch_max=64 llite.lustre-ffff8800a8b61800.statahead_max=128