== sanity test 123ad: Verify batching statahead works correctly ========================================================== 17:36:05 (1760132165) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9d68c4319800.batch_stats=0 llite.lustre-ffff9d68c4319800.statahead_max=32 llite.lustre-ffff9d68c4319800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9d68c4319800.batch_stats=0 total: 100 open/close in 0.65 seconds: 153.46 ops/second llite.lustre-ffff9d68c4319800.statahead_max=0 101 real 0m0.568s user 0m0.000s sys 0m0.205s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9d68c4319800.statahead_max=32 32 101 real 0m0.363s user 0m0.004s sys 0m0.191s ls -l 100 files with statahead: 1 sec statahead total: 133 statahead wrong: 2 agl total: 127 list_total: 33 fname_total: 87 hit_total: 21887 miss_total: 1055 total: 900 open/close in 2.03 seconds: 442.53 ops/second llite.lustre-ffff9d68c4319800.statahead_max=0 1001 real 0m6.679s user 0m0.022s sys 0m2.184s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff9d68c4319800.statahead_max=32 32 1001 real 0m3.577s user 0m0.014s sys 0m1.989s ls -l 1000 files with statahead: 4 sec statahead total: 134 statahead wrong: 2 agl total: 128 list_total: 34 fname_total: 87 hit_total: 22886 miss_total: 1056 - open/close 3342 (time 1760132195.86 total 10.00 last 334.16) - open/close 7273 (time 1760132205.86 total 20.00 last 393.04) total: 9000 open/close in 24.59 seconds: 365.93 ops/second llite.lustre-ffff9d68c4319800.statahead_max=0 10001 real 1m4.233s user 0m0.285s sys 0m21.192s ls -l 10000 files without statahead: 64 sec llite.lustre-ffff9d68c4319800.statahead_max=32 32 10001 real 0m36.233s user 0m0.149s sys 0m19.118s ls -l 10000 files with statahead: 36 sec statahead total: 135 statahead wrong: 2 agl total: 129 list_total: 35 fname_total: 87 hit_total: 32884 miss_total: 1058 ls -l done rm -r /mnt/lustre/d123ad.sanity: 65 seconds llite.lustre-ffff9d68c4319800.statahead_stats= statahead total: 135 statahead wrong: 2 agl total: 129 list_total: 35 fname_total: 87 hit_total: 32884 miss_total: 1058 mdc.lustre-MDT0000-mdc-ffff9d68c4319800.batch_stats= snapshot_time: 1760132387.099587543 secs.nsecs start_time: 1760132166.848363997 secs.nsecs elapsed_time: 220.251223546 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 4 1 1 16: 4 1 2 32: 346 97 100 - open/close 4601 (time 1760132398.49 total 10.00 last 460.04) - open/close 9307 (time 1760132408.50 total 20.00 last 470.51) total: 10000 open/close in 21.46 seconds: 465.95 ops/second llite.lustre-ffff9d68c4319800.statahead_batch_max=0 llite.lustre-ffff9d68c4319800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d68c4319800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.055s user 0m0.161s sys 0m30.864s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9d68c4319800.statahead_batch_max=32 llite.lustre-ffff9d68c4319800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d68c4319800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9d68c4319800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.746s user 0m0.177s sys 0m18.598s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9d68c4319800.batch_stats= snapshot_time: 1760132484.390021225 secs.nsecs start_time: 1760132444.912666253 secs.nsecs elapsed_time: 39.477354972 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-ffff9d68c4319800.batch_stats=0 llite.lustre-ffff9d68c4319800.statahead_max=2048 llite.lustre-ffff9d68c4319800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9d68c4319800.batch_stats=0 total: 100 open/close in 0.67 seconds: 148.28 ops/second llite.lustre-ffff9d68c4319800.statahead_max=0 101 real 0m0.653s user 0m0.006s sys 0m0.228s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9d68c4319800.statahead_max=2048 2048 101 real 0m0.301s user 0m0.002s sys 0m0.164s 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 1.78 seconds: 506.12 ops/second llite.lustre-ffff9d68c4319800.statahead_max=0 1001 real 0m5.590s user 0m0.016s sys 0m1.971s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff9d68c4319800.statahead_max=2048 2048 1001 real 0m2.805s user 0m0.014s sys 0m1.043s 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 4917 (time 1760132605.71 total 10.00 last 491.62) total: 9000 open/close in 18.74 seconds: 480.24 ops/second llite.lustre-ffff9d68c4319800.statahead_max=0 10001 real 0m59.024s user 0m0.223s sys 0m20.159s ls -l 10000 files without statahead: 59 sec llite.lustre-ffff9d68c4319800.statahead_max=2048 2048 10001 real 0m22.790s user 0m0.152s sys 0m16.917s ls -l 10000 files with statahead: 22 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: 60 seconds llite.lustre-ffff9d68c4319800.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-ffff9d68c4319800.batch_stats= snapshot_time: 1760132766.700319427 secs.nsecs start_time: 1760132485.217458162 secs.nsecs elapsed_time: 281.482861265 secs.nsecs subreqs per batch batches % cum % 1: 215 56 56 2: 39 10 66 4: 40 10 77 8: 16 4 81 16: 3 0 82 32: 26 6 89 64: 1 0 89 128: 1 0 89 256: 39 10 100 - open/close 5046 (time 1760132777.80 total 10.00 last 504.59) total: 10000 open/close in 19.72 seconds: 507.09 ops/second llite.lustre-ffff9d68c4319800.statahead_batch_max=0 llite.lustre-ffff9d68c4319800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d68c4319800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m26.300s user 0m0.145s sys 0m22.775s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9d68c4319800.statahead_batch_max=256 llite.lustre-ffff9d68c4319800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d68c4319800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9d68c4319800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m26.046s user 0m0.145s sys 0m18.366s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9d68c4319800.batch_stats= snapshot_time: 1760132847.584859697 secs.nsecs start_time: 1760132816.600764252 secs.nsecs elapsed_time: 30.984095445 secs.nsecs subreqs per batch batches % cum % 1: 150 56 56 2: 35 13 69 4: 15 5 74 8: 2 0 75 16: 4 1 77 32: 24 8 86 64: 1 0 86 128: 1 0 86 256: 35 13 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff9d68c4319800.statahead_batch_max=64 llite.lustre-ffff9d68c4319800.statahead_max=128