sockets - how many individual cpus (physical cpus)
cores - how many cpu cores
threads - how many number of threads per each core

# physical cpu cores vs logical cpu cores
(https://unix.stackexchange.com/questions/88283/
so-what-are-logical-cpu-cores-as-opposed-to-physical-cpu-cores)

$ lscpu
Architecture:                    i686
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   36 bits physical, 48 bits virtual
CPU(s):                          2
On-line CPU(s) list:             0,1
Thread(s) per core:              1
Core(s) per socket:              2
Socket(s):                       1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           42
Model name:                      Intel(R) Pentium(R) CPU B950 @ 2.10GHz
Stepping:                        7
CPU MHz:                         798.120
CPU max MHz:                     2100.0000
CPU min MHz:                     800.0000
BogoMIPS:                        4190.20
L1d cache:                       64 KiB
L1i cache:                       64 KiB
L2 cache:                        512 KiB
L3 cache:                        2 MiB

* In the above Intel(R) Pentium(R) laptop has 2 "CPUs" in total.
  CPU(s): 2

* Of which there are 2 physical cores (1 socket x 2 cores/socket = 2 cores)
  Core(s) per socket: 2
  Socket(s): 1

* Of which each can run upto 1 threads
  Thread(s) per core: 1
  at the same time. These threads are the core's logical capabilities.


$ sudo dmidecode | egrep "Socket Designation: Proc|((Thread|Core) Count)"
Socket Designation: Proc 1
        Core Count: 14
        Thread Count: 28
Socket Designation: Proc 2
        Core Count: 14
        Thread Count: 28

* Two sockets.
* Each socket has 14 physical cores.
* Each core has two threads (28/14).
* Total number of logical "cpus" or logical processing units is 56.
  (that's what top and some other commands would show you as number of "cpus")
