== sanity test 123ad: Verify batching statahead works correctly ========================================================== 16:34:49 (1778358889) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff93aac8f61800.batch_stats=0 llite.lustre-ffff93aac8f61800.statahead_max=32 llite.lustre-ffff93aac8f61800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff93aac8f61800.batch_stats=0 total: 100 open/close in 0.98 seconds: 102.37 ops/second llite.lustre-ffff93aac8f61800.statahead_max=0 101 real 0m1.104s user 0m0.005s sys 0m0.408s ls -l 100 files without statahead: 1 sec llite.lustre-ffff93aac8f61800.statahead_max=32 32 101 real 0m0.411s user 0m0.005s sys 0m0.235s ls -l 100 files with statahead: 1 sec statahead total: 54 statahead wrong: 1 agl total: 50 list_total: 27 fname_total: 27 hit_total: 33658 miss_total: 201 total: 900 open/close in 2.03 seconds: 443.54 ops/second llite.lustre-ffff93aac8f61800.statahead_max=0 1001 real 0m8.160s user 0m0.031s sys 0m2.995s ls -l 1000 files without statahead: 8 sec llite.lustre-ffff93aac8f61800.statahead_max=32 32 1001 real 0m3.665s user 0m0.014s sys 0m2.070s ls -l 1000 files with statahead: 4 sec statahead total: 55 statahead wrong: 1 agl total: 51 list_total: 28 fname_total: 27 hit_total: 34657 miss_total: 202 - open/close 4526 (time 1778358923.28 total 10.00 last 452.52) - open/close 8886 (time 1778358933.28 total 20.00 last 435.92) total: 9000 open/close in 20.41 seconds: 441.06 ops/second llite.lustre-ffff93aac8f61800.statahead_max=0 10001 real 1m6.447s user 0m0.188s sys 0m24.045s ls -l 10000 files without statahead: 66 sec llite.lustre-ffff93aac8f61800.statahead_max=32 32 10001 real 0m36.328s user 0m0.157s sys 0m19.959s ls -l 10000 files with statahead: 37 sec statahead total: 56 statahead wrong: 1 agl total: 52 list_total: 29 fname_total: 27 hit_total: 44656 miss_total: 203 ls -l done rm -r /mnt/lustre/d123ad.sanity: 68 seconds llite.lustre-ffff93aac8f61800.statahead_stats= statahead total: 56 statahead wrong: 1 agl total: 52 list_total: 29 fname_total: 27 hit_total: 44656 miss_total: 203 mdc.lustre-MDT0000-mdc-ffff93aac8f61800.batch_stats= snapshot_time: 1778359116.019509228 secs.nsecs start_time: 1778358891.494866105 secs.nsecs elapsed_time: 224.524643123 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 1 0 0 8: 3 0 1 16: 4 1 2 32: 346 97 100 - open/close 3667 (time 1778359127.63 total 10.00 last 366.66) - open/close 6896 (time 1778359137.63 total 20.00 last 322.90) total: 10000 open/close in 29.08 seconds: 343.89 ops/second llite.lustre-ffff93aac8f61800.statahead_batch_max=0 llite.lustre-ffff93aac8f61800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93aac8f61800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.989s user 0m0.161s sys 0m28.958s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff93aac8f61800.statahead_batch_max=32 llite.lustre-ffff93aac8f61800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93aac8f61800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff93aac8f61800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m39.467s user 0m0.153s sys 0m22.092s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff93aac8f61800.batch_stats= snapshot_time: 1778359227.560613419 secs.nsecs start_time: 1778359181.730290159 secs.nsecs elapsed_time: 45.830323260 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-ffff93aac8f61800.batch_stats=0 llite.lustre-ffff93aac8f61800.statahead_max=2048 llite.lustre-ffff93aac8f61800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff93aac8f61800.batch_stats=0 total: 100 open/close in 0.76 seconds: 131.20 ops/second llite.lustre-ffff93aac8f61800.statahead_max=0 101 real 0m1.078s user 0m0.004s sys 0m0.388s ls -l 100 files without statahead: 1 sec llite.lustre-ffff93aac8f61800.statahead_max=2048 2048 101 real 0m0.371s user 0m0.003s sys 0m0.231s 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.03 seconds: 442.79 ops/second llite.lustre-ffff93aac8f61800.statahead_max=0 1001 real 0m6.919s user 0m0.021s sys 0m2.562s ls -l 1000 files without statahead: 7 sec llite.lustre-ffff93aac8f61800.statahead_max=2048 2048 1001 real 0m3.130s user 0m0.013s sys 0m1.141s 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 2783 (time 1778359352.99 total 10.00 last 278.30) - open/close 5887 (time 1778359362.99 total 20.00 last 310.33) total: 9000 open/close in 28.00 seconds: 321.40 ops/second llite.lustre-ffff93aac8f61800.statahead_max=0 10001 real 1m4.104s user 0m0.186s sys 0m23.550s ls -l 10000 files without statahead: 64 sec llite.lustre-ffff93aac8f61800.statahead_max=2048 2048 10001 real 0m31.273s user 0m0.143s sys 0m21.066s ls -l 10000 files with statahead: 31 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-ffff93aac8f61800.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-ffff93aac8f61800.batch_stats= snapshot_time: 1778359545.177528067 secs.nsecs start_time: 1778359228.297197939 secs.nsecs elapsed_time: 316.880330128 secs.nsecs subreqs per batch batches % cum % 1: 376 68 68 2: 66 12 80 4: 32 5 86 8: 7 1 87 16: 8 1 88 32: 21 3 92 64: 0 0 92 128: 1 0 92 256: 39 7 100 - open/close 4528 (time 1778359555.95 total 10.00 last 452.72) - open/close 8685 (time 1778359565.95 total 20.00 last 415.66) total: 10000 open/close in 23.03 seconds: 434.14 ops/second llite.lustre-ffff93aac8f61800.statahead_batch_max=0 llite.lustre-ffff93aac8f61800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93aac8f61800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.810s user 0m0.153s sys 0m25.572s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff93aac8f61800.statahead_batch_max=256 llite.lustre-ffff93aac8f61800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93aac8f61800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff93aac8f61800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m28.228s user 0m0.155s sys 0m18.992s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff93aac8f61800.batch_stats= snapshot_time: 1778359638.255360300 secs.nsecs start_time: 1778359603.683848823 secs.nsecs elapsed_time: 34.571511477 secs.nsecs subreqs per batch batches % cum % 1: 414 70 70 2: 72 12 82 4: 36 6 88 8: 5 0 89 16: 7 1 90 32: 19 3 93 64: 2 0 94 128: 0 0 94 256: 34 5 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff93aac8f61800.statahead_batch_max=64 llite.lustre-ffff93aac8f61800.statahead_max=128