== sanity test 123ad: Verify batching statahead works correctly ========================================================== 19:00:40 (1775170840) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8922c952f000.batch_stats=0 llite.lustre-ffff8922c952f000.statahead_max=32 llite.lustre-ffff8922c952f000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8922c952f000.batch_stats=0 total: 100 open/close in 0.63 seconds: 158.00 ops/second llite.lustre-ffff8922c952f000.statahead_max=0 101 real 0m0.679s user 0m0.004s sys 0m0.259s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8922c952f000.statahead_max=32 32 101 real 0m0.380s user 0m0.003s sys 0m0.232s ls -l 100 files with statahead: 0 sec statahead total: 61 statahead wrong: 2 agl total: 57 list_total: 29 fname_total: 32 hit_total: 33942 miss_total: 1269 total: 900 open/close in 2.02 seconds: 446.45 ops/second llite.lustre-ffff8922c952f000.statahead_max=0 1001 real 0m5.881s user 0m0.020s sys 0m2.305s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff8922c952f000.statahead_max=32 32 1001 real 0m3.701s user 0m0.017s sys 0m2.201s ls -l 1000 files with statahead: 4 sec statahead total: 62 statahead wrong: 2 agl total: 58 list_total: 30 fname_total: 32 hit_total: 34941 miss_total: 1270 - open/close 4738 (time 1775170870.49 total 10.00 last 473.75) total: 9000 open/close in 18.05 seconds: 498.52 ops/second llite.lustre-ffff8922c952f000.statahead_max=0 10001 real 0m57.158s user 0m0.182s sys 0m21.385s ls -l 10000 files without statahead: 58 sec llite.lustre-ffff8922c952f000.statahead_max=32 32 10001 real 0m36.278s user 0m0.162s sys 0m19.711s ls -l 10000 files with statahead: 36 sec statahead total: 63 statahead wrong: 2 agl total: 59 list_total: 31 fname_total: 32 hit_total: 44940 miss_total: 1271 ls -l done rm -r /mnt/lustre/d123ad.sanity: 59 seconds llite.lustre-ffff8922c952f000.statahead_stats= statahead total: 63 statahead wrong: 2 agl total: 59 list_total: 31 fname_total: 32 hit_total: 44940 miss_total: 1271 mdc.lustre-MDT0000-mdc-ffff8922c952f000.batch_stats= snapshot_time: 1775171044.309096980 secs.nsecs start_time: 1775170841.969245592 secs.nsecs elapsed_time: 202.339851388 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 4750 (time 1775171055.17 total 10.00 last 474.93) - open/close 9455 (time 1775171065.17 total 20.00 last 470.49) total: 10000 open/close in 21.18 seconds: 472.10 ops/second llite.lustre-ffff8922c952f000.statahead_batch_max=0 llite.lustre-ffff8922c952f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8922c952f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.494s user 0m0.153s sys 0m32.020s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8922c952f000.statahead_batch_max=32 llite.lustre-ffff8922c952f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8922c952f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8922c952f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.383s user 0m0.159s sys 0m19.982s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8922c952f000.batch_stats= snapshot_time: 1775171144.314292246 secs.nsecs start_time: 1775171102.967438428 secs.nsecs elapsed_time: 41.346853818 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-ffff8922c952f000.batch_stats=0 llite.lustre-ffff8922c952f000.statahead_max=2048 llite.lustre-ffff8922c952f000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8922c952f000.batch_stats=0 total: 100 open/close in 0.57 seconds: 176.21 ops/second llite.lustre-ffff8922c952f000.statahead_max=0 101 real 0m0.576s user 0m0.001s sys 0m0.229s ls -l 100 files without statahead: 0 sec llite.lustre-ffff8922c952f000.statahead_max=2048 2048 101 real 0m0.336s user 0m0.003s sys 0m0.186s 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.85 seconds: 485.87 ops/second llite.lustre-ffff8922c952f000.statahead_max=0 1001 real 0m5.484s user 0m0.021s sys 0m2.060s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff8922c952f000.statahead_max=2048 2048 1001 real 0m3.127s user 0m0.015s sys 0m1.782s 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 4290 (time 1775171250.44 total 10.00 last 428.88) - open/close 7631 (time 1775171260.44 total 20.01 last 333.99) total: 9000 open/close in 24.28 seconds: 370.73 ops/second llite.lustre-ffff8922c952f000.statahead_max=0 10001 real 1m22.968s user 0m0.228s sys 0m30.237s ls -l 10000 files without statahead: 83 sec llite.lustre-ffff8922c952f000.statahead_max=2048 2048 10001 real 0m36.111s user 0m0.143s sys 0m24.511s ls -l 10000 files with statahead: 36 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: 80 seconds llite.lustre-ffff8922c952f000.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-ffff8922c952f000.batch_stats= snapshot_time: 1775171479.610462861 secs.nsecs start_time: 1775171145.103517172 secs.nsecs elapsed_time: 334.506945689 secs.nsecs subreqs per batch batches % cum % 1: 229 56 56 2: 64 15 72 4: 32 7 80 8: 9 2 82 16: 7 1 84 32: 21 5 89 64: 1 0 90 128: 1 0 90 256: 39 9 100 - open/close 2919 (time 1775171490.37 total 10.00 last 291.89) - open/close 6006 (time 1775171500.37 total 20.00 last 308.67) - open/close 8799 (time 1775171510.37 total 30.00 last 279.28) total: 10000 open/close in 34.19 seconds: 292.50 ops/second llite.lustre-ffff8922c952f000.statahead_batch_max=0 llite.lustre-ffff8922c952f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8922c952f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m29.610s user 0m0.138s sys 0m24.855s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8922c952f000.statahead_batch_max=256 llite.lustre-ffff8922c952f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8922c952f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8922c952f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m26.500s user 0m0.146s sys 0m18.397s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8922c952f000.batch_stats= snapshot_time: 1775171580.792315816 secs.nsecs start_time: 1775171547.573737880 secs.nsecs elapsed_time: 33.218577936 secs.nsecs subreqs per batch batches % cum % 1: 105 44 44 2: 33 13 58 4: 30 12 70 8: 5 2 72 16: 3 1 74 32: 25 10 84 64: 0 0 84 128: 0 0 84 256: 36 15 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8922c952f000.statahead_batch_max=64 llite.lustre-ffff8922c952f000.statahead_max=128