As far as i understand, you can start a VM with less vCPUs than set via sockets and cores and increase them upon need (ballooning style).In Proxmox VE the maximal number of plugged CPUs is always cores * sockets. To start a VM with less than this total core count of CPUs you may use the vpus setting, it denotes how many vCPUs should be plugged in at VM start.
Sockets would only make sense when enabling NUMA, but even then 4 socket wouldn't make sense, as you are using a single socket mainboard and the 5900X only got 2 chiplets.Thanks a lot Dunuin! I made it 4 sockets, 5 CPUs, making a total of 20 vCPUs, but guess it does not make much sense, does it?
Please also read the documentation about non-standard socket/core configurations and MacOS. It should match as close to a real hardware as possible, 24 or 16 is a common core count.Thanks a lot Dunuin! I made it 4 sockets, 5 CPUs, making a total of 20 vCPUs, but guess it does not make much sense, does it?
Thanks for the tip. I am considering to use mainly Monterey, and, eventually, Manjaro. So if I assign the full 24 cores to Monterey, then none will be left for other SOs? I am just guessing here… My initial idea was to go 20:Monterey / 4:ManjaroPlease also read the documentation about non-standard socket/core configurations and MacOS. It should match as close to a real hardware as possible, 24 or 16 is a common core count.
so I thougth, that's why I wanted to allocate some 20/4 or even 22/2, but to LnxBill, I should be allocating 16: monterey / 8: host(proxmox)… I am lost here!Keep in mind that the host also needs some CPU cores.
That depends heavily on what you want to virtualize. The docs I want to mention areThanks for the tip. I am considering to use mainly Monterey, and, eventually, Manjaro. So if I assign the full 24 cores to Monterey, then none will be left for other SOs? I am just guessing here… My initial idea was to go 20:Monterey / 4:Manjaro
I am sorry to be little dunce. Can we take example of a thin machine with proxmox and 4 x AMD GX-420CA SOC with Radeon(tm) HD Graphics (1 Socket) specification.Hey!
Given your scenarios:
- Socket is the physical slot for a CPU. It matters if, for instance, you need NUMA (allocated RAM per CPU, which speeds up computation).
- Core - is the physical core a CPU has. Here it gets a bit confusing - within Proxmox the number of cores equals the number of threads, so if your CPU supports hyper-threading, the cores count is double the physical cores of the CPU. Within Proxmox settings, it tells how many threads per each socket should be allocated.
- vCPU - by default, it's the product of sockets and cores per socket allocated. To cite the docs: As far as i understand, you can start a VM with less vCPUs than set via sockets and cores and increase them upon need (ballooning style).
At the same time:
- 4 Sockets, 1 Core, 1 vCPU means that a max of 4 vCPUs are possible, but you are starting a VM (only Linux support) with one vCPU
- 1 Socket, 4 Cores, 1 vCPU - same situation - max of 4 vCPUs are possible, but you are starting a VM with one vCPU
- 1 Socket, 1 Core, 4 vCPUs - not possible to set it up, as vCPUs are <= sockets * cores.
To sum up:
- 4 Sockets, 1 Core, 4 vCPUs - allows for NUMA optimisations if your server has actual 4 sockets
- 1 Socket, 4 Cores, 4 vCPUs - identical to previous scenario, if NUMA is not used / considered, but may influence the cost of licensing
- most likely you don't need to touch vCPU settings
- more sockets with less cores each (but <= than physical sockets on the system) allows for NUMA optimisation
- less sockets with more cores each may decrease the licensing costs, since some licenses are socket-based
I don't get your question. This is virtualization and you can virtualize whatever you want, so this is by intent.Upon creation of VM, I am allowed to allocate (MAX) up to 4 sockets and 128 cores. The create VM dialog box says, 512 cores. How is that possible?
Sorry for my bad paraphrasing it. Does this mean that even though I have one socket CPU with four cores and four threads, the Proxmox ingenuity allows for creating 512 fractions of it? And to continue, the four cores become equal to four sockets and the four threads become equal to 128 cores or about 32 cores for each thread? If so, its just WOW!I don't get your question. This is virtualization and you can virtualize whatever you want, so this is by intent.
Yes. Isn't this normal in a hypervisor? The same is true for storage. I creates a petabyte filesystem on just a few GB (of course empty).Sorry for my bad paraphrasing it. Does this mean that even though I have one socket CPU with four cores and four threads, the Proxmox ingenuity allows for creating 512 fractions of it? And to continue, the four cores become equal to four sockets and the four threads become equal to 128 cores or about 32 cores for each thread? If so, its just WOW!
Sorry for my bad paraphrasing it. Does this mean that even though I have one socket CPU with four cores and four threads, the Proxmox ingenuity allows for creating 512 fractions of it? And to continue, the four cores become equal to four sockets and the four threads become equal to 128 cores or about 32 cores for each thread? If so, its just WOW!
https://pve.proxmox.com/pve-docs/chapter-qm.html#qm_cpuIt is perfectly safe if the overall number of cores of all your VMs is greater than the number of cores on the server (for example, 4 VMs each with 4 cores (= total 16) on a machine with only 8 cores). In that case the host system will balance the QEMU execution threads between your server cores, just like if you were running a standard multi-threaded application. However, Proxmox VE will prevent you from starting VMs with more virtual CPU cores than physically available, as this will only bring the performance down due to the cost of context switches.
Its not.If the socket in the processor configuration dialog is a physical socket on the motherboard
Because there are no current x86 hardware interconnects to emulate for >4 sockets.If this is an emulation, why can't I install more than 4 sockets