== sanity test 123ad: Verify batching statahead works correctly ========================================================== 13:25:02 (1772475902) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9ee608775800.batch_stats=0 llite.lustre-ffff9ee608775800.statahead_max=32 llite.lustre-ffff9ee608775800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9ee608775800.batch_stats=0 total: 100 open/close in 0.78 seconds: 128.61 ops/second llite.lustre-ffff9ee608775800.statahead_max=0 101 real 0m0.673s user 0m0.005s sys 0m0.231s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9ee608775800.statahead_max=32 32 101 real 0m0.351s user 0m0.004s sys 0m0.196s ls -l 100 files with statahead: 1 sec statahead total: 175 statahead wrong: 2 agl total: 168 list_total: 31 fname_total: 125 hit_total: 7390 miss_total: 1287 total: 900 open/close in 2.42 seconds: 371.89 ops/second llite.lustre-ffff9ee608775800.statahead_max=0 1001 real 0m7.669s user 0m0.036s sys 0m2.421s ls -l 1000 files without statahead: 8 sec llite.lustre-ffff9ee608775800.statahead_max=32 32 1001 real 0m3.641s user 0m0.023s sys 0m1.823s ls -l 1000 files with statahead: 4 sec statahead total: 176 statahead wrong: 2 agl total: 169 list_total: 32 fname_total: 125 hit_total: 8388 miss_total: 1289 - open/close 3083 (time 1772475934.66 total 10.00 last 308.19) - open/close 5963 (time 1772475944.66 total 20.01 last 287.93) total: 9000 open/close in 28.95 seconds: 310.84 ops/second llite.lustre-ffff9ee608775800.statahead_max=0 10001 real 1m3.548s user 0m0.243s sys 0m21.458s ls -l 10000 files without statahead: 64 sec llite.lustre-ffff9ee608775800.statahead_max=32 32 10001 real 0m33.959s user 0m0.195s sys 0m17.958s ls -l 10000 files with statahead: 34 sec statahead total: 177 statahead wrong: 2 agl total: 170 list_total: 33 fname_total: 125 hit_total: 18387 miss_total: 1290 ls -l done rm -r /mnt/lustre/d123ad.sanity: 63 seconds llite.lustre-ffff9ee608775800.statahead_stats= statahead total: 177 statahead wrong: 2 agl total: 170 list_total: 33 fname_total: 125 hit_total: 18387 miss_total: 1290 mdc.lustre-MDT0000-mdc-ffff9ee608775800.batch_stats= snapshot_time: 1772476124.194457901 secs.nsecs start_time: 1772475903.531038900 secs.nsecs elapsed_time: 220.663419001 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 4136 (time 1772476134.92 total 10.00 last 413.55) - open/close 8163 (time 1772476144.92 total 20.00 last 402.65) total: 10000 open/close in 24.70 seconds: 404.88 ops/second llite.lustre-ffff9ee608775800.statahead_batch_max=0 llite.lustre-ffff9ee608775800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ee608775800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m29.048s user 0m0.212s sys 0m27.848s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9ee608775800.statahead_batch_max=32 llite.lustre-ffff9ee608775800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ee608775800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9ee608775800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.819s user 0m0.177s sys 0m18.014s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9ee608775800.batch_stats= snapshot_time: 1772476219.169622434 secs.nsecs start_time: 1772476181.521418070 secs.nsecs elapsed_time: 37.648204364 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-ffff9ee608775800.batch_stats=0 llite.lustre-ffff9ee608775800.statahead_max=2048 llite.lustre-ffff9ee608775800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9ee608775800.batch_stats=0 total: 100 open/close in 1.23 seconds: 81.20 ops/second llite.lustre-ffff9ee608775800.statahead_max=0 101 real 0m0.741s user 0m0.008s sys 0m0.242s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9ee608775800.statahead_max=2048 2048 101 real 0m0.339s user 0m0.001s 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 2.75 seconds: 327.64 ops/second llite.lustre-ffff9ee608775800.statahead_max=0 1001 real 0m7.708s user 0m0.030s sys 0m2.446s ls -l 1000 files without statahead: 8 sec llite.lustre-ffff9ee608775800.statahead_max=2048 2048 1001 real 0m2.914s user 0m0.016s sys 0m1.169s 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 3552 (time 1772476340.44 total 10.00 last 355.15) - open/close 6928 (time 1772476350.44 total 20.00 last 337.59) total: 9000 open/close in 25.55 seconds: 352.22 ops/second llite.lustre-ffff9ee608775800.statahead_max=0 10001 real 1m8.514s user 0m0.294s sys 0m22.404s ls -l 10000 files without statahead: 68 sec llite.lustre-ffff9ee608775800.statahead_max=2048 2048 10001 real 0m26.645s user 0m0.193s sys 0m19.386s 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: 66 seconds llite.lustre-ffff9ee608775800.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-ffff9ee608775800.batch_stats= snapshot_time: 1772476528.461589956 secs.nsecs start_time: 1772476220.041433623 secs.nsecs elapsed_time: 308.420156333 secs.nsecs subreqs per batch batches % cum % 1: 225 57 57 2: 53 13 71 4: 25 6 78 8: 13 3 81 16: 4 1 82 32: 26 6 89 64: 2 0 89 128: 1 0 89 256: 39 10 100 - open/close 3657 (time 1772476539.23 total 10.00 last 365.68) - open/close 7671 (time 1772476549.24 total 20.00 last 401.35) total: 10000 open/close in 26.18 seconds: 382.04 ops/second llite.lustre-ffff9ee608775800.statahead_batch_max=0 llite.lustre-ffff9ee608775800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ee608775800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m27.831s user 0m0.193s sys 0m24.530s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9ee608775800.statahead_batch_max=256 llite.lustre-ffff9ee608775800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ee608775800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9ee608775800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m23.117s user 0m0.163s sys 0m17.303s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9ee608775800.batch_stats= snapshot_time: 1772476613.486597190 secs.nsecs start_time: 1772476585.966920529 secs.nsecs elapsed_time: 27.519676661 secs.nsecs subreqs per batch batches % cum % 1: 169 53 53 2: 44 13 67 4: 26 8 75 8: 11 3 79 16: 4 1 80 32: 25 7 88 64: 0 0 88 128: 1 0 88 256: 35 11 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff9ee608775800.statahead_batch_max=64 llite.lustre-ffff9ee608775800.statahead_max=128