== sanity test 123ad: Verify batching statahead works correctly ========================================================== 17:25:35 (1760131535) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff988b07ea8800.batch_stats=0 llite.lustre-ffff988b07ea8800.statahead_max=32 llite.lustre-ffff988b07ea8800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff988b07ea8800.batch_stats=0 total: 100 open/close in 0.80 seconds: 125.54 ops/second llite.lustre-ffff988b07ea8800.statahead_max=0 101 real 0m0.703s user 0m0.005s sys 0m0.243s ls -l 100 files without statahead: 1 sec llite.lustre-ffff988b07ea8800.statahead_max=32 32 101 real 0m0.461s user 0m0.004s sys 0m0.281s ls -l 100 files with statahead: 0 sec statahead total: 117 statahead wrong: 2 agl total: 111 list_total: 33 fname_total: 84 hit_total: 13707 miss_total: 1567 total: 900 open/close in 2.15 seconds: 418.89 ops/second llite.lustre-ffff988b07ea8800.statahead_max=0 1001 real 0m6.587s user 0m0.027s sys 0m2.330s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff988b07ea8800.statahead_max=32 32 1001 real 0m3.623s user 0m0.018s sys 0m2.039s ls -l 1000 files with statahead: 4 sec statahead total: 118 statahead wrong: 2 agl total: 112 list_total: 34 fname_total: 84 hit_total: 14706 miss_total: 1568 - open/close 3300 (time 1760131566.78 total 10.00 last 329.99) - open/close 7225 (time 1760131576.78 total 20.00 last 392.50) total: 9000 open/close in 25.07 seconds: 358.98 ops/second llite.lustre-ffff988b07ea8800.statahead_max=0 10001 real 1m6.268s user 0m0.342s sys 0m22.658s ls -l 10000 files without statahead: 66 sec llite.lustre-ffff988b07ea8800.statahead_max=32 32 10001 real 0m34.033s user 0m0.160s sys 0m18.612s ls -l 10000 files with statahead: 34 sec statahead total: 119 statahead wrong: 2 agl total: 113 list_total: 35 fname_total: 84 hit_total: 24705 miss_total: 1569 ls -l done rm -r /mnt/lustre/d123ad.sanity: 74 seconds llite.lustre-ffff988b07ea8800.statahead_stats= statahead total: 119 statahead wrong: 2 agl total: 113 list_total: 35 fname_total: 84 hit_total: 24705 miss_total: 1569 mdc.lustre-MDT0000-mdc-ffff988b07ea8800.batch_stats= snapshot_time: 1760131766.026848743 secs.nsecs start_time: 1760131536.946925045 secs.nsecs elapsed_time: 229.079923698 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 0 0 4: 0 0 0 8: 3 0 1 16: 4 1 2 32: 346 97 100 - open/close 2883 (time 1760131776.90 total 10.00 last 288.29) - open/close 5608 (time 1760131786.90 total 20.00 last 272.41) - open/close 8639 (time 1760131796.91 total 30.01 last 302.93) total: 10000 open/close in 33.86 seconds: 295.30 ops/second llite.lustre-ffff988b07ea8800.statahead_batch_max=0 llite.lustre-ffff988b07ea8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff988b07ea8800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.214s user 0m0.212s sys 0m29.836s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff988b07ea8800.statahead_batch_max=32 llite.lustre-ffff988b07ea8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff988b07ea8800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff988b07ea8800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.867s user 0m0.153s sys 0m18.753s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff988b07ea8800.batch_stats= snapshot_time: 1760131876.323154190 secs.nsecs start_time: 1760131836.973386907 secs.nsecs elapsed_time: 39.349767283 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-ffff988b07ea8800.batch_stats=0 llite.lustre-ffff988b07ea8800.statahead_max=2048 llite.lustre-ffff988b07ea8800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff988b07ea8800.batch_stats=0 total: 100 open/close in 0.72 seconds: 139.68 ops/second llite.lustre-ffff988b07ea8800.statahead_max=0 101 real 0m0.688s user 0m0.003s sys 0m0.251s ls -l 100 files without statahead: 1 sec llite.lustre-ffff988b07ea8800.statahead_max=2048 2048 101 real 0m0.349s user 0m0.005s sys 0m0.225s 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.95 seconds: 461.58 ops/second llite.lustre-ffff988b07ea8800.statahead_max=0 1001 real 0m5.820s user 0m0.026s sys 0m2.083s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff988b07ea8800.statahead_max=2048 2048 1001 real 0m2.889s user 0m0.019s sys 0m1.624s 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 4160 (time 1760131993.72 total 10.00 last 415.96) - open/close 8434 (time 1760132003.72 total 20.00 last 427.38) total: 9000 open/close in 21.29 seconds: 422.72 ops/second llite.lustre-ffff988b07ea8800.statahead_max=0 10001 real 1m13.636s user 0m0.317s sys 0m23.763s ls -l 10000 files without statahead: 74 sec llite.lustre-ffff988b07ea8800.statahead_max=2048 2048 10001 real 0m24.462s user 0m0.168s sys 0m17.891s ls -l 10000 files with statahead: 24 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-ffff988b07ea8800.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-ffff988b07ea8800.batch_stats= snapshot_time: 1760132176.851091452 secs.nsecs start_time: 1760131877.150108512 secs.nsecs elapsed_time: 299.700982940 secs.nsecs subreqs per batch batches % cum % 1: 213 49 49 2: 89 20 70 4: 48 11 81 8: 10 2 83 16: 7 1 85 32: 24 5 90 64: 0 0 90 128: 1 0 90 256: 39 9 100 - open/close 3773 (time 1760132187.62 total 10.00 last 377.17) - open/close 7023 (time 1760132197.62 total 20.00 last 324.99) total: 10000 open/close in 27.90 seconds: 358.47 ops/second llite.lustre-ffff988b07ea8800.statahead_batch_max=0 llite.lustre-ffff988b07ea8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff988b07ea8800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.247s user 0m0.196s sys 0m26.925s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff988b07ea8800.statahead_batch_max=256 llite.lustre-ffff988b07ea8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff988b07ea8800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff988b07ea8800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m25.674s user 0m0.176s sys 0m18.930s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff988b07ea8800.batch_stats= snapshot_time: 1760132270.959532436 secs.nsecs start_time: 1760132240.616203932 secs.nsecs elapsed_time: 30.343328504 secs.nsecs subreqs per batch batches % cum % 1: 92 50 50 2: 14 7 57 4: 10 5 63 8: 4 2 65 16: 3 1 66 32: 23 12 79 64: 2 1 80 128: 0 0 80 256: 36 19 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff988b07ea8800.statahead_batch_max=64 llite.lustre-ffff988b07ea8800.statahead_max=128