-
Notifications
You must be signed in to change notification settings - Fork 97
[DOC] It is possible to assign > 254 vCPU to a VM #972
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the Harvester documentation to reflect that version 1.7 now supports allocating more than 254 vCPUs to virtual machines, enabled by automatic IOMMU activation in the underlying libvirt version.
Changes:
- Updated CPU allocation documentation from "a maximum of 254 vCPUs" to "more than 254 vCPUs" for Harvester v1.7
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| docs/vm/create-vm.md | Updated CPU allocation limit documentation for the main docs |
| versioned_docs/version-v1.7/vm/create-vm.md | Updated CPU allocation limit documentation for v1.7 versioned docs |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
e9431c0 to
2eef416
Compare
2eef416 to
e4c49c4
Compare
Starting with Harvester v1.6, it is possible to allocate more than 254 vCPUs, as the underlying libvirt version supports automatic activation of IOMMU. Related to: harvester/harvester#8118 Signed-off-by: Volker Theile <[email protected]>
e4c49c4 to
ebb36e6
Compare
| 1. (Optional) VM template is optional, you can choose `iso-image`, `raw-image` or `windows-iso-image` template to speed up your VM instance creation. | ||
| 1. On the **Basics** tab, configure the following settings: | ||
| - **CPU** and **Memory**: You can allocate a maximum of **254** vCPUs. If virtual machines are not expected to fully consume the allocated resources most of the time, you can use the [`overcommit-config`](../advanced/settings.md#overcommit-config) setting to optimize physical resource allocation. As a best practice, the number of virtual CPUs (vCPUs) allocated per virtual machine should not exceed the physical processor threads available on the host. | ||
| - **CPU** and **Memory**: You can allocate vCPUs as needed. If virtual machines are not expected to fully consume the allocated resources most of the time, you can use the [`overcommit-config`](../advanced/settings.md#overcommit-config) setting to optimize physical resource allocation. As a best practice, the number of virtual CPUs (vCPUs) allocated per virtual machine should not exceed the physical processor threads available on the host. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - **CPU** and **Memory**: You can allocate vCPUs as needed. If virtual machines are not expected to fully consume the allocated resources most of the time, you can use the [`overcommit-config`](../advanced/settings.md#overcommit-config) setting to optimize physical resource allocation. As a best practice, the number of virtual CPUs (vCPUs) allocated per virtual machine should not exceed the physical processor threads available on the host. | |
| - **CPU** and **Memory**: If virtual machines are not expected to fully consume the allocated resources most of the time, you can use the [`overcommit-config`](../advanced/settings.md#overcommit-config) setting to optimize physical resource allocation. As a best practice, the number of virtual CPUs (vCPUs) allocated per virtual machine should not exceed the physical processor threads available on the host. |
or just remove it entirely?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, makes sense. Let's see what @harvester/doc says.
Starting with Harvester v1.6, it is possible to allocate more than 254 vCPUs, as the underlying libvirt version supports automatic activation of IOMMU.
Related Issue(s):
harvester/harvester#8118