== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:49:44 (1749480584) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88012bf32800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012bf32800.batch_stats=0 llite.lustre-ffff88012bf32800.statahead_max=32 llite.lustre-ffff88012bf32800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88012bf32800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012bf32800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.54 seconds: 186.00 ops/second llite.lustre-ffff88012bf32800.statahead_max=0 101 real 0m0.497s user 0m0.005s sys 0m0.173s ls -l 100 files without statahead: 0 sec llite.lustre-ffff88012bf32800.statahead_max=32 32 101 real 0m0.309s user 0m0.002s sys 0m0.105s ls -l 100 files with statahead: 0 sec statahead total: 48 statahead wrong: 1 agl total: 48 list_total: 19 fname_total: 29 hit_total: 11537 miss_total: 219 total: 900 open/close in 1.71 seconds: 526.16 ops/second llite.lustre-ffff88012bf32800.statahead_max=0 1001 real 0m4.831s user 0m0.021s sys 0m1.695s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff88012bf32800.statahead_max=32 32 1001 real 0m1.592s user 0m0.021s sys 0m0.875s ls -l 1000 files with statahead: 2 sec statahead total: 49 statahead wrong: 1 agl total: 49 list_total: 20 fname_total: 29 hit_total: 12536 miss_total: 220 - open/close 5163 (time 1749480608.20 total 10.00 last 516.29) total: 9000 open/close in 17.52 seconds: 513.68 ops/second llite.lustre-ffff88012bf32800.statahead_max=0 10001 real 0m47.865s user 0m0.246s sys 0m17.036s ls -l 10000 files without statahead: 48 sec llite.lustre-ffff88012bf32800.statahead_max=32 32 10001 real 0m16.661s user 0m0.181s sys 0m9.038s ls -l 10000 files with statahead: 17 sec statahead total: 50 statahead wrong: 1 agl total: 50 list_total: 21 fname_total: 29 hit_total: 22535 miss_total: 221 ls -l done rm -r /mnt/lustre/d123ad.sanity: 35 seconds llite.lustre-ffff88012bf32800.statahead_stats= statahead total: 50 statahead wrong: 1 agl total: 50 list_total: 21 fname_total: 29 hit_total: 22535 miss_total: 221 mdc.lustre-MDT0000-mdc-ffff88012bf32800.batch_stats= snapshot_time: 1749480718.821483647 secs.nsecs start_time: 1749480585.562657205 secs.nsecs elapsed_time: 133.258826442 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 1 0 0 4: 3 0 1 8: 6 1 3 16: 198 55 59 32: 145 40 100 mdc.lustre-MDT0001-mdc-ffff88012bf32800.batch_stats= snapshot_time: 1749480718.821534411 secs.nsecs start_time: 1749480585.562706515 secs.nsecs elapsed_time: 133.258827896 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 1 0 0 4: 5 1 1 8: 3 0 2 16: 204 57 60 32: 141 39 100 - open/close 5177 (time 1749480729.68 total 10.00 last 517.65) total: 10000 open/close in 19.46 seconds: 513.82 ops/second llite.lustre-ffff88012bf32800.statahead_batch_max=0 llite.lustre-ffff88012bf32800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012bf32800.stats=clear mdc.lustre-MDT0001-mdc-ffff88012bf32800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m10.547s user 0m0.186s sys 0m9.805s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88012bf32800.statahead_batch_max=32 llite.lustre-ffff88012bf32800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012bf32800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88012bf32800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012bf32800.stats=clear mdc.lustre-MDT0001-mdc-ffff88012bf32800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m19.348s user 0m0.200s sys 0m8.751s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88012bf32800.batch_stats= snapshot_time: 1749480773.078419017 secs.nsecs start_time: 1749480751.481377165 secs.nsecs elapsed_time: 21.597041852 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 mdc.lustre-MDT0001-mdc-ffff88012bf32800.batch_stats= snapshot_time: 1749480773.078450492 secs.nsecs start_time: 1749480751.481421582 secs.nsecs elapsed_time: 21.597028910 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff88012bf32800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012bf32800.batch_stats=0 llite.lustre-ffff88012bf32800.statahead_max=2048 llite.lustre-ffff88012bf32800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff88012bf32800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012bf32800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.50 seconds: 200.40 ops/second llite.lustre-ffff88012bf32800.statahead_max=0 101 real 0m0.509s user 0m0.002s sys 0m0.192s ls -l 100 files without statahead: 0 sec llite.lustre-ffff88012bf32800.statahead_max=2048 2048 101 real 0m0.265s user 0m0.002s sys 0m0.107s 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.66 seconds: 540.75 ops/second llite.lustre-ffff88012bf32800.statahead_max=0 1001 real 0m5.003s user 0m0.026s sys 0m1.842s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff88012bf32800.statahead_max=2048 2048 1001 real 0m1.419s user 0m0.023s sys 0m0.827s ls -l 1000 files with statahead: 2 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 - open/close 5220 (time 1749480853.04 total 10.00 last 521.97) total: 9000 open/close in 17.34 seconds: 519.03 ops/second llite.lustre-ffff88012bf32800.statahead_max=0 10001 real 0m47.763s user 0m0.245s sys 0m16.818s ls -l 10000 files without statahead: 48 sec llite.lustre-ffff88012bf32800.statahead_max=2048 2048 10001 real 0m9.799s user 0m0.204s sys 0m8.262s ls -l 10000 files with statahead: 9 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: 34 seconds llite.lustre-ffff88012bf32800.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-ffff88012bf32800.batch_stats= snapshot_time: 1749480956.226083001 secs.nsecs start_time: 1749480773.462698082 secs.nsecs elapsed_time: 182.763384919 secs.nsecs subreqs per batch batches % cum % 1: 47 46 46 2: 4 3 50 4: 7 6 57 8: 5 4 62 16: 3 2 65 32: 1 0 66 64: 0 0 66 128: 3 2 69 256: 31 30 100 mdc.lustre-MDT0001-mdc-ffff88012bf32800.batch_stats= snapshot_time: 1749480956.226121051 secs.nsecs start_time: 1749480773.462789755 secs.nsecs elapsed_time: 182.763331296 secs.nsecs subreqs per batch batches % cum % 1: 51 47 47 2: 3 2 50 4: 10 9 59 8: 5 4 64 16: 3 2 67 32: 1 0 68 64: 0 0 68 128: 3 2 71 256: 31 28 100 - open/close 5168 (time 1749480967.00 total 10.00 last 516.73) total: 10000 open/close in 19.20 seconds: 520.96 ops/second llite.lustre-ffff88012bf32800.statahead_batch_max=0 llite.lustre-ffff88012bf32800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012bf32800.stats=clear mdc.lustre-MDT0001-mdc-ffff88012bf32800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m11.168s user 0m0.200s sys 0m10.009s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88012bf32800.statahead_batch_max=256 llite.lustre-ffff88012bf32800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012bf32800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88012bf32800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012bf32800.stats=clear mdc.lustre-MDT0001-mdc-ffff88012bf32800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m10.001s user 0m0.209s sys 0m8.509s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88012bf32800.batch_stats= snapshot_time: 1749481001.528797783 secs.nsecs start_time: 1749480989.167526299 secs.nsecs elapsed_time: 12.361271484 secs.nsecs subreqs per batch batches % cum % 1: 178 62 62 2: 18 6 68 4: 9 3 71 8: 15 5 77 16: 12 4 81 32: 16 5 87 64: 1 0 87 128: 0 0 87 256: 36 12 100 mdc.lustre-MDT0001-mdc-ffff88012bf32800.batch_stats= snapshot_time: 1749481001.528832420 secs.nsecs start_time: 1749480989.167841062 secs.nsecs elapsed_time: 12.360991358 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff88012bf32800.statahead_batch_max=64 llite.lustre-ffff88012bf32800.statahead_max=128