Jump to content
douglascrane

Creating VM with 2 virtual CPU's, with no CPU pinning

4 posts in this topic Last Reply

Recommended Posts

I have a need to create a few VM's.  I would like to set up each with 2 virtual CPU's.  However I will be creating several for testing, in the range of 20-30.  I have a Ryzen 3950X.  I won't want to have to go in and assign 20-30 VM's across the cores. Would rather let the machine balance them.  And as I create more or less the load would change.

 

Any way to create VMs with virtual CPUs, not have to assign cores and threads, rather allow them to run across all?  I know I could assign all cores to all VM's, however it then shows as all CPU's in each VM, and I need to each VM to register no more than 2 cpus.

 

Appears the templates force you to select cores and threads

 

Any help appreciated.

Share this post


Link to post
On 3/25/2020 at 6:40 PM, douglascrane said:

I have a need to create a few VM's.  I would like to set up each with 2 virtual CPU's.  However I will be creating several for testing, in the range of 20-30.  I have a Ryzen 3950X.  I won't want to have to go in and assign 20-30 VM's across the cores. Would rather let the machine balance them.  And as I create more or less the load would change.

 

Any way to create VMs with virtual CPUs, not have to assign cores and threads, rather allow them to run across all?  I know I could assign all cores to all VM's, however it then shows as all CPU's in each VM, and I need to each VM to register no more than 2 cpus.

 

Appears the templates force you to select cores and threads

 

Any help appreciated.

It's a manual xml edit. You can just remove the <cputune> section.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.