Socket (CPU socket)

A socket is the physical holder on the system board for one processor; a two-socket server has two processors working together.

In plain words

Servers are described by the number of sockets: one-socket (1P) or two-socket (2P) are the common sizes, with four and eight sockets in a few large models. Each socket takes one processor, and each processor brings its own cores, its own memory channels and its own PCIe lanes. A two-socket server therefore has twice the cores and twice the memory channels of a one-socket server with the same processor. Lanes depend on the maker: on Intel each added processor brings its own lanes, but one AMD EPYC already offers 128, and in a two-socket EPYC server part of the lanes carry the link between the sockets, so the second processor adds few or none.

More sockets means more capacity in one box, and more cost, power and heat. The difference between a one- and a two-socket server is also a licensing question: some software is priced per core or per socket, and some operating systems and hypervisors set a minimum number of core licences for each processor and for each server. Check the current terms for your software, because they change.

Modern processors have grown so large (many dozens of cores on one chip) that a single socket often does the work that used to need two. A one-socket server largely avoids NUMA effects (some processors can still be split into several nodes per socket), is simpler to cool and usually costs less to license.

A socket also decides which processors can be fitted. Each server generation takes a specific socket type, so a processor from one generation does not fit another, and a processor from one maker does not fit the other's boards. The second socket of a two-socket board can usually be left empty at first, but then its memory slots and some PCIe slots do not work.

Why it matters when you buy a server

Count the sockets you really need, not the most you can afford. Ask whether the second processor is for cores, for memory slots or for PCIe lanes, because each need has a different answer, and tell us your licence model so that the cost of cores is part of the decision.

Keep reading

Sources: Intel Xeon 6 and AMD EPYC processor documentation; HPE QuickSpecs for the socket count and PCIe lanes of each model.

Related terms

Tell us what the server must run.

An engineer checks the configuration against the manufacturer's specifications and replies with a formal quotation.