== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:35:45 (1763354145) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9e7ec6423000.batch_stats=0 llite.lustre-ffff9e7ec6423000.statahead_max=32 llite.lustre-ffff9e7ec6423000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9e7ec6423000.batch_stats=0 total: 100 open/close in 0.76 seconds: 132.29 ops/second llite.lustre-ffff9e7ec6423000.statahead_max=0 101 real 0m0.624s user 0m0.006s sys 0m0.223s ls -l 100 files without statahead: 0 sec llite.lustre-ffff9e7ec6423000.statahead_max=32 32 101 real 0m0.370s user 0m0.002s sys 0m0.192s ls -l 100 files with statahead: 0 sec statahead total: 123 statahead wrong: 2 agl total: 117 list_total: 33 fname_total: 90 hit_total: 10371 miss_total: 1299 total: 900 open/close in 1.78 seconds: 505.32 ops/second llite.lustre-ffff9e7ec6423000.statahead_max=0 1001 real 0m6.075s user 0m0.018s sys 0m2.139s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff9e7ec6423000.statahead_max=32 32 1001 real 0m3.420s user 0m0.017s sys 0m1.917s ls -l 1000 files with statahead: 3 sec statahead total: 124 statahead wrong: 2 agl total: 118 list_total: 34 fname_total: 90 hit_total: 11370 miss_total: 1300 - open/close 4193 (time 1763354175.16 total 10.00 last 419.22) - open/close 8593 (time 1763354185.16 total 20.00 last 440.00) total: 9000 open/close in 20.95 seconds: 429.52 ops/second llite.lustre-ffff9e7ec6423000.statahead_max=0 10001 real 1m9.028s user 0m0.320s sys 0m23.343s ls -l 10000 files without statahead: 69 sec llite.lustre-ffff9e7ec6423000.statahead_max=32 32 10001 real 0m35.301s user 0m0.148s sys 0m18.239s ls -l 10000 files with statahead: 35 sec statahead total: 125 statahead wrong: 2 agl total: 119 list_total: 35 fname_total: 90 hit_total: 21369 miss_total: 1301 ls -l done rm -r /mnt/lustre/d123ad.sanity: 69 seconds llite.lustre-ffff9e7ec6423000.statahead_stats= statahead total: 125 statahead wrong: 2 agl total: 119 list_total: 35 fname_total: 90 hit_total: 21369 miss_total: 1301 mdc.lustre-MDT0000-mdc-ffff9e7ec6423000.batch_stats= snapshot_time: 1763354370.892115884 secs.nsecs start_time: 1763354147.315363176 secs.nsecs elapsed_time: 223.576752708 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 3876 (time 1763354381.81 total 10.00 last 387.60) - open/close 7780 (time 1763354391.81 total 20.00 last 390.39) total: 10000 open/close in 25.42 seconds: 393.38 ops/second llite.lustre-ffff9e7ec6423000.statahead_batch_max=0 llite.lustre-ffff9e7ec6423000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e7ec6423000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.623s user 0m0.215s sys 0m30.470s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9e7ec6423000.statahead_batch_max=32 llite.lustre-ffff9e7ec6423000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e7ec6423000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9e7ec6423000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.737s user 0m0.165s sys 0m17.909s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9e7ec6423000.batch_stats= snapshot_time: 1763354470.779419178 secs.nsecs start_time: 1763354433.523869628 secs.nsecs elapsed_time: 37.255549550 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-ffff9e7ec6423000.batch_stats=0 llite.lustre-ffff9e7ec6423000.statahead_max=2048 llite.lustre-ffff9e7ec6423000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9e7ec6423000.batch_stats=0 total: 100 open/close in 0.71 seconds: 140.72 ops/second llite.lustre-ffff9e7ec6423000.statahead_max=0 101 real 0m0.568s user 0m0.005s sys 0m0.210s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9e7ec6423000.statahead_max=2048 2048 101 real 0m0.274s user 0m0.003s sys 0m0.182s 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.82 seconds: 493.84 ops/second llite.lustre-ffff9e7ec6423000.statahead_max=0 1001 real 0m5.770s user 0m0.029s sys 0m2.056s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff9e7ec6423000.statahead_max=2048 2048 1001 real 0m3.086s user 0m0.020s sys 0m1.150s 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 4756 (time 1763354581.25 total 10.00 last 475.55) total: 9000 open/close in 19.66 seconds: 457.78 ops/second llite.lustre-ffff9e7ec6423000.statahead_max=0 10001 real 1m4.746s user 0m0.303s sys 0m22.170s ls -l 10000 files without statahead: 65 sec llite.lustre-ffff9e7ec6423000.statahead_max=2048 2048 10001 real 0m30.084s user 0m0.194s sys 0m21.891s 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: 58 seconds llite.lustre-ffff9e7ec6423000.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-ffff9e7ec6423000.batch_stats= snapshot_time: 1763354755.031747926 secs.nsecs start_time: 1763354471.568928364 secs.nsecs elapsed_time: 283.462819562 secs.nsecs subreqs per batch batches % cum % 1: 240 58 58 2: 66 16 74 4: 22 5 79 8: 13 3 82 16: 6 1 84 32: 23 5 90 64: 1 0 90 128: 1 0 90 256: 39 9 100 - open/close 4852 (time 1763354765.75 total 10.00 last 485.14) - open/close 9653 (time 1763354775.75 total 20.00 last 480.07) total: 10000 open/close in 20.76 seconds: 481.63 ops/second llite.lustre-ffff9e7ec6423000.statahead_batch_max=0 llite.lustre-ffff9e7ec6423000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e7ec6423000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m40.698s user 0m0.250s sys 0m33.173s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9e7ec6423000.statahead_batch_max=256 llite.lustre-ffff9e7ec6423000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e7ec6423000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9e7ec6423000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m23.135s user 0m0.186s sys 0m17.560s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9e7ec6423000.batch_stats= snapshot_time: 1763354847.444906669 secs.nsecs start_time: 1763354819.754208216 secs.nsecs elapsed_time: 27.690698453 secs.nsecs subreqs per batch batches % cum % 1: 186 57 57 2: 35 10 68 4: 29 8 76 8: 12 3 80 16: 1 0 80 32: 25 7 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-ffff9e7ec6423000.statahead_batch_max=64 llite.lustre-ffff9e7ec6423000.statahead_max=128