How to count sockets for pve subscriptions?

m.ardito

Famous Member
Feb 17, 2010
1,473
17
103
Torino, Italy
Hi,

I tried to count my CPU-sockets to plan a budget for subscription,

my system has:
Code:
root@pve2:~# lshw | grep -i cpu
     *-cpu:0
          description: CPU
          product: Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz
          bus info: cpu@0
          version: Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz
     *-cpu:1
          description: CPU
          product: Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz
          bus info: cpu@1
          version: Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz

so I guess the cpu-socket is 2.

I've searched on the web and also found this page which ends up with


  • to count cpu-sockets: "#cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l"
    • this on my system gives 2
  • to count cpu-cores: "#cat /proc/cpuinfo | egrep "core id|physical id" | tr -d "\n" | sed s/physical/\\nphysical/g | grep -v ^$ | sort | uniq | wc -l"
    • this on my system gives 8
  • to count cpu-threads: "#cat /proc/cpuinfo | grep processor | wc -l"
    • this on my system gives 16

Is it right, so 2 is my cpu-socket count?

Thanks, Marco
 
Thanks Tom,

<<To find out how many physical CPU-sockets (or sockets) there are on your server go to the GUI of your Proxmox VE, select the server node and click the Summary tab – the CPU name and the CPU-socket count will be listed.>>

but atm I have an older version on my servers (2.1).
I am planning to upgrade to 3.1 but wish to know in advance how much subscriptions will cost.

Is there any way to have same info before upgrading?

Marco
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!