> For the complete documentation index, see [llms.txt](https://docs.parallels.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.cn/pdfm-27-ug-zh_cn/parallels-desktop-for-mac-27-yong-hu-zhi-nan/parallels-desktop-pian-hao-she-zhi-he-xu-ni-ji-she-zhi/xu-ni-ji-she-zhi/ying-jian-she-zhi/cpu-yu-nei-cun-she-zhi.md). Agents can also search and read this documentation through its [MCP server](https://docs.parallels.cn/~gitbook/mcp).

# CPU 与内存设置

在**CPU 和内存**窗格中，您可以查看和配置与 CPU 和内存相关的设置。

要打开这些设置，请选择**操作** > **配置** > **硬件**，然后单击**CPU 和内存**。

<figure><img src="https://content.gitbook.com/content/bm5p3y9EqO8kV2Ib5Lfk/blobs/omfZ1YTvkQ7LSorY8DF3/Screenshot%202024-01-19%20at%2017.46.41.png" alt="" width="563"><figcaption></figcaption></figure>

| 选项                                                                                                                                                                                                          | 描述                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **CPU 和内存分配**                                                                                                                                                                                               | <p>Parallels Desktop 会自动为虚拟机分配所需的 CPU 数量和内存容量，以确保您获得最佳性能和良好的使用体验。建议您使用默认设置。<br></p><p>不过，如果您对虚拟机的性能不满意，可以手动指定虚拟机可占用的 CPU 核心数和内存大小。请在相应的字段中选择所需的数值。<br></p><p>在 Parallels Desktop for Mac 标准版中创建和运行的虚拟机，其 vCPU 核心数上限为 4 个，vRAM 上限为 8GB。对于专业版和企业版，限制如下：<br></p><p>• 针对 Apple silicon Mac，最多支持 18 个 vCPU 核心（经测试的最大数量）。</p><p>• 最高 128GB 内存。<br></p><p>请注意，资源配置越高并不一定越好。建议首先使用默认设置运行虚拟机。如果运行缓慢，请尝试增加内存和/或提高 CPU 核心数。 如果虚拟机运行速度变快了，那就没问题。如果没有改善，请尝试通过其他方式调整 CPU 和内存的分配。由于虚拟机的性能取决于 Mac 的硬件配置、Mac 上正在运行的应用程序以及虚拟机内运行的应用程序等因素，因此很难提供更直接的操作指南。</p> |
| **高级** > **自适应虚拟机管理程序**                                                                                                                                                                                     | 选择此选项可让 Parallels Desktop 根据您当前正在使用的应用程序，自动为虚拟机或 macOS 优化性能。当您使用虚拟机应用程序时，系统会为虚拟机分配更多资源；当您使用 macOS 应用程序时，系统会为 macOS 分配更多资源。                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <p><strong>高级</strong> > <strong>启用嵌套虚拟化</strong></p><p>此菜单仅适用于安装在搭载 M3 芯片或更高版本、运行 macOS Sequoia 15.0 或更高版本的 Mac 上的 Parallels Desktop for Mac <strong>Pro 及 Business/Enterprise 版中的</strong> Linux 虚拟机。</p> | <p>选择此选项可启用嵌套虚拟化，这使您能够在受支持的 Linux 虚拟机内部运行基于 Arm 的 Linux 虚拟机。您可以使用此功能在不同的 Linux 发行版之间测试软件，或使用需要 KVM（基于内核的虚拟机）支持的工具。<br><br>支持的 Linux 发行版包括 Debian、Ubuntu 和 Fedora。您可以使用 QEMU/KVM 和 Virtual Machine Manager（<code>virt-manager</code>）等工具来创建和管理嵌套虚拟机。<br><br>在启用此选项之前，必须完全关闭虚拟机，并且我们建议您分配足够的内存，以同时运行其自身的操作系统和任何嵌套虚拟机。</p>                                                                                                                                                                                                                    |


---

# 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.cn/pdfm-27-ug-zh_cn/parallels-desktop-for-mac-27-yong-hu-zhi-nan/parallels-desktop-pian-hao-she-zhi-he-xu-ni-ji-she-zhi/xu-ni-ji-she-zhi/ying-jian-she-zhi/cpu-yu-nei-cun-she-zhi.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.
