== sanity test 123ad: Verify batching statahead works correctly ========================================================== 22:01:31 (1777428091) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff906298fd7800.batch_stats=0 llite.lustre-ffff906298fd7800.statahead_max=32 llite.lustre-ffff906298fd7800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff906298fd7800.batch_stats=0 total: 100 open/close in 0.65 seconds: 155.02 ops/second llite.lustre-ffff906298fd7800.statahead_max=0 101 real 0m0.622s user 0m0.005s sys 0m0.230s ls -l 100 files without statahead: 0 sec llite.lustre-ffff906298fd7800.statahead_max=32 32 101 real 0m0.485s user 0m0.004s sys 0m0.362s ls -l 100 files with statahead: 1 sec statahead total: 61 statahead wrong: 2 agl total: 57 list_total: 29 fname_total: 32 hit_total: 33865 miss_total: 1093 total: 900 open/close in 1.97 seconds: 455.97 ops/second llite.lustre-ffff906298fd7800.statahead_max=0 1001 real 0m5.737s user 0m0.028s sys 0m2.132s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff906298fd7800.statahead_max=32 32 1001 real 0m3.613s user 0m0.012s sys 0m2.222s 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: 34864 miss_total: 1094 - open/close 4617 (time 1777428120.79 total 10.00 last 461.69) - open/close 8980 (time 1777428130.79 total 20.00 last 436.22) total: 9000 open/close in 20.04 seconds: 449.00 ops/second llite.lustre-ffff906298fd7800.statahead_max=0 10001 real 0m57.714s user 0m0.163s sys 0m20.687s ls -l 10000 files without statahead: 58 sec llite.lustre-ffff906298fd7800.statahead_max=32 32 10001 real 0m41.836s user 0m0.141s sys 0m25.419s ls -l 10000 files with statahead: 42 sec statahead total: 63 statahead wrong: 2 agl total: 59 list_total: 31 fname_total: 32 hit_total: 44863 miss_total: 1095 ls -l done rm -r /mnt/lustre/d123ad.sanity: 61 seconds llite.lustre-ffff906298fd7800.statahead_stats= statahead total: 63 statahead wrong: 2 agl total: 59 list_total: 31 fname_total: 32 hit_total: 44863 miss_total: 1095 mdc.lustre-MDT0000-mdc-ffff906298fd7800.batch_stats= snapshot_time: 1777428303.655063183 secs.nsecs start_time: 1777428092.497435157 secs.nsecs elapsed_time: 211.157628026 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 4487 (time 1777428314.39 total 10.00 last 448.65) - open/close 9015 (time 1777428324.39 total 20.00 last 452.80) total: 10000 open/close in 22.14 seconds: 451.60 ops/second llite.lustre-ffff906298fd7800.statahead_batch_max=0 llite.lustre-ffff906298fd7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff906298fd7800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m43.102s user 0m0.150s sys 0m41.156s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff906298fd7800.statahead_batch_max=32 llite.lustre-ffff906298fd7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff906298fd7800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff906298fd7800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m48.372s user 0m0.175s sys 0m29.641s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff906298fd7800.batch_stats= snapshot_time: 1777428428.034210858 secs.nsecs start_time: 1777428372.591496636 secs.nsecs elapsed_time: 55.442714222 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-ffff906298fd7800.batch_stats=0 llite.lustre-ffff906298fd7800.statahead_max=2048 llite.lustre-ffff906298fd7800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff906298fd7800.batch_stats=0 total: 100 open/close in 0.64 seconds: 156.76 ops/second llite.lustre-ffff906298fd7800.statahead_max=0 101 real 0m0.624s user 0m0.004s sys 0m0.235s ls -l 100 files without statahead: 1 sec llite.lustre-ffff906298fd7800.statahead_max=2048 2048 101 real 0m0.449s user 0m0.003s sys 0m0.327s 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.98 seconds: 454.56 ops/second llite.lustre-ffff906298fd7800.statahead_max=0 1001 real 0m5.785s user 0m0.018s sys 0m2.138s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff906298fd7800.statahead_max=2048 2048 1001 real 0m3.264s user 0m0.014s sys 0m1.926s 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 4572 (time 1777428540.76 total 10.00 last 457.09) total: 9000 open/close in 19.60 seconds: 459.16 ops/second llite.lustre-ffff906298fd7800.statahead_max=0 10001 real 0m57.388s user 0m0.180s sys 0m21.400s ls -l 10000 files without statahead: 57 sec llite.lustre-ffff906298fd7800.statahead_max=2048 2048 10001 real 0m36.840s user 0m0.175s sys 0m25.065s ls -l 10000 files with statahead: 37 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: 64 seconds llite.lustre-ffff906298fd7800.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-ffff906298fd7800.batch_stats= snapshot_time: 1777428720.194631336 secs.nsecs start_time: 1777428428.978998367 secs.nsecs elapsed_time: 291.215632969 secs.nsecs subreqs per batch batches % cum % 1: 409 65 65 2: 110 17 83 4: 27 4 87 8: 8 1 88 16: 11 1 90 32: 18 2 93 64: 2 0 93 128: 1 0 93 256: 38 6 100 - open/close 4486 (time 1777428731.82 total 10.00 last 448.56) - open/close 7902 (time 1777428741.82 total 20.00 last 341.56) total: 10000 open/close in 25.18 seconds: 397.07 ops/second llite.lustre-ffff906298fd7800.statahead_batch_max=0 llite.lustre-ffff906298fd7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff906298fd7800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.335s user 0m0.138s sys 0m27.930s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff906298fd7800.statahead_batch_max=256 llite.lustre-ffff906298fd7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff906298fd7800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff906298fd7800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m30.652s user 0m0.159s sys 0m21.596s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff906298fd7800.batch_stats= snapshot_time: 1777428820.182474415 secs.nsecs start_time: 1777428783.385770926 secs.nsecs elapsed_time: 36.796703489 secs.nsecs subreqs per batch batches % cum % 1: 480 64 64 2: 115 15 80 4: 76 10 90 8: 11 1 91 16: 7 0 92 32: 20 2 95 64: 1 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-ffff906298fd7800.statahead_batch_max=64 llite.lustre-ffff906298fd7800.statahead_max=128