gns3-server icon indicating copy to clipboard operation
gns3-server copied to clipboard

CPU sizing for Qemu VMs

Open grossmj opened this issue 6 years ago • 2 comments

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...

grossmj avatar Oct 28 '19 15:10 grossmj

Could also use CPU hotplug features. More info:

  • https://pve.proxmox.com/wiki/Hotplug_(qemu_disk,nic,cpu,memory)
  • https://wiki.qemu.org/Features/CPUHotplug

grossmj avatar Jul 12 '20 10:07 grossmj

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.

grossmj avatar Jul 24 '20 05:07 grossmj