== sanity test 123ad: Verify batching statahead works correctly ========================================================== 03:28:50 (1769761730) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff898ea1199800.batch_stats=0 llite.lustre-ffff898ea1199800.statahead_max=32 llite.lustre-ffff898ea1199800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff898ea1199800.batch_stats=0 total: 100 open/close in 0.60 seconds: 166.43 ops/second llite.lustre-ffff898ea1199800.statahead_max=0 101 real 0m0.663s user 0m0.001s sys 0m0.248s ls -l 100 files without statahead: 1 sec llite.lustre-ffff898ea1199800.statahead_max=32 32 101 real 0m0.455s user 0m0.006s sys 0m0.295s ls -l 100 files with statahead: 0 sec statahead total: 147 statahead wrong: 1 agl total: 140 list_total: 33 fname_total: 99 hit_total: 20621 miss_total: 253 total: 900 open/close in 1.77 seconds: 507.56 ops/second llite.lustre-ffff898ea1199800.statahead_max=0 1001 real 0m5.743s user 0m0.025s sys 0m2.215s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff898ea1199800.statahead_max=32 32 1001 real 0m3.775s user 0m0.017s sys 0m2.243s ls -l 1000 files with statahead: 4 sec statahead total: 148 statahead wrong: 1 agl total: 141 list_total: 34 fname_total: 99 hit_total: 21620 miss_total: 254 - open/close 4694 (time 1769761760.22 total 10.00 last 469.38) total: 9000 open/close in 18.87 seconds: 476.99 ops/second llite.lustre-ffff898ea1199800.statahead_max=0 10001 real 1m1.470s user 0m0.231s sys 0m23.338s ls -l 10000 files without statahead: 61 sec llite.lustre-ffff898ea1199800.statahead_max=32 32 10001 real 0m36.424s user 0m0.154s sys 0m20.913s ls -l 10000 files with statahead: 36 sec statahead total: 149 statahead wrong: 1 agl total: 142 list_total: 35 fname_total: 99 hit_total: 31619 miss_total: 255 ls -l done rm -r /mnt/lustre/d123ad.sanity: 60 seconds llite.lustre-ffff898ea1199800.statahead_stats= statahead total: 149 statahead wrong: 1 agl total: 142 list_total: 35 fname_total: 99 hit_total: 31619 miss_total: 255 mdc.lustre-MDT0000-mdc-ffff898ea1199800.batch_stats= snapshot_time: 1769761939.376625908 secs.nsecs start_time: 1769761732.144139783 secs.nsecs elapsed_time: 207.232486125 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 4955 (time 1769761950.23 total 10.00 last 495.45) total: 10000 open/close in 19.76 seconds: 506.02 ops/second llite.lustre-ffff898ea1199800.statahead_batch_max=0 llite.lustre-ffff898ea1199800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff898ea1199800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.042s user 0m0.180s sys 0m30.127s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff898ea1199800.statahead_batch_max=32 llite.lustre-ffff898ea1199800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff898ea1199800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff898ea1199800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.819s user 0m0.140s sys 0m20.412s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff898ea1199800.batch_stats= snapshot_time: 1769762038.074109940 secs.nsecs start_time: 1769761995.832977338 secs.nsecs elapsed_time: 42.241132602 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-ffff898ea1199800.batch_stats=0 llite.lustre-ffff898ea1199800.statahead_max=2048 llite.lustre-ffff898ea1199800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff898ea1199800.batch_stats=0 total: 100 open/close in 0.67 seconds: 149.46 ops/second llite.lustre-ffff898ea1199800.statahead_max=0 101 real 0m0.663s user 0m0.002s sys 0m0.272s ls -l 100 files without statahead: 1 sec llite.lustre-ffff898ea1199800.statahead_max=2048 2048 101 real 0m0.735s user 0m0.005s sys 0m0.236s 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.95 seconds: 461.71 ops/second llite.lustre-ffff898ea1199800.statahead_max=0 1001 real 0m6.218s user 0m0.018s sys 0m2.470s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff898ea1199800.statahead_max=2048 2048 1001 real 0m3.494s user 0m0.018s sys 0m2.066s 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 4473 (time 1769762159.27 total 10.00 last 447.23) - open/close 8880 (time 1769762169.27 total 20.00 last 440.64) total: 9000 open/close in 20.30 seconds: 443.43 ops/second llite.lustre-ffff898ea1199800.statahead_max=0 10001 real 1m0.802s user 0m0.206s sys 0m23.137s ls -l 10000 files without statahead: 60 sec llite.lustre-ffff898ea1199800.statahead_max=2048 2048 10001 real 0m29.573s user 0m0.142s sys 0m21.091s ls -l 10000 files with statahead: 29 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: 69 seconds llite.lustre-ffff898ea1199800.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-ffff898ea1199800.batch_stats= snapshot_time: 1769762340.787652063 secs.nsecs start_time: 1769762038.786664746 secs.nsecs elapsed_time: 302.000987317 secs.nsecs subreqs per batch batches % cum % 1: 381 66 66 2: 65 11 78 4: 42 7 85 8: 13 2 88 16: 4 0 88 32: 24 4 92 64: 1 0 93 128: 1 0 93 256: 38 6 100 - open/close 4596 (time 1769762351.62 total 10.00 last 459.55) - open/close 9099 (time 1769762361.62 total 20.00 last 450.22) total: 10000 open/close in 22.03 seconds: 453.91 ops/second llite.lustre-ffff898ea1199800.statahead_batch_max=0 llite.lustre-ffff898ea1199800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff898ea1199800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.496s user 0m0.168s sys 0m28.632s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff898ea1199800.statahead_batch_max=256 llite.lustre-ffff898ea1199800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff898ea1199800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff898ea1199800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.833s user 0m0.159s sys 0m21.660s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff898ea1199800.batch_stats= snapshot_time: 1769762440.100382185 secs.nsecs start_time: 1769762401.472912007 secs.nsecs elapsed_time: 38.627470178 secs.nsecs subreqs per batch batches % cum % 1: 433 68 68 2: 84 13 82 4: 38 6 88 8: 12 1 90 16: 6 0 91 32: 22 3 94 64: 0 0 94 128: 0 0 94 256: 34 5 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff898ea1199800.statahead_batch_max=64 llite.lustre-ffff898ea1199800.statahead_max=128