== sanity test 123ad: Verify batching statahead works correctly ========================================================== 21:16:28 (1777425388) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9f52c4fbf000.batch_stats=0 llite.lustre-ffff9f52c4fbf000.statahead_max=32 llite.lustre-ffff9f52c4fbf000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9f52c4fbf000.batch_stats=0 total: 100 open/close in 0.61 seconds: 163.86 ops/second llite.lustre-ffff9f52c4fbf000.statahead_max=0 101 real 0m0.540s user 0m0.004s sys 0m0.214s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9f52c4fbf000.statahead_max=32 32 101 real 0m0.369s user 0m0.001s sys 0m0.197s ls -l 100 files with statahead: 1 sec statahead total: 101 statahead wrong: 2 agl total: 95 list_total: 31 fname_total: 70 hit_total: 28644 miss_total: 509 total: 900 open/close in 1.64 seconds: 548.55 ops/second llite.lustre-ffff9f52c4fbf000.statahead_max=0 1001 real 0m5.508s user 0m0.022s sys 0m2.149s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff9f52c4fbf000.statahead_max=32 32 1001 real 0m3.930s user 0m0.024s sys 0m2.286s ls -l 1000 files with statahead: 4 sec statahead total: 102 statahead wrong: 2 agl total: 96 list_total: 32 fname_total: 70 hit_total: 29643 miss_total: 510 - open/close 4646 (time 1777425417.36 total 10.00 last 464.60) total: 9000 open/close in 19.32 seconds: 465.85 ops/second llite.lustre-ffff9f52c4fbf000.statahead_max=0 10001 real 1m0.028s user 0m0.212s sys 0m23.204s ls -l 10000 files without statahead: 60 sec llite.lustre-ffff9f52c4fbf000.statahead_max=32 32 10001 real 0m39.199s user 0m0.153s sys 0m22.654s ls -l 10000 files with statahead: 39 sec statahead total: 103 statahead wrong: 2 agl total: 97 list_total: 33 fname_total: 70 hit_total: 39642 miss_total: 511 ls -l done rm -r /mnt/lustre/d123ad.sanity: 62 seconds llite.lustre-ffff9f52c4fbf000.statahead_stats= statahead total: 103 statahead wrong: 2 agl total: 97 list_total: 33 fname_total: 70 hit_total: 39642 miss_total: 511 mdc.lustre-MDT0000-mdc-ffff9f52c4fbf000.batch_stats= snapshot_time: 1777425600.520312624 secs.nsecs start_time: 1777425389.851297027 secs.nsecs elapsed_time: 210.669015597 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 4654 (time 1777425611.28 total 10.00 last 465.32) - open/close 9308 (time 1777425621.28 total 20.00 last 465.39) total: 10000 open/close in 21.58 seconds: 463.47 ops/second llite.lustre-ffff9f52c4fbf000.statahead_batch_max=0 llite.lustre-ffff9f52c4fbf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f52c4fbf000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.437s user 0m0.147s sys 0m34.033s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9f52c4fbf000.statahead_batch_max=32 llite.lustre-ffff9f52c4fbf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f52c4fbf000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9f52c4fbf000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.955s user 0m0.160s sys 0m20.946s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9f52c4fbf000.batch_stats= snapshot_time: 1777425703.499036804 secs.nsecs start_time: 1777425661.701895778 secs.nsecs elapsed_time: 41.797141026 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-ffff9f52c4fbf000.batch_stats=0 llite.lustre-ffff9f52c4fbf000.statahead_max=2048 llite.lustre-ffff9f52c4fbf000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9f52c4fbf000.batch_stats=0 total: 100 open/close in 0.70 seconds: 142.28 ops/second llite.lustre-ffff9f52c4fbf000.statahead_max=0 101 real 0m0.617s user 0m0.002s sys 0m0.240s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9f52c4fbf000.statahead_max=2048 2048 101 real 0m0.405s user 0m0.002s sys 0m0.262s 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 2.05 seconds: 438.90 ops/second llite.lustre-ffff9f52c4fbf000.statahead_max=0 1001 real 0m6.488s user 0m0.015s sys 0m2.523s ls -l 1000 files without statahead: 7 sec llite.lustre-ffff9f52c4fbf000.statahead_max=2048 2048 1001 real 0m3.228s user 0m0.016s sys 0m1.833s 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 4567 (time 1777425816.85 total 10.00 last 456.66) total: 9000 open/close in 19.99 seconds: 450.17 ops/second llite.lustre-ffff9f52c4fbf000.statahead_max=0 10001 real 0m56.733s user 0m0.201s sys 0m21.775s ls -l 10000 files without statahead: 56 sec llite.lustre-ffff9f52c4fbf000.statahead_max=2048 2048 10001 real 0m26.422s user 0m0.154s sys 0m19.121s ls -l 10000 files with statahead: 26 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: 57 seconds llite.lustre-ffff9f52c4fbf000.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-ffff9f52c4fbf000.batch_stats= snapshot_time: 1777425979.596165381 secs.nsecs start_time: 1777425704.380651947 secs.nsecs elapsed_time: 275.215513434 secs.nsecs subreqs per batch batches % cum % 1: 135 46 46 2: 29 10 56 4: 38 13 70 8: 15 5 75 16: 7 2 77 32: 22 7 85 64: 2 0 86 128: 1 0 86 256: 39 13 100 - open/close 4776 (time 1777425990.57 total 10.00 last 477.53) total: 10000 open/close in 19.44 seconds: 514.34 ops/second llite.lustre-ffff9f52c4fbf000.statahead_batch_max=0 llite.lustre-ffff9f52c4fbf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f52c4fbf000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.385s user 0m0.134s sys 0m28.659s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9f52c4fbf000.statahead_batch_max=256 llite.lustre-ffff9f52c4fbf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f52c4fbf000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9f52c4fbf000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m25.617s user 0m0.148s sys 0m18.284s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9f52c4fbf000.batch_stats= snapshot_time: 1777426067.795213935 secs.nsecs start_time: 1777426036.206796082 secs.nsecs elapsed_time: 31.588417853 secs.nsecs subreqs per batch batches % cum % 1: 486 65 65 2: 85 11 76 4: 91 12 89 8: 21 2 91 16: 5 0 92 32: 22 2 95 64: 0 0 95 128: 0 0 95 256: 33 4 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff9f52c4fbf000.statahead_batch_max=64 llite.lustre-ffff9f52c4fbf000.statahead_max=128