Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Paul1977

5043 posts

Uber Geek


#289345 31-Aug-2021 11:43
Send private message

If you have a virtual machine with 8 vCPU, is there any performance difference in doing 1 sockets with 8 cores vs 2 socket with 4 cores each etc?


Create new topic
OzoneNZ
102 posts

Master Geek

ID Verified

  #2769303 31-Aug-2021 11:50
Send private message

Some interesting reading here around having your VM's matching the host's NUMA layout possibly leading to some performance benefits

https://blogs.vmware.com/vsphere/2013/10/does-corespersocket-affect-performance.html

Other than that I think most people use the socket/cores split to get around OS licences that dictate a max number of sockets but unlimited cores



Andib
1363 posts

Uber Geek

ID Verified
Trusted

  #2769324 31-Aug-2021 12:40
Send private message

Realistically with with modern hypervisors, hardware and operating systems there will be no real world performance difference between the two. In the past some legacy applications were written around multi CPU vs multi core workloads.
Now it's mostly around licencing (albeit this is now starting to become irrelevant now that vendors are licencing cores not just sockets). A recent example I've dealt with was a SAP application where it was licenced with a legacy perpetual licence which was for a two sockets but the engineer who set it up gave it 8x1 vCPUs rather than a 1x8 and the app wouldn't launch until it was fixed.





<# 
       .DISCLAIMER
       Anything I post is my own and not the views of my past/present/future employer.
#>


billgates
4705 posts

Uber Geek

Trusted

  #2769348 31-Aug-2021 13:55
Send private message

My standard is 1CPU and 4Cores. Plenty of power for most VM's.




Do whatever you want to do man.

  



alexx
867 posts

Ultimate Geek


  #2769370 31-Aug-2021 14:56
Send private message

These days you'd be more likely to find servers in a data centre with 8-24 cores (or more) per socket. Add sockets as needed depending on the budget and system requirements, but having a lot of vCPUs gives you more flexibility when it comes to hosting a lot of VMs/containers.

 

If you are hosting a huge Oracle database or something like that, the vendor might have their own recommendations.





#include <standard.disclaimer>


Mark
1653 posts

Uber Geek


  #2778114 14-Sep-2021 10:12
Send private message

OzoneNZ: Some interesting reading here around having your VM's matching the host's NUMA layout possibly leading to some performance benefits

https://blogs.vmware.com/vsphere/2013/10/does-corespersocket-affect-performance.html

Other than that I think most people use the socket/cores split to get around OS licences that dictate a max number of sockets but unlimited cores

 

 

 

An extra interesting read for you : https://blogs.vmware.com/performance/2017/03/virtual-machine-vcpu-and-vnuma-rightsizing-rules-of-thumb.html

 

Basic rule is, start with as few vCPUs on a VM as you can and scale up if the hypervisor stats suggest you are actually hitting limits .. don't believe the stats at the VMs OS level, those stats are generally a pack of lies as they get skewed by the hypervisor scheduling the VM in and out of time on the physical cores, the hypervisor controls and knows all so if it says the VM is only using 25% of the CPU  made available then it is probably right :-)

 

Every few months I chuck the various best practice guides at vendors who insist their VM needs 64 cores, sometimes it is a struggle to get across to them that the hardware itself only has 40 cores and putting a 64 vCPU VM on them might be a tad weird/dumb.


bagheera
539 posts

Ultimate Geek


  #2778126 14-Sep-2021 10:35
Send private message

I have also found with that many vcpu, depending on the hosts loading, you may slow down the VM with 8vcpu due to cpu ready state, away love vendors that go we need 8 vcpu for no real reason.

 

 

 

https://www.sqlskills.com/blogs/jonathan/cpu-ready-time-in-vmware-and-how-to-interpret-its-real-meaning/


Zeon
3916 posts

Uber Geek

Trusted

  #2778127 14-Sep-2021 10:39
Send private message

Remember if you have a multi-socket host to look at NUMA.





Speedtest 2019-10-14


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.