Hotplug of CPU and RAM

suresh788

Member
May 1, 2019
6
0
6
30
Hi,

I have enabled NUMA and hotplug of Memory & CPU in options, but CPU hotplug is not working, when the VM is live. How to fix this?
 

Attachments

  • Screenshot (34).png
    Screenshot (34).png
    67.3 KB · Views: 106
Hi,
I think it's not possible to change the maximal number of sockets/cores while the VM is running. But you should be able to change the number of vCPUs on the fly (in the advanced section when editing CPU) when CPU hotplug is enabled. See here.
 
  • Like
Reactions: suresh788
Thank you Fabian.
Yes, I have set the maximum no of cores and sockets, and changed the VCPU of running virtual machine. But the changes are not taking effect on fly. Tried with both windows and linux, It is not working. After shutdown only it is taking effect. Do I have to do any configuration for this.
 
Last edited:
It should work, if you:
  1. Set the number of sockets/cores to the maximum you want to ever allow.
  2. Reboot the VM.
  3. From now on only modify the vCPU setting which should take effect immediately.
 
Changes are getting applied from VM hardware level, but it not reflecting inside the VM operating system.
 

Attachments

  • Picture1.png
    Picture1.png
    144 KB · Views: 79
Some Funny thing noted with Windows 2012 & 2016 VM , hotplug to increase RAM & CPU works. but the Keyboard in proxmox Console Stops working , one can mange it via RDP and get keyboard access in console only after VM is rebooted.
 
Some Funny thing noted with Windows 2012 & 2016 VM , hotplug to increase RAM & CPU works. but the Keyboard in proxmox Console Stops working , one can mange it via RDP and get keyboard access in console only after VM is rebooted.
yup, i just replicated that here on windows server 2019 too - seems like a pervasive problem
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!