== sanity test 123ad: Verify batching statahead works correctly ========================================================== 14:47:50 (1771444070) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8e53c6edf000.batch_stats=0 llite.lustre-ffff8e53c6edf000.statahead_max=32 llite.lustre-ffff8e53c6edf000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8e53c6edf000.batch_stats=0 total: 100 open/close in 1.10 seconds: 90.52 ops/second llite.lustre-ffff8e53c6edf000.statahead_max=0 101 real 0m0.887s user 0m0.003s sys 0m0.283s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8e53c6edf000.statahead_max=32 32 101 real 0m0.421s user 0m0.001s sys 0m0.256s ls -l 100 files with statahead: 1 sec statahead total: 60 statahead wrong: 2 agl total: 53 list_total: 28 fname_total: 32 hit_total: 34309 miss_total: 722 total: 900 open/close in 3.01 seconds: 299.31 ops/second llite.lustre-ffff8e53c6edf000.statahead_max=0 1001 real 0m7.668s user 0m0.028s sys 0m2.652s ls -l 1000 files without statahead: 8 sec llite.lustre-ffff8e53c6edf000.statahead_max=32 32 1001 real 0m4.174s user 0m0.014s sys 0m2.300s ls -l 1000 files with statahead: 4 sec statahead total: 61 statahead wrong: 2 agl total: 54 list_total: 29 fname_total: 32 hit_total: 35308 miss_total: 723 - open/close 2581 (time 1771444105.40 total 10.00 last 258.01) - open/close 5044 (time 1771444115.40 total 20.01 last 246.19) - open/close 7739 (time 1771444125.40 total 30.01 last 269.50) total: 9000 open/close in 34.11 seconds: 263.83 ops/second llite.lustre-ffff8e53c6edf000.statahead_max=0 10001 real 1m24.668s user 0m0.332s sys 0m26.721s ls -l 10000 files without statahead: 84 sec llite.lustre-ffff8e53c6edf000.statahead_max=32 32 10001 real 0m38.985s user 0m0.176s sys 0m20.511s ls -l 10000 files with statahead: 39 sec statahead total: 62 statahead wrong: 2 agl total: 55 list_total: 30 fname_total: 32 hit_total: 45307 miss_total: 724 ls -l done rm -r /mnt/lustre/d123ad.sanity: 73 seconds llite.lustre-ffff8e53c6edf000.statahead_stats= statahead total: 62 statahead wrong: 2 agl total: 55 list_total: 30 fname_total: 32 hit_total: 45307 miss_total: 724 mdc.lustre-MDT0000-mdc-ffff8e53c6edf000.batch_stats= snapshot_time: 1771444339.126419811 secs.nsecs start_time: 1771444072.019489491 secs.nsecs elapsed_time: 267.106930320 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 3090 (time 1771444349.90 total 10.00 last 308.98) - open/close 6308 (time 1771444359.90 total 20.00 last 321.78) total: 10000 open/close in 29.84 seconds: 335.11 ops/second llite.lustre-ffff8e53c6edf000.statahead_batch_max=0 llite.lustre-ffff8e53c6edf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e53c6edf000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.896s user 0m0.231s sys 0m30.087s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8e53c6edf000.statahead_batch_max=32 llite.lustre-ffff8e53c6edf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e53c6edf000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8e53c6edf000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m38.322s user 0m0.163s sys 0m20.668s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8e53c6edf000.batch_stats= snapshot_time: 1771444451.058982217 secs.nsecs start_time: 1771444405.945995540 secs.nsecs elapsed_time: 45.112986677 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-ffff8e53c6edf000.batch_stats=0 llite.lustre-ffff8e53c6edf000.statahead_max=2048 llite.lustre-ffff8e53c6edf000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8e53c6edf000.batch_stats=0 total: 100 open/close in 0.81 seconds: 122.92 ops/second llite.lustre-ffff8e53c6edf000.statahead_max=0 101 real 0m0.707s user 0m0.004s sys 0m0.266s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8e53c6edf000.statahead_max=2048 2048 101 real 0m0.351s user 0m0.004s sys 0m0.202s 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.31 seconds: 389.07 ops/second llite.lustre-ffff8e53c6edf000.statahead_max=0 1001 real 0m6.592s user 0m0.020s sys 0m2.433s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff8e53c6edf000.statahead_max=2048 2048 1001 real 0m3.828s user 0m0.014s sys 0m1.940s ls -l 1000 files with statahead: 4 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 - open/close 2925 (time 1771444582.01 total 10.00 last 292.50) - open/close 7126 (time 1771444592.02 total 20.01 last 419.72) total: 9000 open/close in 24.59 seconds: 366.05 ops/second llite.lustre-ffff8e53c6edf000.statahead_max=0 10001 real 0m59.316s user 0m0.229s sys 0m22.293s ls -l 10000 files without statahead: 60 sec llite.lustre-ffff8e53c6edf000.statahead_max=2048 2048 10001 real 0m26.361s user 0m0.142s sys 0m18.695s ls -l 10000 files with statahead: 26 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: 62 seconds llite.lustre-ffff8e53c6edf000.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-ffff8e53c6edf000.batch_stats= snapshot_time: 1771444757.337299317 secs.nsecs start_time: 1771444451.946155871 secs.nsecs elapsed_time: 305.391143446 secs.nsecs subreqs per batch batches % cum % 1: 209 56 56 2: 42 11 67 4: 36 9 77 8: 13 3 80 16: 7 1 82 32: 25 6 89 64: 0 0 89 128: 1 0 89 256: 39 10 100 - open/close 4458 (time 1771444768.17 total 10.00 last 445.68) - open/close 7612 (time 1771444778.17 total 20.01 last 315.32) total: 10000 open/close in 26.91 seconds: 371.67 ops/second llite.lustre-ffff8e53c6edf000.statahead_batch_max=0 llite.lustre-ffff8e53c6edf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e53c6edf000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.216s user 0m0.193s sys 0m26.274s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8e53c6edf000.statahead_batch_max=256 llite.lustre-ffff8e53c6edf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e53c6edf000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8e53c6edf000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m29.726s user 0m0.183s sys 0m20.783s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8e53c6edf000.batch_stats= snapshot_time: 1771444855.880491647 secs.nsecs start_time: 1771444819.494857183 secs.nsecs elapsed_time: 36.385634464 secs.nsecs subreqs per batch batches % cum % 1: 327 66 66 2: 72 14 80 4: 25 5 86 8: 9 1 87 16: 2 0 88 32: 23 4 92 64: 0 0 92 128: 0 0 92 256: 35 7 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8e53c6edf000.statahead_batch_max=64 llite.lustre-ffff8e53c6edf000.statahead_max=128