== sanity test 123ad: Verify batching statahead works correctly ========================================================== 00:02:43 (1764738163) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8907467f5800.batch_stats=0 llite.lustre-ffff8907467f5800.statahead_max=32 llite.lustre-ffff8907467f5800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8907467f5800.batch_stats=0 total: 100 open/close in 0.87 seconds: 114.61 ops/second llite.lustre-ffff8907467f5800.statahead_max=0 101 real 0m0.729s user 0m0.004s sys 0m0.266s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8907467f5800.statahead_max=32 32 101 real 0m0.477s user 0m0.004s sys 0m0.313s ls -l 100 files with statahead: 0 sec statahead total: 74 statahead wrong: 1 agl total: 69 list_total: 30 fname_total: 40 hit_total: 20556 miss_total: 232 total: 900 open/close in 2.10 seconds: 429.18 ops/second llite.lustre-ffff8907467f5800.statahead_max=0 1001 real 0m6.732s user 0m0.021s sys 0m2.372s ls -l 1000 files without statahead: 7 sec llite.lustre-ffff8907467f5800.statahead_max=32 32 1001 real 0m3.641s user 0m0.018s sys 0m2.046s ls -l 1000 files with statahead: 4 sec statahead total: 75 statahead wrong: 1 agl total: 70 list_total: 31 fname_total: 40 hit_total: 21555 miss_total: 233 - open/close 4004 (time 1764738194.73 total 10.00 last 400.38) - open/close 8572 (time 1764738204.73 total 20.00 last 456.76) total: 9000 open/close in 20.85 seconds: 431.60 ops/second llite.lustre-ffff8907467f5800.statahead_max=0 10001 real 0m59.244s user 0m0.246s sys 0m21.043s ls -l 10000 files without statahead: 59 sec llite.lustre-ffff8907467f5800.statahead_max=32 32 10001 real 0m36.055s user 0m0.181s sys 0m19.684s ls -l 10000 files with statahead: 36 sec statahead total: 76 statahead wrong: 1 agl total: 71 list_total: 32 fname_total: 40 hit_total: 31554 miss_total: 234 ls -l done rm -r /mnt/lustre/d123ad.sanity: 69 seconds llite.lustre-ffff8907467f5800.statahead_stats= statahead total: 76 statahead wrong: 1 agl total: 71 list_total: 32 fname_total: 40 hit_total: 31554 miss_total: 234 mdc.lustre-MDT0000-mdc-ffff8907467f5800.batch_stats= snapshot_time: 1764738381.643538848 secs.nsecs start_time: 1764738164.684700910 secs.nsecs elapsed_time: 216.958837938 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 4388 (time 1764738392.41 total 10.00 last 438.72) - open/close 9061 (time 1764738402.41 total 20.00 last 467.17) total: 10000 open/close in 21.99 seconds: 454.81 ops/second llite.lustre-ffff8907467f5800.statahead_batch_max=0 llite.lustre-ffff8907467f5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8907467f5800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.061s user 0m0.160s sys 0m31.922s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8907467f5800.statahead_batch_max=32 llite.lustre-ffff8907467f5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8907467f5800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8907467f5800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.454s user 0m0.169s sys 0m19.298s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8907467f5800.batch_stats= snapshot_time: 1764738480.037048092 secs.nsecs start_time: 1764738440.036832673 secs.nsecs elapsed_time: 40.000215419 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-ffff8907467f5800.batch_stats=0 llite.lustre-ffff8907467f5800.statahead_max=2048 llite.lustre-ffff8907467f5800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8907467f5800.batch_stats=0 total: 100 open/close in 0.70 seconds: 143.30 ops/second llite.lustre-ffff8907467f5800.statahead_max=0 101 real 0m0.631s user 0m0.006s sys 0m0.231s ls -l 100 files without statahead: 0 sec llite.lustre-ffff8907467f5800.statahead_max=2048 2048 101 real 0m0.342s user 0m0.002s sys 0m0.226s 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: 443.29 ops/second llite.lustre-ffff8907467f5800.statahead_max=0 1001 real 0m6.289s user 0m0.031s sys 0m2.231s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff8907467f5800.statahead_max=2048 2048 1001 real 0m3.071s user 0m0.013s sys 0m1.591s 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 4529 (time 1764738600.17 total 10.00 last 452.89) - open/close 8967 (time 1764738610.17 total 20.00 last 443.80) total: 9000 open/close in 20.07 seconds: 448.40 ops/second llite.lustre-ffff8907467f5800.statahead_max=0 10001 real 1m4.794s user 0m0.252s sys 0m22.518s ls -l 10000 files without statahead: 65 sec llite.lustre-ffff8907467f5800.statahead_max=2048 2048 10001 real 0m22.829s user 0m0.130s sys 0m16.720s ls -l 10000 files with statahead: 23 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-ffff8907467f5800.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-ffff8907467f5800.batch_stats= snapshot_time: 1764738768.261095471 secs.nsecs start_time: 1764738480.922122578 secs.nsecs elapsed_time: 287.338972893 secs.nsecs subreqs per batch batches % cum % 1: 117 51 51 2: 20 8 60 4: 11 4 65 8: 7 3 68 16: 6 2 71 32: 22 9 80 64: 2 0 81 128: 1 0 82 256: 40 17 100 - open/close 4667 (time 1764738779.08 total 10.00 last 466.67) - open/close 9218 (time 1764738789.08 total 20.00 last 455.05) total: 10000 open/close in 21.74 seconds: 459.94 ops/second llite.lustre-ffff8907467f5800.statahead_batch_max=0 llite.lustre-ffff8907467f5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8907467f5800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m30.295s user 0m0.164s sys 0m26.484s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8907467f5800.statahead_batch_max=256 llite.lustre-ffff8907467f5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8907467f5800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8907467f5800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m22.479s user 0m0.156s sys 0m16.624s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8907467f5800.batch_stats= snapshot_time: 1764738850.855167190 secs.nsecs start_time: 1764738823.957328895 secs.nsecs elapsed_time: 26.897838295 secs.nsecs subreqs per batch batches % cum % 1: 147 53 53 2: 35 12 65 4: 20 7 73 8: 11 3 77 16: 3 1 78 32: 23 8 86 64: 1 0 86 128: 1 0 87 256: 35 12 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8907467f5800.statahead_batch_max=64 llite.lustre-ffff8907467f5800.statahead_max=128