0

What gives better performance single proc - 16 core or dual proc - 8 core each?

We are considering going for a sing proc server due to increase in license cost.

Edit: We plan to use VMWare vsan, It is costing per proc. We plan to run multiple VMs using this server. All these servers run mostly websites based on open source and use apps like Apache, mySql and Ngnix.

Mani
  • 215
  • 3
  • 9

2 Answers2

1

In a virtualized setup you run multiple VMs so normally you'll get more active worker threads than CPU cores. Making long story short: More cores are better than few cores and higher clock speed each.

BaronSamedi1958
  • 12,510
  • 1
  • 20
  • 46
0

Depends on the application.

You haven't described your application, so take my advices as general for most (but not all) situations.

I use assumption, that you want to decide between 2 types of CPU. 8C on higher base frequency, 16C lower. If 16C has higher base frequency or equal, the 16C will be better in most of situations.

Scenario A - Application utilizes all 16 cores and shares memory

In this case the 16 core will be better, because it makes only one NUMA node and memory access will be equally fast for all processes as always local.

Scenario B - Application utilizes all 16 cores, however can be divided to run in 8+8 core configuration with half memory each CPU

In this case 2x8C variant is better (running probably on higher base clock frequency). There are 2 NUMA nodes. So each 8C should only access local half of memory (the one electricaly connected to the socket) without penalization.

Scenario C - the application is capable of running in many independent threads, mostly in cache and occasional RAM access isn't problem.

In this case 2x8C variant is better (running probably on higher base clock frequency). Occasional memory access isn't much limiting.

There can be more situations, like when you have single thread applications etc.

Jaroslav Kucera
  • 1,435
  • 10
  • 16
  • 1
    As an addendum, if the application license charges per processor rather than per core, it's a decent bet that it's not core-aware. – Shadur Oct 13 '17 at 06:59
  • thank you for your answer. We plan to use VMWare vsan, It is costing per proc. We plan to run multiple VMs using this server. All these servers run mostly websites based on open source and use apps like Apache, mySql and Ngnix. – Mani Oct 13 '17 at 10:09