14.6. スレッド効率
最適なスレッド数を確保するには、スレッドシステムプロパティーの値を CPU 数と CPU の合計に設定します。
-
Red Hat Process Automation Manager インストールディレクトリーで、
standalone-full.xml
ファイルに移動します。たとえば、Red Hat Process Automation Manager に Red Hat JBoss EAP インストールを使用する場合は$EAP_HOME/standalone/configuration/standalone-full.xml
に移動します。 -
standalone-full.xml
ファイルを開きます。 -
<system-properties>
タグの下で、以下の JVM プロパティーの値を CPU の数に設定します。
org.appformer.concurrent.managed.thread.limit org.appformer.concurrent.unmanaged.thread.limit org.appformer.concurrent.indexing.thread.limit org.appformer.concurrent.rest.api.thread.limit
注記
CPU 数と 1 つは、すべてのプロパティーの有効なベースライン値です。追加のテストに基づいてさらに微調整する必要がある場合があります。