== sanity test 123ad: Verify batching statahead works correctly ========================================================== 11:49:38 (1790005778) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff972d85b2a800.batch_stats=0 llite.lustre-ffff972d85b2a800.statahead_max=32 llite.lustre-ffff972d85b2a800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff972d85b2a800.batch_stats=0 total: 100 open/close in 3.89 seconds: 25.73 ops/second llite.lustre-ffff972d85b2a800.statahead_max=0 101 real 0m3.357s user 0m0.006s sys 0m0.323s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff972d85b2a800.statahead_max=32 llite.lustre-ffff972d85b2a800.statahead_max=32 101 real 0m1.703s user 0m0.008s sys 0m0.188s 'ls -l' 100 files with statahead: 1 sec statahead total: 163 statahead wrong: 2 agl total: 156 list_total: 30 fname_total: 119 hit_total: 4048 miss_total: 1472 swrong=2 ewrong=2 - open/close 598 (time 1790005811.89 total 10.00 last 59.80) total: 900 open/close in 15.28 seconds: 58.91 ops/second llite.lustre-ffff972d85b2a800.statahead_max=0 1001 real 0m29.404s user 0m0.040s sys 0m3.244s 'ls -l' 1000 files without statahead: 29 sec llite.lustre-ffff972d85b2a800.statahead_max=32 llite.lustre-ffff972d85b2a800.statahead_max=32 1001 real 0m11.594s user 0m0.040s sys 0m1.427s 'ls -l' 1000 files with statahead: 11 sec statahead total: 164 statahead wrong: 2 agl total: 157 list_total: 31 fname_total: 119 hit_total: 5046 miss_total: 1474 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 27 seconds llite.lustre-ffff972d85b2a800.statahead_stats= statahead total: 164 statahead wrong: 2 agl total: 157 list_total: 31 fname_total: 119 hit_total: 5046 miss_total: 1474 mdc.lustre-MDT0000-mdc-ffff972d85b2a800.batch_stats= snapshot_time: 1790005901.573533223 secs.nsecs start_time: 1790005784.989716498 secs.nsecs elapsed_time: 116.583816725 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 2 5 10 16: 2 5 15 32: 34 85 100 - open/close 617 (time 1790005914.62 total 10.01 last 61.67) - open/close 1190 (time 1790005924.63 total 20.02 last 57.24) - open/close 1765 (time 1790005934.65 total 30.03 last 57.42) - open/close 2177 (time 1790005944.65 total 40.03 last 41.18) - open/close 2693 (time 1790005954.65 total 50.04 last 51.59) - open/close 3121 (time 1790005964.69 total 60.08 last 42.63) - open/close 3550 (time 1790005974.69 total 70.08 last 42.89) - open/close 3946 (time 1790005984.71 total 80.09 last 39.56) - open/close 4405 (time 1790005994.71 total 90.10 last 45.86) - open/close 4971 (time 1790006004.71 total 100.10 last 56.59) - open/close 5604 (time 1790006014.73 total 110.11 last 63.22) - open/close 6054 (time 1790006024.74 total 120.13 last 44.92) - open/close 6524 (time 1790006034.75 total 130.14 last 46.95) - open/close 6982 (time 1790006044.78 total 140.16 last 45.70) - open/close 7464 (time 1790006054.79 total 150.18 last 48.11) - open/close 8024 (time 1790006064.81 total 160.19 last 55.92) - open/close 8667 (time 1790006074.82 total 170.20 last 64.23) - open/close 9233 (time 1790006084.91 total 180.30 last 56.07) - open/close 9806 (time 1790006094.92 total 190.31 last 57.26) total: 10000 open/close in 192.98 seconds: 51.82 ops/second llite.lustre-ffff972d85b2a800.statahead_batch_max=0 llite.lustre-ffff972d85b2a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff972d85b2a800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m24.880s user 0m0.384s sys 0m14.820s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff972d85b2a800.statahead_batch_max=32 llite.lustre-ffff972d85b2a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff972d85b2a800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff972d85b2a800.stats=clear ls -l files in d123ad.sanity: 10001 real 2m2.494s user 0m0.385s sys 0m14.221s batched statahead RPC= hit count=9970 mdc.lustre-MDT0000-mdc-ffff972d85b2a800.batch_stats= snapshot_time: 1790006327.954194259 secs.nsecs start_time: 1790006190.318793281 secs.nsecs elapsed_time: 137.635400978 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 0 32: 313 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff972d85b2a800.batch_stats=0 llite.lustre-ffff972d85b2a800.statahead_max=2048 llite.lustre-ffff972d85b2a800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff972d85b2a800.batch_stats=0 total: 100 open/close in 2.87 seconds: 34.90 ops/second llite.lustre-ffff972d85b2a800.statahead_max=0 101 real 0m2.209s user 0m0.004s sys 0m0.366s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff972d85b2a800.statahead_max=2048 llite.lustre-ffff972d85b2a800.statahead_max=2048 101 real 0m0.664s user 0m0.003s sys 0m0.153s '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: 10069 miss_total: 31 swrong=0 ewrong=0 - open/close 547 (time 1790006688.39 total 10.01 last 54.65) total: 900 open/close in 17.04 seconds: 52.82 ops/second llite.lustre-ffff972d85b2a800.statahead_max=0 1001 real 0m27.667s user 0m0.029s sys 0m2.886s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff972d85b2a800.statahead_max=2048 llite.lustre-ffff972d85b2a800.statahead_max=2048 1001 real 0m8.693s user 0m0.031s sys 0m1.455s 'ls -l' 1000 files with statahead: 9 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11068 miss_total: 32 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 29 seconds llite.lustre-ffff972d85b2a800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11068 miss_total: 32 mdc.lustre-MDT0000-mdc-ffff972d85b2a800.batch_stats= snapshot_time: 1790006778.739990125 secs.nsecs start_time: 1790006330.995995219 secs.nsecs elapsed_time: 447.743994906 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 598 (time 1790006792.42 total 10.01 last 59.77) - open/close 1075 (time 1790006802.42 total 20.01 last 47.69) - open/close 1675 (time 1790006812.43 total 30.02 last 59.92) - open/close 2213 (time 1790006822.45 total 40.04 last 53.72) - open/close 2812 (time 1790006832.45 total 50.04 last 59.86) - open/close 3425 (time 1790006842.47 total 60.06 last 61.17) - open/close 4004 (time 1790006852.49 total 70.07 last 57.83) - open/close 4498 (time 1790006862.50 total 80.09 last 49.32) - open/close 5109 (time 1790006872.50 total 90.09 last 61.09) - open/close 5670 (time 1790006882.51 total 100.10 last 56.06) - open/close 6138 (time 1790006892.53 total 110.11 last 46.73) - open/close 6601 (time 1790006902.54 total 120.12 last 46.26) - open/close 7276 (time 1790006912.54 total 130.13 last 67.46) - open/close 7927 (time 1790006922.54 total 140.13 last 65.09) - open/close 8535 (time 1790006932.56 total 150.15 last 60.71) - open/close 9186 (time 1790006942.57 total 160.16 last 65.00) - open/close 9779 (time 1790006952.58 total 170.17 last 59.25) total: 10000 open/close in 174.58 seconds: 57.28 ops/second llite.lustre-ffff972d85b2a800.statahead_batch_max=0 llite.lustre-ffff972d85b2a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff972d85b2a800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.539s user 0m0.400s sys 0m15.509s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff972d85b2a800.statahead_batch_max=256 llite.lustre-ffff972d85b2a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff972d85b2a800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff972d85b2a800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.069s user 0m0.314s sys 0m14.982s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff972d85b2a800.batch_stats= snapshot_time: 1790007108.357412566 secs.nsecs start_time: 1790007033.568177922 secs.nsecs elapsed_time: 74.789234644 secs.nsecs subreqs per batch batches %% cum %% 1: 165 48 48 2: 40 11 60 4: 34 10 70 8: 26 7 78 16: 16 4 83 32: 17 5 88 64: 4 1 89 128: 1 0 89 256: 34 10 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-ffff972d85b2a800.statahead_batch_max=64 llite.lustre-ffff972d85b2a800.statahead_max=128