== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:22:00 (1746627720) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8800a8c35800.batch_stats=0 llite.lustre-ffff8800a8c35800.statahead_max=32 llite.lustre-ffff8800a8c35800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8800a8c35800.batch_stats=0 total: 100 open/close in 0.53 seconds: 188.53 ops/second llite.lustre-ffff8800a8c35800.statahead_max=0 101 real 0m0.546s user 0m0.005s sys 0m0.208s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8800a8c35800.statahead_max=32 32 101 real 0m0.327s user 0m0.004s sys 0m0.107s ls -l 100 files with statahead: 1 sec statahead total: 54 statahead wrong: 1 agl total: 54 list_total: 19 fname_total: 35 hit_total: 11581 miss_total: 217 total: 900 open/close in 1.76 seconds: 510.42 ops/second llite.lustre-ffff8800a8c35800.statahead_max=0 1001 real 0m5.313s user 0m0.026s sys 0m2.021s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff8800a8c35800.statahead_max=32 32 1001 real 0m2.112s user 0m0.022s sys 0m0.935s ls -l 1000 files with statahead: 2 sec statahead total: 55 statahead wrong: 1 agl total: 55 list_total: 20 fname_total: 35 hit_total: 12580 miss_total: 218 - open/close 5197 (time 1746627745.32 total 10.00 last 519.65) total: 9000 open/close in 17.29 seconds: 520.46 ops/second llite.lustre-ffff8800a8c35800.statahead_max=0 10001 real 0m50.138s user 0m0.277s sys 0m18.432s ls -l 10000 files without statahead: 50 sec llite.lustre-ffff8800a8c35800.statahead_max=32 32 10001 real 0m20.381s user 0m0.204s sys 0m8.694s ls -l 10000 files with statahead: 20 sec statahead total: 56 statahead wrong: 1 agl total: 56 list_total: 21 fname_total: 35 hit_total: 22579 miss_total: 219 ls -l done rm -r /mnt/lustre/d123ad.sanity: 35 seconds llite.lustre-ffff8800a8c35800.statahead_stats= statahead total: 56 statahead wrong: 1 agl total: 56 list_total: 21 fname_total: 35 hit_total: 22579 miss_total: 219 mdc.lustre-MDT0000-mdc-ffff8800a8c35800.batch_stats= snapshot_time: 1746627863.536815784 secs.nsecs start_time: 1746627721.098436162 secs.nsecs elapsed_time: 142.438379622 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 5418 (time 1746627874.31 total 10.00 last 541.76) total: 10000 open/close in 18.79 seconds: 532.31 ops/second llite.lustre-ffff8800a8c35800.statahead_batch_max=0 llite.lustre-ffff8800a8c35800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8c35800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m9.794s user 0m0.217s sys 0m9.035s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8800a8c35800.statahead_batch_max=32 llite.lustre-ffff8800a8c35800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8c35800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8c35800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m20.255s user 0m0.215s sys 0m8.680s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8800a8c35800.batch_stats= snapshot_time: 1746627917.234261145 secs.nsecs start_time: 1746627894.729431793 secs.nsecs elapsed_time: 22.504829352 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 1 32: 312 98 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8800a8c35800.batch_stats=0 llite.lustre-ffff8800a8c35800.statahead_max=2048 llite.lustre-ffff8800a8c35800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8800a8c35800.batch_stats=0 total: 100 open/close in 0.49 seconds: 204.32 ops/second llite.lustre-ffff8800a8c35800.statahead_max=0 101 real 0m0.486s user 0m0.003s sys 0m0.179s ls -l 100 files without statahead: 0 sec llite.lustre-ffff8800a8c35800.statahead_max=2048 2048 101 real 0m0.256s user 0m0.002s sys 0m0.107s 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.65 seconds: 545.08 ops/second llite.lustre-ffff8800a8c35800.statahead_max=0 1001 real 0m5.132s user 0m0.027s sys 0m1.850s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff8800a8c35800.statahead_max=2048 2048 1001 real 0m1.164s user 0m0.021s sys 0m0.824s ls -l 1000 files with statahead: 1 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 - open/close 5378 (time 1746627997.39 total 10.00 last 537.80) total: 9000 open/close in 16.89 seconds: 533.01 ops/second llite.lustre-ffff8800a8c35800.statahead_max=0 10001 real 0m52.351s user 0m0.256s sys 0m18.683s ls -l 10000 files without statahead: 52 sec llite.lustre-ffff8800a8c35800.statahead_max=2048 2048 10001 real 0m9.192s user 0m0.157s sys 0m7.869s ls -l 10000 files with statahead: 9 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: 46 seconds llite.lustre-ffff8800a8c35800.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-ffff8800a8c35800.batch_stats= snapshot_time: 1746628118.618133695 secs.nsecs start_time: 1746627917.621477643 secs.nsecs elapsed_time: 200.996656052 secs.nsecs subreqs per batch batches % cum % 1: 350 71 71 2: 19 3 75 4: 20 4 79 8: 21 4 83 16: 17 3 87 32: 22 4 91 64: 1 0 91 128: 2 0 92 256: 38 7 100 - open/close 2697 (time 1746628129.51 total 10.00 last 269.67) - open/close 5249 (time 1746628139.52 total 20.00 last 255.10) - open/close 9916 (time 1746628149.52 total 30.01 last 466.64) total: 10000 open/close in 30.16 seconds: 331.61 ops/second llite.lustre-ffff8800a8c35800.statahead_batch_max=0 llite.lustre-ffff8800a8c35800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8c35800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m8.535s user 0m0.184s sys 0m7.534s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8800a8c35800.statahead_batch_max=256 llite.lustre-ffff8800a8c35800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8c35800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8c35800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m9.046s user 0m0.187s sys 0m7.534s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8800a8c35800.batch_stats= snapshot_time: 1746628171.575819801 secs.nsecs start_time: 1746628159.982873857 secs.nsecs elapsed_time: 11.592945944 secs.nsecs subreqs per batch batches % cum % 1: 225 69 69 2: 16 4 74 4: 7 2 76 8: 9 2 79 16: 18 5 84 32: 13 4 88 64: 0 0 88 128: 0 0 88 256: 36 11 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8800a8c35800.statahead_batch_max=64 llite.lustre-ffff8800a8c35800.statahead_max=128