== sanity test 123ad: Verify batching statahead works correctly ========================================================== 07:54:40 (1773662080) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8f34c559a800.batch_stats=0 llite.lustre-ffff8f34c559a800.statahead_max=32 llite.lustre-ffff8f34c559a800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8f34c559a800.batch_stats=0 total: 100 open/close in 0.72 seconds: 138.60 ops/second llite.lustre-ffff8f34c559a800.statahead_max=0 101 real 0m0.689s user 0m0.005s sys 0m0.270s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8f34c559a800.statahead_max=32 32 101 real 0m0.448s user 0m0.006s sys 0m0.287s ls -l 100 files with statahead: 0 sec statahead total: 122 statahead wrong: 2 agl total: 115 list_total: 34 fname_total: 83 hit_total: 20582 miss_total: 1411 total: 900 open/close in 2.05 seconds: 438.22 ops/second llite.lustre-ffff8f34c559a800.statahead_max=0 1001 real 0m6.526s user 0m0.020s sys 0m2.503s ls -l 1000 files without statahead: 7 sec llite.lustre-ffff8f34c559a800.statahead_max=32 32 1001 real 0m3.894s user 0m0.012s sys 0m2.343s ls -l 1000 files with statahead: 4 sec statahead total: 123 statahead wrong: 2 agl total: 116 list_total: 35 fname_total: 83 hit_total: 21581 miss_total: 1412 - open/close 4513 (time 1773662111.46 total 10.00 last 451.25) total: 9000 open/close in 19.92 seconds: 451.80 ops/second llite.lustre-ffff8f34c559a800.statahead_max=0 10001 real 0m59.088s user 0m0.244s sys 0m22.588s ls -l 10000 files without statahead: 59 sec llite.lustre-ffff8f34c559a800.statahead_max=32 32 10001 real 0m41.059s user 0m0.181s sys 0m23.736s ls -l 10000 files with statahead: 41 sec statahead total: 124 statahead wrong: 2 agl total: 117 list_total: 36 fname_total: 83 hit_total: 31580 miss_total: 1413 ls -l done rm -r /mnt/lustre/d123ad.sanity: 63 seconds llite.lustre-ffff8f34c559a800.statahead_stats= statahead total: 124 statahead wrong: 2 agl total: 117 list_total: 36 fname_total: 83 hit_total: 31580 miss_total: 1413 mdc.lustre-MDT0000-mdc-ffff8f34c559a800.batch_stats= snapshot_time: 1773662298.170474986 secs.nsecs start_time: 1773662081.839479204 secs.nsecs elapsed_time: 216.330995782 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 4 1 1 16: 4 1 2 32: 346 97 100 - open/close 4518 (time 1773662308.92 total 10.00 last 451.75) - open/close 9469 (time 1773662318.92 total 20.00 last 495.00) total: 10000 open/close in 21.15 seconds: 472.89 ops/second llite.lustre-ffff8f34c559a800.statahead_batch_max=0 llite.lustre-ffff8f34c559a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f34c559a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.159s user 0m0.174s sys 0m30.334s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8f34c559a800.statahead_batch_max=32 llite.lustre-ffff8f34c559a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f34c559a800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8f34c559a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m36.101s user 0m0.140s sys 0m20.414s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8f34c559a800.batch_stats= snapshot_time: 1773662397.995060235 secs.nsecs start_time: 1773662356.076401113 secs.nsecs elapsed_time: 41.918659122 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-ffff8f34c559a800.batch_stats=0 llite.lustre-ffff8f34c559a800.statahead_max=2048 llite.lustre-ffff8f34c559a800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8f34c559a800.batch_stats=0 total: 100 open/close in 1.12 seconds: 89.15 ops/second llite.lustre-ffff8f34c559a800.statahead_max=0 101 real 0m0.622s user 0m0.002s sys 0m0.245s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8f34c559a800.statahead_max=2048 2048 101 real 0m0.385s user 0m0.002s sys 0m0.234s 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.97 seconds: 456.86 ops/second llite.lustre-ffff8f34c559a800.statahead_max=0 1001 real 0m5.958s user 0m0.019s sys 0m2.239s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff8f34c559a800.statahead_max=2048 2048 1001 real 0m3.470s user 0m0.020s sys 0m1.278s 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 4645 (time 1773662508.68 total 10.00 last 464.43) total: 9000 open/close in 19.42 seconds: 463.37 ops/second llite.lustre-ffff8f34c559a800.statahead_max=0 10001 real 0m58.437s user 0m0.216s sys 0m22.056s ls -l 10000 files without statahead: 59 sec llite.lustre-ffff8f34c559a800.statahead_max=2048 2048 10001 real 0m31.284s user 0m0.156s sys 0m21.211s ls -l 10000 files with statahead: 31 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: 63 seconds llite.lustre-ffff8f34c559a800.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-ffff8f34c559a800.batch_stats= snapshot_time: 1773662683.756445054 secs.nsecs start_time: 1773662398.784359340 secs.nsecs elapsed_time: 284.972085714 secs.nsecs subreqs per batch batches % cum % 1: 428 66 66 2: 87 13 80 4: 44 6 87 8: 14 2 89 16: 8 1 90 32: 20 3 93 64: 1 0 93 128: 1 0 94 256: 38 5 100 - open/close 4563 (time 1773662694.53 total 10.00 last 456.29) - open/close 9234 (time 1773662704.53 total 20.00 last 467.07) total: 10000 open/close in 21.68 seconds: 461.36 ops/second llite.lustre-ffff8f34c559a800.statahead_batch_max=0 llite.lustre-ffff8f34c559a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f34c559a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.635s user 0m0.151s sys 0m28.027s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8f34c559a800.statahead_batch_max=256 llite.lustre-ffff8f34c559a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f34c559a800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8f34c559a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.082s user 0m0.148s sys 0m21.757s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8f34c559a800.batch_stats= snapshot_time: 1773662781.942708273 secs.nsecs start_time: 1773662742.605475066 secs.nsecs elapsed_time: 39.337233207 secs.nsecs subreqs per batch batches % cum % 1: 345 66 66 2: 78 14 81 4: 30 5 86 8: 7 1 88 16: 9 1 89 32: 17 3 93 64: 1 0 93 128: 1 0 93 256: 34 6 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8f34c559a800.statahead_batch_max=64 llite.lustre-ffff8f34c559a800.statahead_max=128