== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:18:16 (1761967096) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff97521a7bd000.batch_stats=0 llite.lustre-ffff97521a7bd000.statahead_max=32 llite.lustre-ffff97521a7bd000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff97521a7bd000.batch_stats=0 total: 100 open/close in 0.98 seconds: 101.74 ops/second llite.lustre-ffff97521a7bd000.statahead_max=0 101 real 0m1.076s user 0m0.002s sys 0m0.349s ls -l 100 files without statahead: 2 sec llite.lustre-ffff97521a7bd000.statahead_max=32 32 101 real 0m0.401s user 0m0.005s sys 0m0.251s ls -l 100 files with statahead: 1 sec statahead total: 59 statahead wrong: 2 agl total: 55 list_total: 29 fname_total: 30 hit_total: 33913 miss_total: 897 total: 900 open/close in 2.91 seconds: 309.43 ops/second llite.lustre-ffff97521a7bd000.statahead_max=0 1001 real 0m6.815s user 0m0.026s sys 0m2.200s ls -l 1000 files without statahead: 7 sec llite.lustre-ffff97521a7bd000.statahead_max=32 32 1001 real 0m3.754s user 0m0.018s sys 0m2.106s ls -l 1000 files with statahead: 4 sec statahead total: 60 statahead wrong: 2 agl total: 56 list_total: 30 fname_total: 30 hit_total: 34912 miss_total: 898 - open/close 2809 (time 1761967131.39 total 10.00 last 280.90) - open/close 5595 (time 1761967141.39 total 20.00 last 278.50) - open/close 8344 (time 1761967151.39 total 30.01 last 274.82) total: 9000 open/close in 31.79 seconds: 283.12 ops/second llite.lustre-ffff97521a7bd000.statahead_max=0 10001 real 1m35.828s user 0m0.231s sys 0m30.527s ls -l 10000 files without statahead: 96 sec llite.lustre-ffff97521a7bd000.statahead_max=32 32 10001 real 0m38.797s user 0m0.145s sys 0m20.609s ls -l 10000 files with statahead: 39 sec statahead total: 61 statahead wrong: 2 agl total: 57 list_total: 31 fname_total: 30 hit_total: 44911 miss_total: 899 ls -l done rm -r /mnt/lustre/d123ad.sanity: 68 seconds llite.lustre-ffff97521a7bd000.statahead_stats= statahead total: 61 statahead wrong: 2 agl total: 57 list_total: 31 fname_total: 30 hit_total: 44911 miss_total: 899 mdc.lustre-MDT0000-mdc-ffff97521a7bd000.batch_stats= snapshot_time: 1761967366.177207562 secs.nsecs start_time: 1761967098.869386641 secs.nsecs elapsed_time: 267.307820921 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 1 0 0 8: 3 0 1 16: 4 1 2 32: 346 97 100 - open/close 2618 (time 1761967377.12 total 10.00 last 261.78) - open/close 7191 (time 1761967387.12 total 20.00 last 457.21) total: 10000 open/close in 25.99 seconds: 384.81 ops/second llite.lustre-ffff97521a7bd000.statahead_batch_max=0 llite.lustre-ffff97521a7bd000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97521a7bd000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.323s user 0m0.124s sys 0m28.744s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff97521a7bd000.statahead_batch_max=32 llite.lustre-ffff97521a7bd000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97521a7bd000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff97521a7bd000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m40.403s user 0m0.143s sys 0m20.826s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff97521a7bd000.batch_stats= snapshot_time: 1761967471.605990556 secs.nsecs start_time: 1761967426.744804083 secs.nsecs elapsed_time: 44.861186473 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-ffff97521a7bd000.batch_stats=0 llite.lustre-ffff97521a7bd000.statahead_max=2048 llite.lustre-ffff97521a7bd000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff97521a7bd000.batch_stats=0 total: 100 open/close in 1.15 seconds: 86.65 ops/second llite.lustre-ffff97521a7bd000.statahead_max=0 101 real 0m0.559s user 0m0.005s sys 0m0.191s ls -l 100 files without statahead: 1 sec llite.lustre-ffff97521a7bd000.statahead_max=2048 2048 101 real 0m0.327s user 0m0.004s sys 0m0.189s 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: 2 total: 900 open/close in 1.94 seconds: 464.43 ops/second llite.lustre-ffff97521a7bd000.statahead_max=0 1001 real 0m5.134s user 0m0.012s sys 0m1.631s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff97521a7bd000.statahead_max=2048 2048 1001 real 0m2.852s user 0m0.008s sys 0m0.926s 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: 3 - open/close 4425 (time 1761967582.99 total 10.00 last 442.42) - open/close 8857 (time 1761967592.99 total 20.00 last 443.10) total: 9000 open/close in 20.42 seconds: 440.85 ops/second llite.lustre-ffff97521a7bd000.statahead_max=0 10001 real 0m58.798s user 0m0.171s sys 0m18.637s ls -l 10000 files without statahead: 58 sec llite.lustre-ffff97521a7bd000.statahead_max=2048 2048 10001 real 0m23.841s user 0m0.123s sys 0m17.088s ls -l 10000 files with statahead: 24 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: 65 seconds llite.lustre-ffff97521a7bd000.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-ffff97521a7bd000.batch_stats= snapshot_time: 1761967750.434440486 secs.nsecs start_time: 1761967472.717713984 secs.nsecs elapsed_time: 277.716726502 secs.nsecs subreqs per batch batches % cum % 1: 112 49 49 2: 17 7 56 4: 16 7 63 8: 13 5 69 16: 3 1 70 32: 26 11 82 64: 0 0 82 128: 1 0 82 256: 40 17 100 - open/close 4599 (time 1761967761.10 total 10.00 last 459.84) - open/close 9026 (time 1761967771.10 total 20.00 last 442.61) total: 10000 open/close in 22.27 seconds: 448.98 ops/second llite.lustre-ffff97521a7bd000.statahead_batch_max=0 llite.lustre-ffff97521a7bd000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97521a7bd000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m36.695s user 0m0.135s sys 0m29.223s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff97521a7bd000.statahead_batch_max=256 llite.lustre-ffff97521a7bd000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97521a7bd000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff97521a7bd000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.141s user 0m0.124s sys 0m23.380s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff97521a7bd000.batch_stats= snapshot_time: 1761967849.961617079 secs.nsecs start_time: 1761967812.369933661 secs.nsecs elapsed_time: 37.591683418 secs.nsecs subreqs per batch batches % cum % 1: 101 47 47 2: 38 17 64 4: 10 4 69 8: 1 0 70 16: 4 1 71 32: 22 10 82 64: 2 0 83 128: 0 0 83 256: 36 16 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff97521a7bd000.statahead_batch_max=64 llite.lustre-ffff97521a7bd000.statahead_max=128