== sanity test 123ad: Verify batching statahead works correctly ========================================================== 18:43:51 (1756680231) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9d638529f800.batch_stats=0 llite.lustre-ffff9d638529f800.statahead_max=32 llite.lustre-ffff9d638529f800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9d638529f800.batch_stats=0 total: 100 open/close in 0.67 seconds: 149.30 ops/second llite.lustre-ffff9d638529f800.statahead_max=0 101 real 0m0.584s user 0m0.002s sys 0m0.204s ls -l 100 files without statahead: 0 sec llite.lustre-ffff9d638529f800.statahead_max=32 32 101 real 0m0.507s user 0m0.003s sys 0m0.245s ls -l 100 files with statahead: 0 sec statahead total: 62 statahead wrong: 2 agl total: 58 list_total: 29 fname_total: 32 hit_total: 33570 miss_total: 1643 total: 900 open/close in 3.57 seconds: 252.02 ops/second llite.lustre-ffff9d638529f800.statahead_max=0 1001 real 0m9.736s user 0m0.030s sys 0m3.141s ls -l 1000 files without statahead: 9 sec llite.lustre-ffff9d638529f800.statahead_max=32 32 1001 real 0m3.597s user 0m0.017s sys 0m1.852s ls -l 1000 files with statahead: 3 sec statahead total: 63 statahead wrong: 2 agl total: 59 list_total: 30 fname_total: 32 hit_total: 34569 miss_total: 1644 - open/close 3053 (time 1756680268.44 total 10.00 last 305.28) total: 4000 open/close in 12.72 seconds: 314.35 ops/second llite.lustre-ffff9d638529f800.statahead_max=0 5001 real 0m33.427s user 0m0.092s sys 0m11.179s ls -l 5000 files without statahead: 33 sec llite.lustre-ffff9d638529f800.statahead_max=32 32 5001 real 0m19.024s user 0m0.075s sys 0m10.029s ls -l 5000 files with statahead: 19 sec statahead total: 64 statahead wrong: 2 agl total: 60 list_total: 31 fname_total: 32 hit_total: 39568 miss_total: 1645 ls -l done rm -r /mnt/lustre/d123ad.sanity: 40 seconds llite.lustre-ffff9d638529f800.statahead_stats= statahead total: 64 statahead wrong: 2 agl total: 60 list_total: 31 fname_total: 32 hit_total: 39568 miss_total: 1645 mdc.lustre-MDT0000-mdc-ffff9d638529f800.batch_stats= snapshot_time: 1756680371.131895006 secs.nsecs start_time: 1756680233.266875246 secs.nsecs elapsed_time: 137.865019760 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 2 1 1 8: 3 1 2 16: 3 1 4 32: 190 95 100 - open/close 3239 (time 1756680382.06 total 10.00 last 323.90) - open/close 6880 (time 1756680392.06 total 20.00 last 364.05) - open/close 9155 (time 1756680402.06 total 30.00 last 227.48) total: 10000 open/close in 32.97 seconds: 303.33 ops/second llite.lustre-ffff9d638529f800.statahead_batch_max=0 llite.lustre-ffff9d638529f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d638529f800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m30.691s user 0m0.149s sys 0m29.055s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9d638529f800.statahead_batch_max=32 llite.lustre-ffff9d638529f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d638529f800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9d638529f800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.045s user 0m0.156s sys 0m27.405s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9d638529f800.batch_stats= snapshot_time: 1756680491.237885384 secs.nsecs start_time: 1756680438.379070326 secs.nsecs elapsed_time: 52.858815058 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-ffff9d638529f800.batch_stats=0 llite.lustre-ffff9d638529f800.statahead_max=2048 llite.lustre-ffff9d638529f800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9d638529f800.batch_stats=0 total: 100 open/close in 1.11 seconds: 89.85 ops/second llite.lustre-ffff9d638529f800.statahead_max=0 101 real 0m0.752s user 0m0.005s sys 0m0.244s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9d638529f800.statahead_max=2048 2048 101 real 0m0.340s user 0m0.002s sys 0m0.242s 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 2.93 seconds: 307.32 ops/second llite.lustre-ffff9d638529f800.statahead_max=0 1001 real 0m5.444s user 0m0.023s sys 0m1.789s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff9d638529f800.statahead_max=2048 2048 1001 real 0m2.990s user 0m0.007s sys 0m1.085s 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 2933 (time 1756680623.49 total 10.00 last 293.24) - open/close 6627 (time 1756680633.50 total 20.01 last 369.28) total: 9000 open/close in 26.03 seconds: 345.79 ops/second llite.lustre-ffff9d638529f800.statahead_max=0 10001 real 1m14.065s user 0m0.215s sys 0m24.337s ls -l 10000 files without statahead: 74 sec llite.lustre-ffff9d638529f800.statahead_max=2048 2048 10001 real 0m28.112s user 0m0.117s sys 0m19.412s ls -l 10000 files with statahead: 28 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: 73 seconds llite.lustre-ffff9d638529f800.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-ffff9d638529f800.batch_stats= snapshot_time: 1756680825.853902085 secs.nsecs start_time: 1756680492.334022768 secs.nsecs elapsed_time: 333.519879317 secs.nsecs subreqs per batch batches % cum % 1: 297 60 60 2: 79 16 76 4: 33 6 83 8: 11 2 85 16: 4 0 86 32: 24 4 91 64: 2 0 92 128: 1 0 92 256: 38 7 100 - open/close 2880 (time 1756680837.05 total 10.00 last 287.90) - open/close 5787 (time 1756680847.05 total 20.00 last 290.68) - open/close 8623 (time 1756680857.05 total 30.01 last 283.58) total: 10000 open/close in 35.07 seconds: 285.11 ops/second llite.lustre-ffff9d638529f800.statahead_batch_max=0 llite.lustre-ffff9d638529f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d638529f800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m36.573s user 0m0.135s sys 0m30.857s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9d638529f800.statahead_batch_max=256 llite.lustre-ffff9d638529f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d638529f800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9d638529f800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m26.660s user 0m0.139s sys 0m19.102s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9d638529f800.batch_stats= snapshot_time: 1756680932.440150213 secs.nsecs start_time: 1756680901.481043151 secs.nsecs elapsed_time: 30.959107062 secs.nsecs subreqs per batch batches % cum % 1: 172 53 53 2: 51 15 69 4: 26 8 77 8: 8 2 80 16: 4 1 81 32: 22 6 88 64: 2 0 89 128: 0 0 89 256: 35 10 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff9d638529f800.statahead_batch_max=64 llite.lustre-ffff9d638529f800.statahead_max=128