== sanity test 123ad: Verify batching statahead works correctly ========================================================== 16:50:44 (1783975844) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff93db09179800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93db09179800.batch_stats=0 llite.lustre-ffff93db09179800.statahead_max=32 llite.lustre-ffff93db09179800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff93db09179800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93db09179800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.73 seconds: 36.68 ops/second llite.lustre-ffff93db09179800.statahead_max=0 101 real 0m2.769s user 0m0.004s sys 0m0.347s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff93db09179800.statahead_max=32 llite.lustre-ffff93db09179800.statahead_max=32 101 real 0m1.519s user 0m0.004s sys 0m0.200s 'ls -l' 100 files with statahead: 1 sec statahead total: 123 statahead wrong: 2 agl total: 116 list_total: 32 fname_total: 84 hit_total: 3682 miss_total: 1669 swrong=2 ewrong=2 - open/close 709 (time 1783975874.04 total 10.00 last 70.87) total: 900 open/close in 12.72 seconds: 70.77 ops/second llite.lustre-ffff93db09179800.statahead_max=0 1001 real 0m23.141s user 0m0.032s sys 0m3.232s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff93db09179800.statahead_max=32 llite.lustre-ffff93db09179800.statahead_max=32 1001 real 0m12.016s user 0m0.038s sys 0m1.609s 'ls -l' 1000 files with statahead: 12 sec statahead total: 124 statahead wrong: 2 agl total: 117 list_total: 33 fname_total: 84 hit_total: 4680 miss_total: 1671 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff93db09179800.statahead_stats= statahead total: 124 statahead wrong: 2 agl total: 117 list_total: 33 fname_total: 84 hit_total: 4680 miss_total: 1671 mdc.lustre-MDT0000-mdc-ffff93db09179800.batch_stats= snapshot_time: 1783975948.776829464 secs.nsecs start_time: 1783975849.429467887 secs.nsecs elapsed_time: 99.347361577 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 3 7 15 16: 19 48 64 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff93db09179800.batch_stats= snapshot_time: 1783975948.776915719 secs.nsecs start_time: 1783975849.429603984 secs.nsecs elapsed_time: 99.347311735 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 1 2 9 4: 1 2 12 8: 2 4 17 16: 22 53 70 32: 12 29 100 - open/close 722 (time 1783975961.53 total 10.00 last 72.19) - open/close 1429 (time 1783975971.54 total 20.01 last 70.64) - open/close 2160 (time 1783975981.55 total 30.02 last 73.03) - open/close 2958 (time 1783975991.56 total 40.03 last 79.74) - open/close 3779 (time 1783976001.56 total 50.03 last 82.07) - open/close 4583 (time 1783976011.57 total 60.04 last 80.33) - open/close 5505 (time 1783976021.58 total 70.04 last 92.13) - open/close 6206 (time 1783976031.58 total 80.05 last 70.10) - open/close 6908 (time 1783976041.58 total 90.05 last 70.19) - open/close 7618 (time 1783976051.59 total 100.05 last 70.95) - open/close 8381 (time 1783976061.61 total 110.07 last 76.15) - open/close 9103 (time 1783976071.61 total 120.08 last 72.14) - open/close 9810 (time 1783976081.62 total 130.09 last 70.66) total: 10000 open/close in 133.04 seconds: 75.17 ops/second llite.lustre-ffff93db09179800.statahead_batch_max=0 llite.lustre-ffff93db09179800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93db09179800.stats=clear mdc.lustre-MDT0001-mdc-ffff93db09179800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.207s user 0m0.333s sys 0m16.845s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff93db09179800.statahead_batch_max=32 llite.lustre-ffff93db09179800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93db09179800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff93db09179800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff93db09179800.stats=clear mdc.lustre-MDT0001-mdc-ffff93db09179800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m57.846s user 0m0.337s sys 0m16.143s batched statahead RPC= hit count=9986 mdc.lustre-MDT0000-mdc-ffff93db09179800.batch_stats= snapshot_time: 1783976291.547648656 secs.nsecs start_time: 1783976158.961364146 secs.nsecs elapsed_time: 132.586284510 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff93db09179800.batch_stats= snapshot_time: 1783976291.547721449 secs.nsecs start_time: 1783976158.961454798 secs.nsecs elapsed_time: 132.586266651 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff93db09179800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93db09179800.batch_stats=0 llite.lustre-ffff93db09179800.statahead_max=2048 llite.lustre-ffff93db09179800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff93db09179800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93db09179800.batch_stats=0