== sanity test 123ad: Verify batching statahead works correctly ========================================================== 12:04:38 (1788797078) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88aad11ab000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88aad11ab000.batch_stats=0 llite.lustre-ffff88aad11ab000.statahead_max=32 llite.lustre-ffff88aad11ab000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88aad11ab000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88aad11ab000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.29 seconds: 43.72 ops/second llite.lustre-ffff88aad11ab000.statahead_max=0 101 real 0m2.674s user 0m0.004s sys 0m0.302s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff88aad11ab000.statahead_max=32 llite.lustre-ffff88aad11ab000.statahead_max=32 101 real 0m0.916s user 0m0.003s sys 0m0.181s 'ls -l' 100 files with statahead: 1 sec statahead total: 122 statahead wrong: 2 agl total: 117 list_total: 30 fname_total: 92 hit_total: 4614 miss_total: 1281 swrong=2 ewrong=2 total: 900 open/close in 9.46 seconds: 95.18 ops/second llite.lustre-ffff88aad11ab000.statahead_max=0 1001 real 0m19.304s user 0m0.029s sys 0m2.806s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff88aad11ab000.statahead_max=32 llite.lustre-ffff88aad11ab000.statahead_max=32 1001 real 0m8.352s user 0m0.023s sys 0m1.333s 'ls -l' 1000 files with statahead: 8 sec statahead total: 123 statahead wrong: 2 agl total: 118 list_total: 31 fname_total: 92 hit_total: 5613 miss_total: 1282 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff88aad11ab000.statahead_stats= statahead total: 123 statahead wrong: 2 agl total: 118 list_total: 31 fname_total: 92 hit_total: 5613 miss_total: 1282 mdc.lustre-MDT0000-mdc-ffff88aad11ab000.batch_stats= snapshot_time: 1788797162.894143034 secs.nsecs start_time: 1788797083.709858841 secs.nsecs elapsed_time: 79.184284193 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 1 2 7 8: 4 10 17 16: 17 43 61 32: 15 38 100 mdc.lustre-MDT0001-mdc-ffff88aad11ab000.batch_stats= snapshot_time: 1788797162.894211398 secs.nsecs start_time: 1788797083.710074356 secs.nsecs elapsed_time: 79.184137042 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 1 2 7 8: 2 5 12 16: 21 53 66 32: 13 33 100 - open/close 880 (time 1788797175.28 total 10.02 last 87.85) - open/close 1784 (time 1788797185.29 total 20.03 last 90.27) - open/close 2623 (time 1788797195.30 total 30.04 last 83.86) - open/close 3566 (time 1788797205.31 total 40.05 last 94.21) - open/close 4466 (time 1788797215.31 total 50.05 last 89.96) - open/close 5342 (time 1788797225.32 total 60.05 last 87.56) - open/close 6190 (time 1788797235.33 total 70.07 last 84.67) - open/close 7062 (time 1788797245.33 total 80.07 last 87.19) - open/close 7956 (time 1788797255.34 total 90.08 last 89.33) - open/close 8746 (time 1788797265.35 total 100.09 last 78.92) - open/close 9614 (time 1788797275.36 total 110.09 last 86.76) total: 10000 open/close in 114.35 seconds: 87.45 ops/second llite.lustre-ffff88aad11ab000.statahead_batch_max=0 llite.lustre-ffff88aad11ab000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88aad11ab000.stats=clear mdc.lustre-MDT0001-mdc-ffff88aad11ab000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m55.627s user 0m0.317s sys 0m15.574s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88aad11ab000.statahead_batch_max=32 llite.lustre-ffff88aad11ab000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88aad11ab000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88aad11ab000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88aad11ab000.stats=clear mdc.lustre-MDT0001-mdc-ffff88aad11ab000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m29.979s user 0m0.284s sys 0m13.784s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff88aad11ab000.batch_stats= snapshot_time: 1788797443.205294786 secs.nsecs start_time: 1788797343.112385349 secs.nsecs elapsed_time: 100.092909437 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-ffff88aad11ab000.batch_stats= snapshot_time: 1788797443.205355870 secs.nsecs start_time: 1788797343.112595732 secs.nsecs elapsed_time: 100.092760138 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff88aad11ab000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88aad11ab000.batch_stats=0 llite.lustre-ffff88aad11ab000.statahead_max=2048 llite.lustre-ffff88aad11ab000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff88aad11ab000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88aad11ab000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.44 seconds: 40.99 ops/second llite.lustre-ffff88aad11ab000.statahead_max=0 101 real 0m3.209s user 0m0.005s sys 0m0.325s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff88aad11ab000.statahead_max=2048 llite.lustre-ffff88aad11ab000.statahead_max=2048 101 real 0m1.117s user 0m0.006s sys 0m0.171s 'ls -l' 100 files with statahead: 2 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10082 miss_total: 18 swrong=0 ewrong=0 total: 900 open/close in 9.83 seconds: 91.60 ops/second llite.lustre-ffff88aad11ab000.statahead_max=0 1001 real 0m18.334s user 0m0.034s sys 0m2.802s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff88aad11ab000.statahead_max=2048 llite.lustre-ffff88aad11ab000.statahead_max=2048 1001 real 0m5.169s user 0m0.026s sys 0m1.736s 'ls -l' 1000 files with statahead: 5 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 16 seconds llite.lustre-ffff88aad11ab000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 mdc.lustre-MDT0000-mdc-ffff88aad11ab000.batch_stats= snapshot_time: 1788797776.260186985 secs.nsecs start_time: 1788797445.400803857 secs.nsecs elapsed_time: 330.859383128 secs.nsecs subreqs per batch batches %% cum %% 1: 2 33 33 2: 0 0 33 4: 1 16 50 8: 1 16 66 16: 0 0 66 32: 0 0 66 64: 0 0 66 128: 0 0 66 256: 2 33 100 mdc.lustre-MDT0001-mdc-ffff88aad11ab000.batch_stats= snapshot_time: 1788797776.260262090 secs.nsecs start_time: 1788797445.400996643 secs.nsecs elapsed_time: 330.859265447 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 12 12 8: 3 37 50 16: 0 0 50 32: 0 0 50 64: 1 12 62 128: 1 12 75 256: 2 25 100 - open/close 870 (time 1788797788.50 total 10.01 last 86.90) - open/close 1700 (time 1788797798.52 total 20.03 last 82.89) - open/close 2633 (time 1788797808.52 total 30.03 last 93.26) - open/close 3470 (time 1788797818.52 total 40.03 last 83.69) - open/close 4091 (time 1788797828.54 total 50.04 last 62.01) - open/close 4904 (time 1788797838.54 total 60.05 last 81.24) - open/close 5780 (time 1788797848.56 total 70.06 last 87.49) - open/close 6469 (time 1788797858.56 total 80.07 last 68.88) - open/close 7267 (time 1788797868.57 total 90.08 last 79.70) - open/close 8178 (time 1788797878.58 total 100.09 last 91.02) - open/close 9031 (time 1788797888.58 total 110.09 last 85.28) - open/close 9914 (time 1788797898.59 total 120.10 last 88.22) total: 10000 open/close in 121.06 seconds: 82.60 ops/second llite.lustre-ffff88aad11ab000.statahead_batch_max=0 llite.lustre-ffff88aad11ab000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88aad11ab000.stats=clear mdc.lustre-MDT0001-mdc-ffff88aad11ab000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m51.649s user 0m0.273s sys 0m16.061s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88aad11ab000.statahead_batch_max=256 llite.lustre-ffff88aad11ab000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88aad11ab000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88aad11ab000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88aad11ab000.stats=clear mdc.lustre-MDT0001-mdc-ffff88aad11ab000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m45.123s user 0m0.276s sys 0m14.867s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88aad11ab000.batch_stats= snapshot_time: 1788798011.673779020 secs.nsecs start_time: 1788797957.729875744 secs.nsecs elapsed_time: 53.943903276 secs.nsecs subreqs per batch batches %% cum %% 1: 197 52 52 2: 48 12 65 4: 38 10 76 8: 21 5 81 16: 12 3 84 32: 15 4 88 64: 7 1 90 128: 0 0 90 256: 34 9 100 mdc.lustre-MDT0001-mdc-ffff88aad11ab000.batch_stats= snapshot_time: 1788798011.673881347 secs.nsecs start_time: 1788797957.730041893 secs.nsecs elapsed_time: 53.943839454 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 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-ffff88aad11ab000.statahead_batch_max=64 llite.lustre-ffff88aad11ab000.statahead_max=128