Open grossmj opened 5 years ago
Could also use CPU hotplug features. More info:
I think we should implement QMP support first (see https://github.com/GNS3/gns3-server/issues/1605) before we can properly implement this.
This is because we need to use some QMP commands that are not available using Qemu monitor: https://github.com/qemu/qemu/blob/master/docs/cpu-hotplug.rst
Also, cpu-add command in Qemu monitor is deprecated.
Idea from B3r3n: GNS3 offers cpu sizing + cpu throttling. Also using Proxmox, I see cpu limitation could avoid cpu throttling (painful) to consider more all cpu options : "-smp #,sockets=#,cores=#,maxcpus=#". On proxmox, these are enough to limit CPU consumption, without the cons of cputhrottling. If that is valuable, the requirement would just be to request details to size the overall cpus on the server and then define smp...