== sanity test 123ad: Verify batching statahead works correctly ========================================================== 01:21:02 (1788672062) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8ba58dd81800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ba58dd81800.batch_stats=0 llite.lustre-ffff8ba58dd81800.statahead_max=32 llite.lustre-ffff8ba58dd81800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8ba58dd81800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ba58dd81800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.45 seconds: 40.87 ops/second llite.lustre-ffff8ba58dd81800.statahead_max=0 101 real 0m2.860s user 0m0.006s sys 0m0.335s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8ba58dd81800.statahead_max=32 llite.lustre-ffff8ba58dd81800.statahead_max=32 101 real 0m0.979s user 0m0.007s sys 0m0.176s 'ls -l' 100 files with statahead: 1 sec statahead total: 136 statahead wrong: 1 agl total: 130 list_total: 31 fname_total: 74 hit_total: 4091 miss_total: 266 swrong=1 ewrong=1 - open/close 711 (time 1788672091.57 total 10.00 last 71.10) total: 900 open/close in 12.06 seconds: 74.64 ops/second llite.lustre-ffff8ba58dd81800.statahead_max=0 1001 real 0m20.980s user 0m0.037s sys 0m2.911s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff8ba58dd81800.statahead_max=32 llite.lustre-ffff8ba58dd81800.statahead_max=32 1001 real 0m10.676s user 0m0.028s sys 0m1.381s 'ls -l' 1000 files with statahead: 11 sec statahead total: 137 statahead wrong: 1 agl total: 131 list_total: 32 fname_total: 74 hit_total: 5086 miss_total: 271 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff8ba58dd81800.statahead_stats= statahead total: 137 statahead wrong: 1 agl total: 131 list_total: 32 fname_total: 74 hit_total: 5086 miss_total: 271 mdc.lustre-MDT0000-mdc-ffff8ba58dd81800.batch_stats= snapshot_time: 1788672159.524349144 secs.nsecs start_time: 1788672067.314995408 secs.nsecs elapsed_time: 92.209353736 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 2 5 11 8: 3 8 19 16: 24 66 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff8ba58dd81800.batch_stats= snapshot_time: 1788672159.524414262 secs.nsecs start_time: 1788672067.316738819 secs.nsecs elapsed_time: 92.207675443 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 3 7 12 16: 10 25 37 32: 25 62 100 - open/close 912 (time 1788672171.94 total 10.00 last 91.20) - open/close 1685 (time 1788672181.95 total 20.01 last 77.25) - open/close 2456 (time 1788672191.95 total 30.01 last 77.08) - open/close 3352 (time 1788672201.96 total 40.02 last 89.52) - open/close 4225 (time 1788672211.96 total 50.02 last 87.30) - open/close 5031 (time 1788672221.97 total 60.03 last 80.52) - open/close 5850 (time 1788672231.98 total 70.04 last 81.81) - open/close 6645 (time 1788672241.98 total 80.04 last 79.48) - open/close 7480 (time 1788672251.99 total 90.05 last 83.45) - open/close 8319 (time 1788672262.00 total 100.06 last 83.83) - open/close 9168 (time 1788672272.01 total 110.07 last 84.76) total: 10000 open/close in 120.07 seconds: 83.29 ops/second llite.lustre-ffff8ba58dd81800.statahead_batch_max=0 llite.lustre-ffff8ba58dd81800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ba58dd81800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ba58dd81800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m57.973s user 0m0.326s sys 0m15.342s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ba58dd81800.statahead_batch_max=32 llite.lustre-ffff8ba58dd81800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ba58dd81800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ba58dd81800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ba58dd81800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ba58dd81800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m52.244s user 0m0.307s sys 0m14.197s batched statahead RPC= hit count=9986 mdc.lustre-MDT0000-mdc-ffff8ba58dd81800.batch_stats= snapshot_time: 1788672472.484305186 secs.nsecs start_time: 1788672348.758249013 secs.nsecs elapsed_time: 123.726056173 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-ffff8ba58dd81800.batch_stats= snapshot_time: 1788672472.484376881 secs.nsecs start_time: 1788672348.758387656 secs.nsecs elapsed_time: 123.725989225 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8ba58dd81800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ba58dd81800.batch_stats=0 llite.lustre-ffff8ba58dd81800.statahead_max=2048 llite.lustre-ffff8ba58dd81800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8ba58dd81800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ba58dd81800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.59 seconds: 38.59 ops/second llite.lustre-ffff8ba58dd81800.statahead_max=0 101 real 0m2.406s user 0m0.005s sys 0m0.314s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8ba58dd81800.statahead_max=2048 llite.lustre-ffff8ba58dd81800.statahead_max=2048 101 real 0m0.933s user 0m0.005s sys 0m0.193s 'ls -l' 100 files with statahead: 1 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10085 miss_total: 15 swrong=0 ewrong=0 - open/close 845 (time 1788672784.10 total 10.01 last 84.44) total: 900 open/close in 10.65 seconds: 84.54 ops/second llite.lustre-ffff8ba58dd81800.statahead_max=0 1001 real 0m23.358s user 0m0.035s sys 0m2.979s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff8ba58dd81800.statahead_max=2048 llite.lustre-ffff8ba58dd81800.statahead_max=2048 1001 real 0m7.656s user 0m0.031s sys 0m1.317s 'ls -l' 1000 files with statahead: 7 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11084 miss_total: 16 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff8ba58dd81800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11084 miss_total: 16 mdc.lustre-MDT0000-mdc-ffff8ba58dd81800.batch_stats= snapshot_time: 1788672849.591015118 secs.nsecs start_time: 1788672476.040379273 secs.nsecs elapsed_time: 373.550635845 secs.nsecs subreqs per batch batches %% cum %% 1: 1 12 12 2: 0 0 12 4: 2 25 37 8: 2 25 62 16: 0 0 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff8ba58dd81800.batch_stats= snapshot_time: 1788672849.591086764 secs.nsecs start_time: 1788672476.045784740 secs.nsecs elapsed_time: 373.545302024 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 12 12 8: 3 37 50 16: 1 12 62 32: 1 12 75 64: 0 0 75 128: 0 0 75 256: 2 25 100 - open/close 798 (time 1788672862.37 total 10.01 last 79.69) - open/close 1590 (time 1788672872.37 total 20.01 last 79.19) - open/close 2253 (time 1788672882.37 total 30.02 last 66.28) - open/close 3111 (time 1788672892.39 total 40.04 last 85.61) - open/close 3933 (time 1788672902.40 total 50.04 last 82.19) - open/close 4879 (time 1788672912.40 total 60.04 last 94.56) - open/close 5695 (time 1788672922.41 total 70.05 last 81.53) - open/close 6554 (time 1788672932.41 total 80.05 last 85.90) - open/close 7335 (time 1788672942.42 total 90.07 last 78.00) - open/close 8098 (time 1788672952.43 total 100.08 last 76.22) - open/close 8694 (time 1788672962.44 total 110.08 last 59.56) - open/close 9502 (time 1788672972.45 total 120.09 last 80.72) total: 10000 open/close in 127.26 seconds: 78.58 ops/second llite.lustre-ffff8ba58dd81800.statahead_batch_max=0 llite.lustre-ffff8ba58dd81800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ba58dd81800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ba58dd81800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.350s user 0m0.315s sys 0m14.561s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ba58dd81800.statahead_batch_max=256 llite.lustre-ffff8ba58dd81800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ba58dd81800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ba58dd81800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ba58dd81800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ba58dd81800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.693s user 0m0.311s sys 0m14.594s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8ba58dd81800.batch_stats= snapshot_time: 1788673115.369059212 secs.nsecs start_time: 1788673050.007601898 secs.nsecs elapsed_time: 65.361457314 secs.nsecs subreqs per batch batches %% cum %% 1: 83 42 42 2: 19 9 52 4: 18 9 61 8: 9 4 65 16: 6 3 68 32: 15 7 76 64: 8 4 80 128: 4 2 82 256: 34 17 100 mdc.lustre-MDT0001-mdc-ffff8ba58dd81800.batch_stats= snapshot_time: 1788673115.369487472 secs.nsecs start_time: 1788673050.007696894 secs.nsecs elapsed_time: 65.361790578 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-ffff8ba58dd81800.statahead_batch_max=64 llite.lustre-ffff8ba58dd81800.statahead_max=128