== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:43:22 (1784173402) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff933f8857d800.batch_stats=0 llite.lustre-ffff933f8857d800.statahead_max=32 llite.lustre-ffff933f8857d800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff933f8857d800.batch_stats=0 total: 100 open/close in 1.17 seconds: 85.27 ops/second llite.lustre-ffff933f8857d800.statahead_max=0 101 real 0m1.147s user 0m0.007s sys 0m0.396s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff933f8857d800.statahead_max=32 llite.lustre-ffff933f8857d800.statahead_max=32 101 real 0m0.517s user 0m0.002s sys 0m0.308s 'ls -l' 100 files with statahead: 1 sec statahead total: 63 statahead wrong: 2 agl total: 60 list_total: 24 fname_total: 39 hit_total: 3925 miss_total: 1650 swrong=2 ewrong=2 total: 900 open/close in 4.20 seconds: 214.08 ops/second llite.lustre-ffff933f8857d800.statahead_max=0 1001 real 0m10.492s user 0m0.031s sys 0m3.578s 'ls -l' 1000 files without statahead: 11 sec llite.lustre-ffff933f8857d800.statahead_max=32 llite.lustre-ffff933f8857d800.statahead_max=32 1001 real 0m4.394s user 0m0.011s sys 0m2.194s 'ls -l' 1000 files with statahead: 4 sec statahead total: 64 statahead wrong: 2 agl total: 61 list_total: 25 fname_total: 39 hit_total: 4924 miss_total: 1651 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 9 seconds llite.lustre-ffff933f8857d800.statahead_stats= statahead total: 64 statahead wrong: 2 agl total: 61 list_total: 25 fname_total: 39 hit_total: 4924 miss_total: 1651 mdc.lustre-MDT0000-mdc-ffff933f8857d800.batch_stats= snapshot_time: 1784173443.433020169 secs.nsecs start_time: 1784173404.501221066 secs.nsecs elapsed_time: 38.931799103 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 7 7 16: 2 5 12 32: 34 87 100 - open/close 2261 (time 1784173454.66 total 10.00 last 226.01) - open/close 4528 (time 1784173464.66 total 20.00 last 226.70) - open/close 6769 (time 1784173474.68 total 30.03 last 223.59) - open/close 8979 (time 1784173484.69 total 40.03 last 220.91) total: 10000 open/close in 44.75 seconds: 223.45 ops/second llite.lustre-ffff933f8857d800.statahead_batch_max=0 llite.lustre-ffff933f8857d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff933f8857d800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m37.841s user 0m0.123s sys 0m34.822s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff933f8857d800.statahead_batch_max=32 llite.lustre-ffff933f8857d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff933f8857d800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff933f8857d800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m57.020s user 0m0.138s sys 0m33.019s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff933f8857d800.batch_stats= snapshot_time: 1784173595.585155125 secs.nsecs start_time: 1784173530.976795350 secs.nsecs elapsed_time: 64.608359775 secs.nsecs subreqs per batch batches %% cum %% 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 1 32: 312 98 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff933f8857d800.batch_stats=0 llite.lustre-ffff933f8857d800.statahead_max=2048 llite.lustre-ffff933f8857d800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff933f8857d800.batch_stats=0 total: 100 open/close in 1.17 seconds: 85.60 ops/second llite.lustre-ffff933f8857d800.statahead_max=0 101 real 0m1.156s user 0m0.009s sys 0m0.420s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff933f8857d800.statahead_max=2048 llite.lustre-ffff933f8857d800.statahead_max=2048 101 real 0m0.459s user 0m0.003s sys 0m0.290s '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 swrong=0 ewrong=0 total: 900 open/close in 4.16 seconds: 216.26 ops/second llite.lustre-ffff933f8857d800.statahead_max=0 1001 real 0m10.753s user 0m0.031s sys 0m3.730s 'ls -l' 1000 files without statahead: 11 sec llite.lustre-ffff933f8857d800.statahead_max=2048 llite.lustre-ffff933f8857d800.statahead_max=2048 1001 real 0m4.343s user 0m0.017s sys 0m1.631s '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 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 9 seconds llite.lustre-ffff933f8857d800.statahead_stats= 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-ffff933f8857d800.batch_stats= snapshot_time: 1784173771.402468931 secs.nsecs start_time: 1784173596.763872030 secs.nsecs elapsed_time: 174.638596901 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 2089 (time 1784173782.84 total 10.00 last 208.88) - open/close 4131 (time 1784173792.84 total 20.00 last 204.13) - open/close 6238 (time 1784173802.85 total 30.01 last 210.63) - open/close 8294 (time 1784173812.85 total 40.01 last 205.50) total: 10000 open/close in 48.30 seconds: 207.02 ops/second llite.lustre-ffff933f8857d800.statahead_batch_max=0 llite.lustre-ffff933f8857d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff933f8857d800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m45.342s user 0m0.253s sys 0m25.443s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff933f8857d800.statahead_batch_max=256 llite.lustre-ffff933f8857d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff933f8857d800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff933f8857d800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m28.311s user 0m0.149s sys 0m19.499s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff933f8857d800.batch_stats= snapshot_time: 1784173906.189290787 secs.nsecs start_time: 1784173870.352814579 secs.nsecs elapsed_time: 35.836476208 secs.nsecs subreqs per batch batches %% cum %% 1: 320 67 67 2: 43 9 76 4: 34 7 84 8: 13 2 86 16: 3 0 87 32: 23 4 92 64: 1 0 92 128: 0 0 92 256: 35 7 100 unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff933f8857d800.statahead_batch_max=64 llite.lustre-ffff933f8857d800.statahead_max=128