== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:27:15 (1718854035) batching: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8800a89f3800.batch_stats=0 llite.lustre-ffff8800a89f3800.statahead_max=32 llite.lustre-ffff8800a89f3800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8800a89f3800.batch_stats=0 total: 100 open/close in 0.94 seconds: 106.13 ops/second llite.lustre-ffff8800a89f3800.statahead_max=0 101 real 0m0.934s user 0m0.003s sys 0m0.330s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8800a89f3800.statahead_max=32 32 101 real 0m0.339s user 0m0.005s sys 0m0.166s ls -l 100 files with statahead: 0 sec statahead total: 28 statahead wrong: 0 agl total: 28 list_total: 28 fname_total: 0 hit_total: 1538 miss_total: 138 total: 900 open/close in 3.87 seconds: 232.33 ops/second llite.lustre-ffff8800a89f3800.statahead_max=0 1001 real 0m8.718s user 0m0.038s sys 0m3.036s ls -l 1000 files without statahead: 9 sec llite.lustre-ffff8800a89f3800.statahead_max=32 32 1001 real 0m3.053s user 0m0.030s sys 0m1.409s ls -l 1000 files with statahead: 3 sec statahead total: 29 statahead wrong: 0 agl total: 29 list_total: 29 fname_total: 0 hit_total: 2537 miss_total: 139 ls -l done rm -r /mnt/lustre/d123ad.sanity/: 6 seconds rm done statahead total: 29 statahead wrong: 0 agl total: 29 list_total: 29 fname_total: 0 hit_total: 2537 miss_total: 139 mdc.lustre-MDT0000-mdc-ffff8800a89f3800.batch_stats= snapshot_time: 1718854066.497042472 secs.nsecs start_time: 1718854036.663774283 secs.nsecs elapsed_time: 29.833268189 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 2 5 10 16: 2 5 15 32: 34 85 100 - open/close 2337 (time 1718854077.36 total 10.00 last 233.61) - open/close 4667 (time 1718854087.36 total 20.01 last 232.96) - open/close 6950 (time 1718854097.37 total 30.01 last 228.21) - open/close 9198 (time 1718854107.37 total 40.01 last 224.71) total: 10000 open/close in 43.50 seconds: 229.89 ops/second llite.lustre-ffff8800a89f3800.statahead_batch_max=0 llite.lustre-ffff8800a89f3800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a89f3800.stats=clear 10001 real 0m7.701s user 0m0.179s sys 0m6.993s llite.lustre-ffff8800a89f3800.statahead_batch_max=32 llite.lustre-ffff8800a89f3800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a89f3800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a89f3800.stats=clear 10001 real 0m29.469s user 0m0.226s sys 0m13.073s unbatched RPCs: 10004, batched RPCs: 315 mdc.lustre-MDT0000-mdc-ffff8800a89f3800.batch_stats= snapshot_time: 1718854152.558671955 secs.nsecs start_time: 1718854120.754283362 secs.nsecs elapsed_time: 31.804388593 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 batching: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8800a89f3800.batch_stats=0 llite.lustre-ffff8800a89f3800.statahead_max=2048 llite.lustre-ffff8800a89f3800.statahead_batch_max=256 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8800a89f3800.batch_stats=0 total: 100 open/close in 1.01 seconds: 99.24 ops/second llite.lustre-ffff8800a89f3800.statahead_max=0 101 real 0m0.914s user 0m0.008s sys 0m0.315s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8800a89f3800.statahead_max=2048 2048 101 real 0m0.289s user 0m0.005s sys 0m0.131s 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 3.92 seconds: 229.52 ops/second llite.lustre-ffff8800a89f3800.statahead_max=0 1001 real 0m9.079s user 0m0.037s sys 0m3.191s ls -l 1000 files without statahead: 9 sec llite.lustre-ffff8800a89f3800.statahead_max=2048 2048 1001 real 0m1.036s user 0m0.016s sys 0m0.706s 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 ls -l done rm -r /mnt/lustre/d123ad.sanity/: 5 seconds rm done statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 mdc.lustre-MDT0000-mdc-ffff8800a89f3800.batch_stats= snapshot_time: 1718854239.005489065 secs.nsecs start_time: 1718854153.504579049 secs.nsecs elapsed_time: 85.500910016 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 22 22 16: 2 22 44 32: 0 0 44 64: 0 0 44 128: 1 11 55 256: 4 44 100 - open/close 2306 (time 1718854249.87 total 10.00 last 230.54) - open/close 4819 (time 1718854259.87 total 20.00 last 251.27) - open/close 7184 (time 1718854269.87 total 30.01 last 236.41) - open/close 9546 (time 1718854279.88 total 40.01 last 236.18) total: 10000 open/close in 41.93 seconds: 238.47 ops/second llite.lustre-ffff8800a89f3800.statahead_batch_max=0 llite.lustre-ffff8800a89f3800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a89f3800.stats=clear 10001 real 0m7.920s user 0m0.158s sys 0m6.893s llite.lustre-ffff8800a89f3800.statahead_batch_max=256 llite.lustre-ffff8800a89f3800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a89f3800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a89f3800.stats=clear 10001 real 0m7.858s user 0m0.173s sys 0m6.639s unbatched RPCs: 10004, batched RPCs: 491 mdc.lustre-MDT0000-mdc-ffff8800a89f3800.batch_stats= snapshot_time: 1718854302.235731597 secs.nsecs start_time: 1718854291.854035396 secs.nsecs elapsed_time: 10.381696201 secs.nsecs subreqs per batch batches % cum % 1: 342 69 69 2: 21 4 73 4: 24 4 78 8: 24 4 83 16: 23 4 88 32: 22 4 92 64: 1 0 93 128: 0 0 93 256: 34 6 100 seq.cli-lustre-OST0000-super.width=33554431 seq.cli-lustre-OST0001-super.width=33554431 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8800a89f3800.statahead_batch_max=64 llite.lustre-ffff8800a89f3800.statahead_max=128