forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
18 lines
2.8 KiB
HTML
18 lines
2.8 KiB
HTML
<a name="EN-US_TOPIC_0000001188323640"></a><a name="EN-US_TOPIC_0000001188323640"></a>
|
|
|
|
<h1 class="topictitle1">Suggestions for SMP Parameter Settings</h1>
|
|
<div id="body0000001080533946"><p id="EN-US_TOPIC_0000001188323640__p0603935401">To enable the SMP adaptation function, set <strong id="EN-US_TOPIC_0000001188323640__b10162104720387">query_dop</strong> to <strong id="EN-US_TOPIC_0000001188323640__b871820501386">0</strong> and adjust the following parameters to obtain an optimal DOP selection:</p>
|
|
<ul id="EN-US_TOPIC_0000001188323640__ul540441719011"><li id="EN-US_TOPIC_0000001188323640__li19404617605">comm_usable_memory<p id="EN-US_TOPIC_0000001188323640__p1678013529291"><a name="EN-US_TOPIC_0000001188323640__li19404617605"></a><a name="li19404617605"></a>If the system memory is large, the value of <strong id="EN-US_TOPIC_0000001188323640__b162457131659">max_process_memory</strong> is large. In this case, you are advised to set the value of this parameter to 5% of <strong id="EN-US_TOPIC_0000001188323640__b16777200962">max_process_memory</strong>, that is, 4 GB by default.</p>
|
|
</li><li id="EN-US_TOPIC_0000001188323640__li9550424709">comm_max_stream<p id="EN-US_TOPIC_0000001188323640__p884213531438"><a name="EN-US_TOPIC_0000001188323640__li9550424709"></a><a name="li9550424709"></a>The recommended value for this parameter is calculated as follows: comm_max_stream = Min(dop_limit x dop_limit x 20 x 2, max_process_memory (bytes) x 0.025/Number of DNs/260). The value must be within the value range of <strong id="EN-US_TOPIC_0000001188323640__b731329171419">comm_max_stream</strong>.</p>
|
|
</li><li id="EN-US_TOPIC_0000001188323640__li349920291409">max_connections<p id="EN-US_TOPIC_0000001188323640__p286713341669"><a name="EN-US_TOPIC_0000001188323640__li349920291409"></a><a name="li349920291409"></a>The recommended value for this parameter is calculated as follows: max_connections = dop_limit x 20 x 6 + 24. The value must be within the value range of <strong id="EN-US_TOPIC_0000001188323640__b4705121771819">max_connections</strong>.</p>
|
|
<div class="caution" id="EN-US_TOPIC_0000001188323640__note99110550251"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="EN-US_TOPIC_0000001188323640__p59111555202514">In the preceding formulas, <strong id="EN-US_TOPIC_0000001188323640__b7979546121820">dop_limit</strong> indicates the number of CPUs corresponding to each DN in the cluster. It is calculated as follows: <strong id="EN-US_TOPIC_0000001188323640__b2657181716191">dop_limit</strong> = Number of logical CPU cores of a single server/Number of DNs of a single server.</p>
|
|
</div></div>
|
|
</li></ul>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0420.html">Configuring SMP</a></div>
|
|
</div>
|
|
</div>
|
|
|