== sanity test 123ad: Verify batching statahead works correctly ========================================================== 17:31:09 (1768257069) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff97dc981b7000.batch_stats=0 llite.lustre-ffff97dc981b7000.statahead_max=32 llite.lustre-ffff97dc981b7000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff97dc981b7000.batch_stats=0 total: 100 open/close in 0.62 seconds: 160.15 ops/second llite.lustre-ffff97dc981b7000.statahead_max=0 101 real 0m0.573s user 0m0.005s sys 0m0.217s ls -l 100 files without statahead: 0 sec llite.lustre-ffff97dc981b7000.statahead_max=32 32 101 real 0m0.375s user 0m0.004s sys 0m0.175s ls -l 100 files with statahead: 0 sec statahead total: 101 statahead wrong: 2 agl total: 96 list_total: 32 fname_total: 56 hit_total: 33988 miss_total: 1708 total: 900 open/close in 1.85 seconds: 486.47 ops/second llite.lustre-ffff97dc981b7000.statahead_max=0 1001 real 0m5.606s user 0m0.021s sys 0m2.048s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff97dc981b7000.statahead_max=32 32 1001 real 0m3.450s user 0m0.014s sys 0m1.916s ls -l 1000 files with statahead: 3 sec statahead total: 102 statahead wrong: 2 agl total: 97 list_total: 33 fname_total: 56 hit_total: 34987 miss_total: 1709 - open/close 5106 (time 1768257097.76 total 10.00 last 510.56) total: 9000 open/close in 17.78 seconds: 506.26 ops/second llite.lustre-ffff97dc981b7000.statahead_max=0 10001 real 0m54.556s user 0m0.212s sys 0m19.690s ls -l 10000 files without statahead: 55 sec llite.lustre-ffff97dc981b7000.statahead_max=32 32 10001 real 0m37.473s user 0m0.180s sys 0m21.176s ls -l 10000 files with statahead: 38 sec statahead total: 103 statahead wrong: 2 agl total: 98 list_total: 34 fname_total: 56 hit_total: 44986 miss_total: 1710 ls -l done rm -r /mnt/lustre/d123ad.sanity: 55 seconds llite.lustre-ffff97dc981b7000.statahead_stats= statahead total: 103 statahead wrong: 2 agl total: 98 list_total: 34 fname_total: 56 hit_total: 44986 miss_total: 1710 mdc.lustre-MDT0000-mdc-ffff97dc981b7000.batch_stats= snapshot_time: 1768257264.462228486 secs.nsecs start_time: 1768257070.460849740 secs.nsecs elapsed_time: 194.001378746 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 5187 (time 1768257276.46 total 10.00 last 518.63) total: 10000 open/close in 19.95 seconds: 501.30 ops/second llite.lustre-ffff97dc981b7000.statahead_batch_max=0 llite.lustre-ffff97dc981b7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97dc981b7000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m28.087s user 0m0.166s sys 0m25.542s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff97dc981b7000.statahead_batch_max=32 llite.lustre-ffff97dc981b7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97dc981b7000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff97dc981b7000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.342s user 0m0.141s sys 0m18.131s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff97dc981b7000.batch_stats= snapshot_time: 1768257355.260231088 secs.nsecs start_time: 1768257317.139600780 secs.nsecs elapsed_time: 38.120630308 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-ffff97dc981b7000.batch_stats=0 llite.lustre-ffff97dc981b7000.statahead_max=2048 llite.lustre-ffff97dc981b7000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff97dc981b7000.batch_stats=0 total: 100 open/close in 0.65 seconds: 153.00 ops/second llite.lustre-ffff97dc981b7000.statahead_max=0 101 real 0m0.606s user 0m0.003s sys 0m0.217s ls -l 100 files without statahead: 1 sec llite.lustre-ffff97dc981b7000.statahead_max=2048 2048 101 real 0m0.479s user 0m0.002s sys 0m0.179s 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.75 seconds: 515.59 ops/second llite.lustre-ffff97dc981b7000.statahead_max=0 1001 real 0m5.285s user 0m0.019s sys 0m1.928s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff97dc981b7000.statahead_max=2048 2048 1001 real 0m3.210s user 0m0.016s sys 0m1.636s 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 5485 (time 1768257457.94 total 10.00 last 548.39) total: 9000 open/close in 16.18 seconds: 556.32 ops/second llite.lustre-ffff97dc981b7000.statahead_max=0 10001 real 1m0.213s user 0m0.214s sys 0m21.648s ls -l 10000 files without statahead: 60 sec llite.lustre-ffff97dc981b7000.statahead_max=2048 2048 10001 real 0m28.181s user 0m0.146s sys 0m20.452s 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: 55 seconds llite.lustre-ffff97dc981b7000.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-ffff97dc981b7000.batch_stats= snapshot_time: 1768257619.168609675 secs.nsecs start_time: 1768257356.010862852 secs.nsecs elapsed_time: 263.157746823 secs.nsecs subreqs per batch batches % cum % 1: 195 55 55 2: 48 13 68 4: 33 9 78 8: 5 1 79 16: 8 2 81 32: 23 6 88 64: 1 0 88 128: 1 0 88 256: 39 11 100 - open/close 4734 (time 1768257629.99 total 10.00 last 473.38) - open/close 9490 (time 1768257639.99 total 20.00 last 475.56) total: 10000 open/close in 21.07 seconds: 474.57 ops/second llite.lustre-ffff97dc981b7000.statahead_batch_max=0 llite.lustre-ffff97dc981b7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97dc981b7000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.467s user 0m0.171s sys 0m27.080s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff97dc981b7000.statahead_batch_max=256 llite.lustre-ffff97dc981b7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97dc981b7000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff97dc981b7000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m25.477s user 0m0.147s sys 0m18.156s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff97dc981b7000.batch_stats= snapshot_time: 1768257706.369114652 secs.nsecs start_time: 1768257676.345082891 secs.nsecs elapsed_time: 30.024031761 secs.nsecs subreqs per batch batches % cum % 1: 137 51 51 2: 32 12 64 4: 24 9 73 8: 8 3 76 16: 4 1 77 32: 21 7 85 64: 3 1 86 128: 0 0 86 256: 35 13 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff97dc981b7000.statahead_batch_max=64 llite.lustre-ffff97dc981b7000.statahead_max=128