# Changing the Number of Virtual CPUs Allocated to a Virtual Machine

Parallels Desktop for Mac automatically calculates the maximum allowable number of virtual CPUs based on the number of physical cores in your Mac's CPU. Here is how the allocation works for N logical cores in the system (where N typically equals the number of physical cores in Apple Silicon systems and is double the number of physical cores in Intel-based systems, thanks to Hyper-Threading):

<table><thead><tr><th width="313">Profile*</th><th>Number of virtual cores allocated automatically</th></tr></thead><tbody><tr><td>Productivity &#x26; Software testing</td><td>2 virtual cores for N&#x3C;8 and 4 otherwise</td></tr><tr><td>Games only</td><td>Minimum even number greater or equal to N/2 (e.g., 8 for a 16-core CPU or 10 for an 18-core CPU)</td></tr><tr><td>Design &#x26; Software development</td><td>Maximum even number that is smaller or equal to N/2 (e.g., 8 for a 16-core CPU or also 8 for an 18-core CPU)</td></tr><tr><td>All other scenarios</td><td>2 virtual cores</td></tr></tbody></table>

\*to learn more about profiles, please refer to [this page](/landing/pdfm-ug/parallels-desktop-for-mac-26-users-guide/use-windows-on-your-mac/optimizing-performance/optimizing-virtual-machines-for-specific-tasks.md) of the guide.

However, if you often run multiple virtual machines concurrently, automatic core allocation may lead to resource conflict. We recommend configuring the number of CPUs assigned to every virtual machine manually. For the manual core allocation limits, please see [this page](/landing/pdfm-ug/parallels-desktop-for-mac-26-users-guide/parallels-desktop-preferences-and-virtual-machine-settings/virtual-machine-settings/hardware-settings/cpu-and-memory-settings.md).

{% hint style="warning" %}
**Note**: Although most modern apps are designed with multi-core processors in mind, not all of them benefit from increasing the number of available cores equally. Increasing the number of virtual cores doesn't always lead to a corresponding improvement in performance.
{% endhint %}

To set how many processors are allocated to a virtual machine:

1. [Shut down the virtual machine](/landing/pdfm-ug/parallels-desktop-for-mac-26-users-guide/use-windows-on-your-mac/getting-started/shutdown-and-suspend-windows.md).
2. Open the **Actions** menu and choose **Configure**.&#x20;

   <figure><img src="/files/t7bbX7ICkMHCE7SGrjmJ" alt="" width="563"><figcaption></figcaption></figure>
3. Click **Hardware > CPU & Memory**, switch to **Manual**, and select a number from the **Processors** menu.

{% hint style="info" %}
**Note**: In Parallels Desktop for Mac, you can assign up to 4 cores to a virtual machine. In Parallels Desktop for Mac Pro Edition, you can assign up to 16 cores.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/pdfm-ug/parallels-desktop-for-mac-26-users-guide/advanced-topics/working-with-virtual-machines/changing-the-number-of-virtual-cpus-allocated-to-a-virtual-machine.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
