forked from docs/doc-exports
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
58 lines
6.9 KiB
HTML
58 lines
6.9 KiB
HTML
<a name="obs_03_1079"></a><a name="obs_03_1079"></a>
|
|
|
|
<h1 class="topictitle1">Optimizing the Upload and Download Performance</h1>
|
|
<div id="body0000001240598531"><p id="obs_03_1079__p1712014911115">By default, OBS Browser+ uploads or downloads files or objects larger than 50 MB using multipart upload and download. To configure relevant parameters, choose <strong id="obs_03_1079__b128311458165112">Settings</strong> > <strong id="obs_03_1079__b165451154115112">Basic Configurations</strong>.</p>
|
|
<p id="obs_03_1079__p164716122258"></p>
|
|
<p id="obs_03_1079__p26872399384"></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_1079__table739016189289" frame="border" border="1" rules="all"><caption><b>Table 1 </b></caption><thead align="left"><tr id="obs_03_1079__row18390191832815"><th align="left" class="cellrowborder" valign="top" width="23.29%" id="mcps1.3.4.2.3.1.1"><p id="obs_03_1079__p6122112413285">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="76.71%" id="mcps1.3.4.2.3.1.2"><p id="obs_03_1079__p1439018184286">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_03_1079__row10390131862811"><td class="cellrowborder" valign="top" width="23.29%" headers="mcps1.3.4.2.3.1.1 "><p id="obs_03_1079__p12390518142810">Max. Number of Concurrent Tasks</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.4.2.3.1.2 "><p id="obs_03_1079__p18390131862810">The maximum number of tasks that can run concurrently. The value ranges from 1 to 50 and the default value is <strong id="obs_03_1079__b13581116165819">3</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_1079__row1539014188287"><td class="cellrowborder" valign="top" width="23.29%" headers="mcps1.3.4.2.3.1.1 "><p id="obs_03_1079__p10411135115302">Max. Concurrent Parts</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.4.2.3.1.2 "><p id="obs_03_1079__p841145116305">The maximum number of parts that can be concurrently uploaded or downloaded in a task. The value ranges from 1 to 50 and the default value is <strong id="obs_03_1079__b1897181716599">3</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_1079__row103904182285"><td class="cellrowborder" valign="top" width="23.29%" headers="mcps1.3.4.2.3.1.1 "><p id="obs_03_1079__p1133011023220">Auto select part size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.4.2.3.1.2 "><p id="obs_03_1079__p1736204512458">This option is selected by default, which automatically sets the size for each part based on the source file or object size.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_1079__row6646164619329"><td class="cellrowborder" valign="top" width="23.29%" headers="mcps1.3.4.2.3.1.1 "><p id="obs_03_1079__p3646184673220">Upload Part Size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.4.2.3.1.2 "><p id="obs_03_1079__p3452740173311">Threshold for triggering multipart upload. If the size of the file to be uploaded is larger than the configured threshold, the file will be uploaded in multipart mode. The default value is 50 MB.</p>
|
|
<div class="note" id="obs_03_1079__note884512551461"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="obs_03_1079__ul1535211564719"><li id="obs_03_1079__li153521519476">To configure this parameter, you must deselect <strong id="obs_03_1079__b457814278310">Auto select part size</strong>.</li><li id="obs_03_1079__li7542143164815">This parameter value ranges from 9 MB to 5 GB.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_1079__row1855318434324"><td class="cellrowborder" valign="top" width="23.29%" headers="mcps1.3.4.2.3.1.1 "><p id="obs_03_1079__p2553114333214">Download Part Size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.4.2.3.1.2 "><p id="obs_03_1079__p135532434322">Threshold for triggering multipart download. If the size of the file to be downloaded is larger than the configured threshold, the file will be downloaded in multipart mode. The default value is 50 MB.</p>
|
|
<div class="note" id="obs_03_1079__note488262665010"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="obs_03_1079__ul1288252665012"><li id="obs_03_1079__li48821526145010">To configure this parameter, you must deselect <strong id="obs_03_1079__b14238169465">Auto select part size</strong>.</li><li id="obs_03_1079__li158821126185011">This parameter value ranges from 9 MB to 5 GB.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="obs_03_1079__p16493115984018">In most cases, multipart tasks not only speed up transfer, but also support resumable transfer of failed tasks. By default, the part size of a multipart task can be automatically adjusted by selecting <strong id="obs_03_1079__b01151955205416">Auto select part size</strong>. In practice, you can adjust the part size based on factors such as the file size and network conditions, to further improve upload and download performance and ensure the efficient and successful completion of tasks.</p>
|
|
<p id="obs_03_1079__p1971719188462">If you have a large number of <strong id="obs_03_1079__b79643329814">small files </strong>(each is usually several MB) to be uploaded or downloaded, set <strong id="obs_03_1079__b596516321387">Max. Number of Concurrent Tasks</strong> to a larger value for better performance. In this case, adjusting the concurrent parts allowed and the part size may be ineffective because the files are too small to reach the threshold of these parameters.</p>
|
|
<p id="obs_03_1079__p131394718497">If you want to upload or download <strong id="obs_03_1079__b11622389815">large files</strong>, set <strong id="obs_03_1079__b1116319381814">Upload Part Size</strong>, <strong id="obs_03_1079__b5163143820813">Download Part Size</strong>, and <strong id="obs_03_1079__b1816317383815">Max. Concurrent Parts</strong> to a larger value for better performance.</p>
|
|
<div class="caution" id="obs_03_1079__note171993013542"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><ul id="obs_03_1079__ul176701188531"><li id="obs_03_1079__li2670171815313">Due to limiting resources, if there are too many concurrent tasks (calculated from <strong id="obs_03_1079__b7184124219810">Max. Number of Concurrent Tasks</strong> x <strong id="obs_03_1079__b418444214811">Max. Concurrent Parts</strong>), the upload and download performance may deteriorate because of resource switchover and preemption between threads. To avoid this, adjust the corresponding parameter values based on the actual file size and network condition.</li><li id="obs_03_1079__li1723815207536">If the client network is poor, you can reduce the size of parts to be uploaded or downloaded and the total number of concurrent tasks to avoid task failures caused by the network fluctuation.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_1006.html">Best Practices</a></div>
|
|
</div>
|
|
</div>
|
|
|