== sanity test 123ad: Verify batching statahead works correctly ========================================================== 15:44:14 (1790106254) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8afaedb8f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8afaedb8f000.batch_stats=0 llite.lustre-ffff8afaedb8f000.statahead_max=32 llite.lustre-ffff8afaedb8f000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8afaedb8f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8afaedb8f000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 3.36 seconds: 29.79 ops/second llite.lustre-ffff8afaedb8f000.statahead_max=0 101 real 0m3.249s user 0m0.003s sys 0m0.318s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8afaedb8f000.statahead_max=32 llite.lustre-ffff8afaedb8f000.statahead_max=32 101 real 0m1.487s user 0m0.008s sys 0m0.165s 'ls -l' 100 files with statahead: 1 sec statahead total: 142 statahead wrong: 2 agl total: 136 list_total: 31 fname_total: 100 hit_total: 4127 miss_total: 1577 swrong=2 ewrong=2 - open/close 684 (time 1790106287.98 total 10.02 last 68.29) total: 900 open/close in 12.42 seconds: 72.46 ops/second llite.lustre-ffff8afaedb8f000.statahead_max=0 1001 real 0m18.559s user 0m0.027s sys 0m2.775s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff8afaedb8f000.statahead_max=32 llite.lustre-ffff8afaedb8f000.statahead_max=32 1001 real 0m9.984s user 0m0.030s sys 0m1.404s 'ls -l' 1000 files with statahead: 9 sec statahead total: 143 statahead wrong: 2 agl total: 137 list_total: 32 fname_total: 100 hit_total: 5124 miss_total: 1580 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff8afaedb8f000.statahead_stats= statahead total: 143 statahead wrong: 2 agl total: 137 list_total: 32 fname_total: 100 hit_total: 5124 miss_total: 1580 mdc.lustre-MDT0000-mdc-ffff8afaedb8f000.batch_stats= snapshot_time: 1790106355.511352762 secs.nsecs start_time: 1790106260.060402578 secs.nsecs elapsed_time: 95.450950184 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 4 10 15 16: 21 52 67 32: 13 32 100 mdc.lustre-MDT0001-mdc-ffff8afaedb8f000.batch_stats= snapshot_time: 1790106355.511427014 secs.nsecs start_time: 1790106260.060481690 secs.nsecs elapsed_time: 95.450945324 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 0 0 7 4: 2 5 12 8: 3 7 20 16: 18 45 65 32: 14 35 100 - open/close 888 (time 1790106368.63 total 10.00 last 88.80) - open/close 1776 (time 1790106378.64 total 20.01 last 88.71) - open/close 2599 (time 1790106388.64 total 30.01 last 82.26) - open/close 3412 (time 1790106398.65 total 40.02 last 81.24) - open/close 4125 (time 1790106408.66 total 50.03 last 71.27) - open/close 5005 (time 1790106418.66 total 60.03 last 87.93) - open/close 5879 (time 1790106428.67 total 70.04 last 87.35) - open/close 6705 (time 1790106438.67 total 80.04 last 82.58) - open/close 7467 (time 1790106448.67 total 90.04 last 76.19) - open/close 8342 (time 1790106458.68 total 100.05 last 87.46) - open/close 9212 (time 1790106468.70 total 110.07 last 86.84) total: 10000 open/close in 117.87 seconds: 84.84 ops/second llite.lustre-ffff8afaedb8f000.statahead_batch_max=0 llite.lustre-ffff8afaedb8f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8afaedb8f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8afaedb8f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m51.703s user 0m0.292s sys 0m13.612s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8afaedb8f000.statahead_batch_max=32 llite.lustre-ffff8afaedb8f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8afaedb8f000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8afaedb8f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8afaedb8f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8afaedb8f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m26.360s user 0m0.278s sys 0m13.115s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff8afaedb8f000.batch_stats= snapshot_time: 1790106632.073281949 secs.nsecs start_time: 1790106535.674573110 secs.nsecs elapsed_time: 96.398708839 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-ffff8afaedb8f000.batch_stats= snapshot_time: 1790106632.073364764 secs.nsecs start_time: 1790106535.674758651 secs.nsecs elapsed_time: 96.398606113 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8afaedb8f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8afaedb8f000.batch_stats=0 llite.lustre-ffff8afaedb8f000.statahead_max=2048 llite.lustre-ffff8afaedb8f000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8afaedb8f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8afaedb8f000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.90 seconds: 52.72 ops/second llite.lustre-ffff8afaedb8f000.statahead_max=0 101 real 0m1.835s user 0m0.009s sys 0m0.305s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8afaedb8f000.statahead_max=2048 llite.lustre-ffff8afaedb8f000.statahead_max=2048 101 real 0m0.678s user 0m0.003s sys 0m0.160s '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: 10081 miss_total: 19 swrong=0 ewrong=0 total: 900 open/close in 8.90 seconds: 101.08 ops/second llite.lustre-ffff8afaedb8f000.statahead_max=0 1001 real 0m16.232s user 0m0.028s sys 0m2.817s 'ls -l' 1000 files without statahead: 16 sec llite.lustre-ffff8afaedb8f000.statahead_max=2048 llite.lustre-ffff8afaedb8f000.statahead_max=2048 1001 real 0m4.897s user 0m0.030s sys 0m1.413s '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: 11080 miss_total: 20 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 14 seconds llite.lustre-ffff8afaedb8f000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11080 miss_total: 20 mdc.lustre-MDT0000-mdc-ffff8afaedb8f000.batch_stats= snapshot_time: 1790106919.076634335 secs.nsecs start_time: 1790106634.292097136 secs.nsecs elapsed_time: 284.784537199 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 3 33 44 16: 2 22 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff8afaedb8f000.batch_stats= snapshot_time: 1790106919.076808202 secs.nsecs start_time: 1790106634.292283478 secs.nsecs elapsed_time: 284.784524724 secs.nsecs subreqs per batch batches %% cum %% 1: 1 11 11 2: 0 0 11 4: 3 33 44 8: 2 22 66 16: 0 0 66 32: 0 0 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 - open/close 1018 (time 1790106931.02 total 10.01 last 101.73) - open/close 2043 (time 1790106941.02 total 20.01 last 102.50) - open/close 3165 (time 1790106951.02 total 30.01 last 112.18) - open/close 4308 (time 1790106961.02 total 40.01 last 114.27) - open/close 5459 (time 1790106971.03 total 50.02 last 115.00) - open/close 6500 (time 1790106981.05 total 60.04 last 103.92) - open/close 7550 (time 1790106991.05 total 70.04 last 104.97) - open/close 8603 (time 1790107001.05 total 80.04 last 105.27) - open/close 9665 (time 1790107011.06 total 90.05 last 106.15) total: 10000 open/close in 92.96 seconds: 107.57 ops/second llite.lustre-ffff8afaedb8f000.statahead_batch_max=0 llite.lustre-ffff8afaedb8f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8afaedb8f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8afaedb8f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m39.583s user 0m0.276s sys 0m16.087s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8afaedb8f000.statahead_batch_max=256 llite.lustre-ffff8afaedb8f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8afaedb8f000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8afaedb8f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8afaedb8f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8afaedb8f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.851s user 0m0.262s sys 0m15.014s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8afaedb8f000.batch_stats= snapshot_time: 1790107098.793557362 secs.nsecs start_time: 1790107059.205645657 secs.nsecs elapsed_time: 39.587911705 secs.nsecs subreqs per batch batches %% cum %% 1: 220 56 56 2: 56 14 70 4: 33 8 79 8: 21 5 84 16: 5 1 85 32: 13 3 89 64: 8 2 91 128: 1 0 91 256: 34 8 100 mdc.lustre-MDT0001-mdc-ffff8afaedb8f000.batch_stats= snapshot_time: 1790107098.793601301 secs.nsecs start_time: 1790107059.205806519 secs.nsecs elapsed_time: 39.587794782 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-ffff8afaedb8f000.statahead_batch_max=64 llite.lustre-ffff8afaedb8f000.statahead_max=128