== sanity test 123ad: Verify batching statahead works correctly ========================================================== 14:31:02 (1738956662) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88008f721800.batch_stats=0 llite.lustre-ffff88008f721800.statahead_max=32 llite.lustre-ffff88008f721800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88008f721800.batch_stats=0 total: 100 open/close in 0.53 seconds: 189.17 ops/second llite.lustre-ffff88008f721800.statahead_max=0 101 real 0m0.485s user 0m0.004s sys 0m0.166s ls -l 100 files without statahead: 1 sec llite.lustre-ffff88008f721800.statahead_max=32 32 101 real 0m0.322s user 0m0.003s sys 0m0.091s ls -l 100 files with statahead: 0 sec statahead total: 45 statahead wrong: 1 agl total: 45 list_total: 20 fname_total: 25 hit_total: 11805 miss_total: 228 total: 900 open/close in 1.56 seconds: 575.61 ops/second llite.lustre-ffff88008f721800.statahead_max=0 1001 real 0m4.501s user 0m0.026s sys 0m1.519s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff88008f721800.statahead_max=32 32 1001 real 0m1.660s user 0m0.019s sys 0m0.734s ls -l 1000 files with statahead: 2 sec statahead total: 46 statahead wrong: 1 agl total: 46 list_total: 21 fname_total: 25 hit_total: 12804 miss_total: 229 - open/close 5201 (time 1738956686.16 total 10.00 last 520.09) total: 9000 open/close in 16.54 seconds: 544.09 ops/second llite.lustre-ffff88008f721800.statahead_max=0 10001 real 0m54.435s user 0m0.226s sys 0m18.584s ls -l 10000 files without statahead: 54 sec llite.lustre-ffff88008f721800.statahead_max=32 32 10001 real 0m18.217s user 0m0.196s sys 0m8.096s ls -l 10000 files with statahead: 18 sec statahead total: 47 statahead wrong: 1 agl total: 47 list_total: 22 fname_total: 25 hit_total: 22803 miss_total: 230 ls -l done rm -r /mnt/lustre/d123ad.sanity: 33 seconds llite.lustre-ffff88008f721800.statahead_stats= statahead total: 47 statahead wrong: 1 agl total: 47 list_total: 22 fname_total: 25 hit_total: 22803 miss_total: 230 mdc.lustre-MDT0000-mdc-ffff88008f721800.batch_stats= snapshot_time: 1738956802.567860787 secs.nsecs start_time: 1738956663.910975505 secs.nsecs elapsed_time: 138.656885282 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 1 0 0 8: 3 0 1 16: 4 1 2 32: 346 97 100 - open/close 5821 (time 1738956813.09 total 10.00 last 582.01) total: 10000 open/close in 17.55 seconds: 569.75 ops/second llite.lustre-ffff88008f721800.statahead_batch_max=0 llite.lustre-ffff88008f721800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88008f721800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m8.237s user 0m0.178s sys 0m7.559s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88008f721800.statahead_batch_max=32 llite.lustre-ffff88008f721800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88008f721800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88008f721800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m18.740s user 0m0.190s sys 0m7.892s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88008f721800.batch_stats= snapshot_time: 1738956851.549158363 secs.nsecs start_time: 1738956830.464344906 secs.nsecs elapsed_time: 21.084813457 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-ffff88008f721800.batch_stats=0 llite.lustre-ffff88008f721800.statahead_max=2048 llite.lustre-ffff88008f721800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff88008f721800.batch_stats=0 total: 100 open/close in 0.47 seconds: 212.21 ops/second llite.lustre-ffff88008f721800.statahead_max=0 101 real 0m0.458s user 0m0.003s sys 0m0.162s ls -l 100 files without statahead: 1 sec llite.lustre-ffff88008f721800.statahead_max=2048 2048 101 real 0m0.258s 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.73 seconds: 520.74 ops/second llite.lustre-ffff88008f721800.statahead_max=0 1001 real 0m4.712s user 0m0.028s sys 0m1.653s ls -l 1000 files without statahead: 4 sec llite.lustre-ffff88008f721800.statahead_max=2048 2048 1001 real 0m1.066s user 0m0.015s sys 0m0.708s ls -l 1000 files with statahead: 1 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 - open/close 5304 (time 1738956926.31 total 10.00 last 530.30) total: 9000 open/close in 16.35 seconds: 550.35 ops/second llite.lustre-ffff88008f721800.statahead_max=0 10001 real 0m46.031s user 0m0.213s sys 0m15.799s ls -l 10000 files without statahead: 46 sec llite.lustre-ffff88008f721800.statahead_max=2048 2048 10001 real 0m8.228s user 0m0.173s sys 0m6.953s ls -l 10000 files with statahead: 8 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: 35 seconds llite.lustre-ffff88008f721800.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-ffff88008f721800.batch_stats= snapshot_time: 1738957026.863987061 secs.nsecs start_time: 1738956851.919023998 secs.nsecs elapsed_time: 174.944963063 secs.nsecs subreqs per batch batches % cum % 1: 245 64 64 2: 27 7 71 4: 14 3 75 8: 20 5 80 16: 15 3 84 32: 18 4 88 64: 2 0 89 128: 1 0 89 256: 39 10 100 - open/close 5755 (time 1738957037.41 total 10.00 last 575.47) total: 10000 open/close in 17.62 seconds: 567.51 ops/second llite.lustre-ffff88008f721800.statahead_batch_max=0 llite.lustre-ffff88008f721800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88008f721800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m8.550s user 0m0.175s sys 0m7.484s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88008f721800.statahead_batch_max=256 llite.lustre-ffff88008f721800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88008f721800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88008f721800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m8.571s user 0m0.172s sys 0m7.381s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88008f721800.batch_stats= snapshot_time: 1738957065.844819864 secs.nsecs start_time: 1738957055.256704082 secs.nsecs elapsed_time: 10.588115782 secs.nsecs subreqs per batch batches % cum % 1: 261 68 68 2: 14 3 72 4: 18 4 77 8: 17 4 81 16: 20 5 86 32: 15 3 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-ffff88008f721800.statahead_batch_max=64 llite.lustre-ffff88008f721800.statahead_max=128