== sanity test 123ad: Verify batching statahead works correctly ========================================================== 17:29:05 (1763159345) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff94f150e9f000.batch_stats=0 llite.lustre-ffff94f150e9f000.statahead_max=32 llite.lustre-ffff94f150e9f000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff94f150e9f000.batch_stats=0 total: 100 open/close in 0.64 seconds: 157.29 ops/second llite.lustre-ffff94f150e9f000.statahead_max=0 101 real 0m0.634s user 0m0.010s sys 0m0.222s ls -l 100 files without statahead: 0 sec llite.lustre-ffff94f150e9f000.statahead_max=32 32 101 real 0m0.364s user 0m0.002s sys 0m0.230s ls -l 100 files with statahead: 0 sec statahead total: 121 statahead wrong: 1 agl total: 115 list_total: 32 fname_total: 80 hit_total: 21930 miss_total: 250 total: 900 open/close in 1.85 seconds: 485.40 ops/second llite.lustre-ffff94f150e9f000.statahead_max=0 1001 real 0m5.662s user 0m0.021s sys 0m2.017s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff94f150e9f000.statahead_max=32 32 1001 real 0m3.415s user 0m0.011s sys 0m1.924s ls -l 1000 files with statahead: 3 sec statahead total: 122 statahead wrong: 1 agl total: 116 list_total: 33 fname_total: 80 hit_total: 22929 miss_total: 251 - open/close 4891 (time 1763159374.00 total 10.00 last 489.09) total: 9000 open/close in 18.24 seconds: 493.31 ops/second llite.lustre-ffff94f150e9f000.statahead_max=0 10001 real 1m1.731s user 0m0.264s sys 0m21.689s ls -l 10000 files without statahead: 62 sec llite.lustre-ffff94f150e9f000.statahead_max=32 32 10001 real 0m36.568s user 0m0.169s sys 0m20.010s ls -l 10000 files with statahead: 36 sec statahead total: 123 statahead wrong: 1 agl total: 117 list_total: 34 fname_total: 80 hit_total: 32928 miss_total: 252 ls -l done rm -r /mnt/lustre/d123ad.sanity: 64 seconds llite.lustre-ffff94f150e9f000.statahead_stats= statahead total: 123 statahead wrong: 1 agl total: 117 list_total: 34 fname_total: 80 hit_total: 32928 miss_total: 252 mdc.lustre-MDT0000-mdc-ffff94f150e9f000.batch_stats= snapshot_time: 1763159555.391583352 secs.nsecs start_time: 1763159346.621491940 secs.nsecs elapsed_time: 208.770091412 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 4400 (time 1763159566.66 total 10.00 last 439.94) - open/close 8820 (time 1763159576.66 total 20.00 last 441.96) total: 10000 open/close in 22.64 seconds: 441.60 ops/second llite.lustre-ffff94f150e9f000.statahead_batch_max=0 llite.lustre-ffff94f150e9f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94f150e9f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.143s user 0m0.194s sys 0m30.262s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff94f150e9f000.statahead_batch_max=32 llite.lustre-ffff94f150e9f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94f150e9f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff94f150e9f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m38.216s user 0m0.156s sys 0m21.595s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff94f150e9f000.batch_stats= snapshot_time: 1763159658.800059337 secs.nsecs start_time: 1763159615.414758620 secs.nsecs elapsed_time: 43.385300717 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-ffff94f150e9f000.batch_stats=0 llite.lustre-ffff94f150e9f000.statahead_max=2048 llite.lustre-ffff94f150e9f000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff94f150e9f000.batch_stats=0 total: 100 open/close in 0.65 seconds: 153.44 ops/second llite.lustre-ffff94f150e9f000.statahead_max=0 101 real 0m0.620s user 0m0.003s sys 0m0.211s ls -l 100 files without statahead: 1 sec llite.lustre-ffff94f150e9f000.statahead_max=2048 2048 101 real 0m0.361s user 0m0.002s sys 0m0.288s 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.93 seconds: 466.00 ops/second llite.lustre-ffff94f150e9f000.statahead_max=0 1001 real 0m6.080s user 0m0.018s sys 0m2.187s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff94f150e9f000.statahead_max=2048 2048 1001 real 0m3.247s user 0m0.014s sys 0m1.238s 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 4333 (time 1763159777.17 total 10.00 last 433.28) - open/close 8635 (time 1763159787.17 total 20.00 last 430.14) total: 9000 open/close in 20.85 seconds: 431.72 ops/second llite.lustre-ffff94f150e9f000.statahead_max=0 10001 real 0m59.663s user 0m0.218s sys 0m20.943s ls -l 10000 files without statahead: 59 sec llite.lustre-ffff94f150e9f000.statahead_max=2048 2048 10001 real 0m28.512s user 0m0.179s sys 0m20.605s ls -l 10000 files with statahead: 28 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: 66 seconds llite.lustre-ffff94f150e9f000.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-ffff94f150e9f000.batch_stats= snapshot_time: 1763159953.108157521 secs.nsecs start_time: 1763159659.665831676 secs.nsecs elapsed_time: 293.442325845 secs.nsecs subreqs per batch batches % cum % 1: 83 40 40 2: 35 17 58 4: 9 4 62 8: 4 1 64 16: 5 2 66 32: 23 11 78 64: 3 1 79 128: 1 0 80 256: 40 19 100 - open/close 4561 (time 1763159963.94 total 10.00 last 456.01) - open/close 9152 (time 1763159973.94 total 20.00 last 459.10) total: 10000 open/close in 21.93 seconds: 456.03 ops/second llite.lustre-ffff94f150e9f000.statahead_batch_max=0 llite.lustre-ffff94f150e9f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94f150e9f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m27.952s user 0m0.150s sys 0m23.708s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff94f150e9f000.statahead_batch_max=256 llite.lustre-ffff94f150e9f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94f150e9f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff94f150e9f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m22.935s user 0m0.140s sys 0m16.919s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff94f150e9f000.batch_stats= snapshot_time: 1763160033.812947272 secs.nsecs start_time: 1763160006.577240804 secs.nsecs elapsed_time: 27.235706468 secs.nsecs subreqs per batch batches % cum % 1: 220 58 58 2: 47 12 70 4: 36 9 80 8: 12 3 83 16: 2 0 84 32: 25 6 90 64: 0 0 90 128: 0 0 90 256: 35 9 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff94f150e9f000.statahead_batch_max=64 llite.lustre-ffff94f150e9f000.statahead_max=128