== sanity test 123ad: Verify batching statahead works correctly ========================================================== 07:01:53 (1762171313) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8e3790da8800.batch_stats=0 llite.lustre-ffff8e3790da8800.statahead_max=32 llite.lustre-ffff8e3790da8800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8e3790da8800.batch_stats=0 total: 100 open/close in 0.70 seconds: 143.29 ops/second llite.lustre-ffff8e3790da8800.statahead_max=0 101 real 0m0.665s user 0m0.007s sys 0m0.234s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8e3790da8800.statahead_max=32 32 101 real 0m0.404s user 0m0.001s sys 0m0.215s ls -l 100 files with statahead: 1 sec statahead total: 97 statahead wrong: 1 agl total: 73 list_total: 30 fname_total: 62 hit_total: 22107 miss_total: 232 total: 900 open/close in 1.75 seconds: 515.71 ops/second llite.lustre-ffff8e3790da8800.statahead_max=0 1001 real 0m6.237s user 0m0.031s sys 0m2.211s ls -l 1000 files without statahead: 7 sec llite.lustre-ffff8e3790da8800.statahead_max=32 32 1001 real 0m4.052s user 0m0.015s sys 0m2.412s ls -l 1000 files with statahead: 4 sec statahead total: 98 statahead wrong: 1 agl total: 74 list_total: 31 fname_total: 62 hit_total: 23106 miss_total: 233 - open/close 4891 (time 1762171343.66 total 10.00 last 489.09) total: 9000 open/close in 18.34 seconds: 490.65 ops/second llite.lustre-ffff8e3790da8800.statahead_max=0 10001 real 1m2.513s user 0m0.283s sys 0m22.106s ls -l 10000 files without statahead: 62 sec llite.lustre-ffff8e3790da8800.statahead_max=32 32 10001 real 0m38.310s user 0m0.157s sys 0m22.984s ls -l 10000 files with statahead: 39 sec statahead total: 99 statahead wrong: 1 agl total: 75 list_total: 32 fname_total: 62 hit_total: 33105 miss_total: 234 ls -l done rm -r /mnt/lustre/d123ad.sanity: 67 seconds llite.lustre-ffff8e3790da8800.statahead_stats= statahead total: 99 statahead wrong: 1 agl total: 75 list_total: 32 fname_total: 62 hit_total: 33105 miss_total: 234 mdc.lustre-MDT0000-mdc-ffff8e3790da8800.batch_stats= snapshot_time: 1762171530.613638146 secs.nsecs start_time: 1762171314.724656564 secs.nsecs elapsed_time: 215.888981582 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 4571 (time 1762171541.43 total 10.00 last 457.09) - open/close 9022 (time 1762171551.43 total 20.00 last 445.09) total: 10000 open/close in 22.19 seconds: 450.58 ops/second llite.lustre-ffff8e3790da8800.statahead_batch_max=0 llite.lustre-ffff8e3790da8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e3790da8800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.679s user 0m0.207s sys 0m31.454s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8e3790da8800.statahead_batch_max=32 llite.lustre-ffff8e3790da8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e3790da8800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8e3790da8800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m39.701s user 0m0.177s sys 0m22.993s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8e3790da8800.batch_stats= snapshot_time: 1762171636.834514069 secs.nsecs start_time: 1762171591.114563039 secs.nsecs elapsed_time: 45.719951030 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-ffff8e3790da8800.batch_stats=0 llite.lustre-ffff8e3790da8800.statahead_max=2048 llite.lustre-ffff8e3790da8800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8e3790da8800.batch_stats=0 total: 100 open/close in 0.70 seconds: 142.52 ops/second llite.lustre-ffff8e3790da8800.statahead_max=0 101 real 0m0.700s user 0m0.001s sys 0m0.251s ls -l 100 files without statahead: 0 sec llite.lustre-ffff8e3790da8800.statahead_max=2048 2048 101 real 0m0.384s user 0m0.004s sys 0m0.259s 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.92 seconds: 469.49 ops/second llite.lustre-ffff8e3790da8800.statahead_max=0 1001 real 0m6.074s user 0m0.019s sys 0m2.121s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff8e3790da8800.statahead_max=2048 2048 1001 real 0m4.020s user 0m0.018s sys 0m1.966s ls -l 1000 files with statahead: 4 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 - open/close 4590 (time 1762171758.76 total 10.00 last 458.97) total: 9000 open/close in 19.99 seconds: 450.33 ops/second llite.lustre-ffff8e3790da8800.statahead_max=0 10001 real 0m59.308s user 0m0.212s sys 0m20.948s ls -l 10000 files without statahead: 60 sec llite.lustre-ffff8e3790da8800.statahead_max=2048 2048 10001 real 0m30.008s user 0m0.133s sys 0m21.496s ls -l 10000 files with statahead: 30 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: 72 seconds llite.lustre-ffff8e3790da8800.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-ffff8e3790da8800.batch_stats= snapshot_time: 1762171941.173036937 secs.nsecs start_time: 1762171637.793953510 secs.nsecs elapsed_time: 303.379083427 secs.nsecs subreqs per batch batches % cum % 1: 230 60 60 2: 55 14 74 4: 19 4 79 8: 6 1 81 16: 4 1 82 32: 25 6 88 64: 2 0 89 128: 1 0 89 256: 39 10 100 - open/close 4447 (time 1762171952.00 total 10.00 last 444.60) - open/close 8849 (time 1762171962.00 total 20.00 last 440.16) total: 10000 open/close in 22.70 seconds: 440.62 ops/second llite.lustre-ffff8e3790da8800.statahead_batch_max=0 llite.lustre-ffff8e3790da8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e3790da8800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.792s user 0m0.133s sys 0m38.685s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8e3790da8800.statahead_batch_max=256 llite.lustre-ffff8e3790da8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e3790da8800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8e3790da8800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m28.096s user 0m0.158s sys 0m21.447s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8e3790da8800.batch_stats= snapshot_time: 1762172047.663380132 secs.nsecs start_time: 1762172014.995970979 secs.nsecs elapsed_time: 32.667409153 secs.nsecs subreqs per batch batches % cum % 1: 178 59 59 2: 26 8 68 4: 21 7 75 8: 10 3 78 16: 3 1 79 32: 22 7 86 64: 3 1 87 128: 1 0 88 256: 35 11 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8e3790da8800.statahead_batch_max=64 llite.lustre-ffff8e3790da8800.statahead_max=128