> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-admin-guide/v22-ja-jp/load-balancing-and-halb/resource-based-and-round-robin-load-balancing/configure-cpu-optimization.md).

# CPU最適化の構成

CPU最適化機能を使用すると、要件に応じてCPU負荷分散を最適化できます。この構成を行うと、CPU負荷分散機能は、プロセスのCPU使用率が指定された値を超え、かつその状態が指定された秒数以上続いた場合に、そのプロセスの優先度を下げます。 また、プロセスのCPU使用率が一定割合を下回った状態が一定秒数続くと、LBはそのプロセスの優先度を元のレベルに戻します。

CPU 最適化を構成するには、「**CPU 最適化をオンにする**」オプションを選択し、以下の説明に従って値を指定してください。

## **Microsoft Start**

CPUの最適化をいつ有効にするかを指定します。「\*\*総CPU使用率が○○％を超えた場合」\*\*という入力フィールドは、システム全体のCPU使用率（パーセント）を指定するものです。

## **CPUの状態**

特定のプロセスが指定されたCPU使用率を上回ったり下回ったりした場合の、プロセスごとのしきい値を指定します。ここでは、\*\*「Critical」**および**「Idle」\*\*の値を指定できます。CPUロードバランサーは、これらの値に基づいて他の優先順位を調整します。

なお、CPU使用率の値は平滑化されており、「[**ロードバランシング」**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-19-Administrators-Guide/39281.htm)[タブ](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-19-Administrators-Guide/39281.htm)で設定されたエージェントの更新時間に基づいて計算される点にご注意ください。

## **適用除外**

「**除外リスト**」を使用して、CPU 最適化の対象から除外するプロセスを指定します。**「タスク」**＞**「追加」をクリックして、プロセスを選択します。リストからプロセスを削除するには、そのプロセスを選択し、「タスク」**＞\*\*「削除」\*\*をクリックします。

critical/idle の値に不規則性があると、問題が発生する可能性があります（設定の誤りにより、プロセスがアイドル状態に設定されてしまうなど）。CPU 使用率カウンターの取得に問題がある場合、最適化を適用することはできません。

ログファイルは、%ProgramData%\Parallels\RASLogs\cpuloadbalancer.log にあります。このログを使用して、しきい値を確認してください。Windows では、CPU 使用率のパフォーマンスカウンターを確認できます。

{% hint style="info" %}
\*\*注：\*\*クリティカル／アイドルしきい値は、プロセスの最大CPU使用率（絶対的なCPU使用率ではない）に基づいて計算されるため、優先順位を変更してもこの値はログに反映されません。\
絶対CPU使用率は、CPU使用率の合計に等しくなります。たとえば、それぞれ30%ずつCPUを使用しているプロセスが2つある場合、CPU使用率の合計は60%になります。CPU LBが作動する使用率のしきい値は25%（デフォルト）です。\
「プロセスの最大CPU使用率」とは、最も多くのCPUリソースを消費しているプロセスのCPU使用率のことです。たとえば、3つのプロセスがあり、そのうち2つが10％、3つ目が40％を消費している場合、最大CPU使用率は40％となります。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/ras-admin-guide/v22-ja-jp/load-balancing-and-halb/resource-based-and-round-robin-load-balancing/configure-cpu-optimization.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
