== sanity test 123ad: Verify batching statahead works correctly ========================================================== 22:01:17 (1773108077) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8f81500b8800.batch_stats=0 llite.lustre-ffff8f81500b8800.statahead_max=32 llite.lustre-ffff8f81500b8800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8f81500b8800.batch_stats=0 total: 100 open/close in 0.85 seconds: 117.82 ops/second llite.lustre-ffff8f81500b8800.statahead_max=0 101 real 0m0.671s user 0m0.004s sys 0m0.263s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8f81500b8800.statahead_max=32 32 101 real 0m0.461s user 0m0.003s sys 0m0.303s ls -l 100 files with statahead: 1 sec statahead total: 104 statahead wrong: 2 agl total: 99 list_total: 32 fname_total: 72 hit_total: 29074 miss_total: 588 total: 900 open/close in 2.10 seconds: 428.99 ops/second llite.lustre-ffff8f81500b8800.statahead_max=0 1001 real 0m7.761s user 0m0.024s sys 0m2.935s ls -l 1000 files without statahead: 8 sec llite.lustre-ffff8f81500b8800.statahead_max=32 32 1001 real 0m4.828s user 0m0.019s sys 0m2.782s ls -l 1000 files with statahead: 5 sec statahead total: 105 statahead wrong: 2 agl total: 100 list_total: 33 fname_total: 72 hit_total: 30073 miss_total: 589 - open/close 3863 (time 1773108112.05 total 10.00 last 386.22) - open/close 7561 (time 1773108122.05 total 20.00 last 369.76) total: 9000 open/close in 24.29 seconds: 370.47 ops/second llite.lustre-ffff8f81500b8800.statahead_max=0 10001 real 1m10.779s user 0m0.293s sys 0m26.490s ls -l 10000 files without statahead: 71 sec llite.lustre-ffff8f81500b8800.statahead_max=32 32 10001 real 0m45.974s user 0m0.227s sys 0m26.226s ls -l 10000 files with statahead: 46 sec statahead total: 106 statahead wrong: 2 agl total: 101 list_total: 34 fname_total: 72 hit_total: 40072 miss_total: 590 ls -l done rm -r /mnt/lustre/d123ad.sanity: 75 seconds llite.lustre-ffff8f81500b8800.statahead_stats= statahead total: 106 statahead wrong: 2 agl total: 101 list_total: 34 fname_total: 72 hit_total: 40072 miss_total: 590 mdc.lustre-MDT0000-mdc-ffff8f81500b8800.batch_stats= snapshot_time: 1773108333.649825495 secs.nsecs start_time: 1773108079.669855376 secs.nsecs elapsed_time: 253.979970119 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 3922 (time 1773108344.58 total 10.00 last 392.12) - open/close 8127 (time 1773108354.59 total 20.00 last 420.41) total: 10000 open/close in 24.64 seconds: 405.91 ops/second llite.lustre-ffff8f81500b8800.statahead_batch_max=0 llite.lustre-ffff8f81500b8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f81500b8800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m42.523s user 0m0.209s sys 0m40.172s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8f81500b8800.statahead_batch_max=32 llite.lustre-ffff8f81500b8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f81500b8800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8f81500b8800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m42.583s user 0m0.177s sys 0m25.126s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8f81500b8800.batch_stats= snapshot_time: 1773108454.082492148 secs.nsecs start_time: 1773108404.820433312 secs.nsecs elapsed_time: 49.262058836 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-ffff8f81500b8800.batch_stats=0 llite.lustre-ffff8f81500b8800.statahead_max=2048 llite.lustre-ffff8f81500b8800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8f81500b8800.batch_stats=0 total: 100 open/close in 0.65 seconds: 152.70 ops/second llite.lustre-ffff8f81500b8800.statahead_max=0 101 real 0m0.638s user 0m0.002s sys 0m0.249s ls -l 100 files without statahead: 0 sec llite.lustre-ffff8f81500b8800.statahead_max=2048 2048 101 real 0m0.358s user 0m0.001s sys 0m0.295s 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 2.10 seconds: 427.79 ops/second llite.lustre-ffff8f81500b8800.statahead_max=0 1001 real 0m6.215s user 0m0.022s sys 0m2.396s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff8f81500b8800.statahead_max=2048 2048 1001 real 0m3.450s user 0m0.012s sys 0m1.263s 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 5055 (time 1773108574.32 total 10.00 last 505.48) total: 9000 open/close in 17.31 seconds: 519.85 ops/second llite.lustre-ffff8f81500b8800.statahead_max=0 10001 real 1m0.755s user 0m0.194s sys 0m23.086s ls -l 10000 files without statahead: 61 sec llite.lustre-ffff8f81500b8800.statahead_max=2048 2048 10001 real 0m28.903s user 0m0.162s 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: 68 seconds llite.lustre-ffff8f81500b8800.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-ffff8f81500b8800.batch_stats= snapshot_time: 1773108750.708314337 secs.nsecs start_time: 1773108454.929918819 secs.nsecs elapsed_time: 295.778395518 secs.nsecs subreqs per batch batches % cum % 1: 153 47 47 2: 48 14 62 4: 35 10 73 8: 14 4 77 16: 6 1 79 32: 25 7 87 64: 0 0 87 128: 2 0 87 256: 39 12 100 - open/close 4564 (time 1773108761.47 total 10.00 last 456.37) - open/close 9041 (time 1773108771.47 total 20.00 last 447.68) total: 10000 open/close in 22.33 seconds: 447.74 ops/second llite.lustre-ffff8f81500b8800.statahead_batch_max=0 llite.lustre-ffff8f81500b8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f81500b8800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m30.278s user 0m0.141s sys 0m25.725s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8f81500b8800.statahead_batch_max=256 llite.lustre-ffff8f81500b8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f81500b8800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8f81500b8800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m27.720s user 0m0.147s sys 0m20.533s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8f81500b8800.batch_stats= snapshot_time: 1773108840.600082319 secs.nsecs start_time: 1773108807.190693129 secs.nsecs elapsed_time: 33.409389190 secs.nsecs subreqs per batch batches % cum % 1: 382 64 64 2: 81 13 78 4: 59 9 88 8: 10 1 89 16: 5 0 90 32: 22 3 94 64: 0 0 94 128: 0 0 94 256: 34 5 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8f81500b8800.statahead_batch_max=64 llite.lustre-ffff8f81500b8800.statahead_max=128