Core, Sockets, Hyper-Threading, Processor, vCPUs

What is the CPU Core?

The CPU core means the CPU processor.

In classical times the one core focuses on one task at a time.

(i.e. 1 core means → one task at a time)

Multiple cores mean multiple tasks at a time which results in more efficiency

Intel 8th generation processor has 4 cores

4 core means = 1 core x 2 | 1 core x 2 | 1 core x 2 | 1 core x 2 **only if hyper-threading exits

↓ ↓ ↓ ↓

2 2 2 2

= 8 logical processor

1 CPU core + hyper-threading → appears as two logical CPU to an operating system.

But actually the fact is the CPU is still a single CPU. While the OS sees each two CPU for each core. The CPU pretends it has more cores then it does and it uses its own logic to speed up program execution.

What is Hyper-Threading?

Hyper-Threading is Intel’s term for simultaneous multi-threading (SMT).

This is the process where CPU splits its physical core into the virtual core, which are known as threads, for example, each Intel’s CPU with hyper-threading splits both cores into four threads.

Hyper-Threading allows each core to split to do two things simultaneously this results in improvising CPU performance, thereby allowing you to run multiple demanding apps at the same time or use heavily-threaded apps without the PC lagging.

Hyper-threading is just a ‘bonus’. processor with multi-threading that pretends multiple cases, modern Intel CPU has both multiple cores and hyper-threading.

Your dual-core CPU + hyper-threading appears as 4 cores to your OS

Your quad-core CPU + hyper-threading appears as 8 cores to your OS

So dual-core CPU with hyper-threading performs better with dual-core CPU without hyper-threading.

What is the Processor ?

The processor socket (also called a CPU socket) is the connector on the motherboard that houses a CPU and forms the electrical interface and contact with the CPU. Processor sockets use a pin grid array (PGA) where pins on the underside of the processor connect to holes in the processor socket.

Before hyper-threading and multi-core CPU came around, people attempted to add additional processing power to computers by adding additional CPU. This requires a motherboard with multiple CPU sockets. The motherboard also needs additional hardware to connect those CPU sockets to the RAM and other resources. There’s a lot of overhead in this kind of setup. There’s additional latency if the CPU need to communicate with each other, systems with multiple CPU consume more power, and the motherboard needs more sockets and hardware.

Here in the task manager, you can see sockets, cores, logical processor fairly well.

You can see in the system there is only one socket where the cores are placed and with hyper-threading, each core splits into two logical processors to show to the operating system. So the total cores are 4 and split into 8 logical processors.

Concept of core, sockets, hyper-threading, processor, vCPUs

Concept of core, sockets, hyper-threading, processor, vCPUs

What is vCPUs?

Here we will talk about the concept of virtual machines in the physical machine

Concept of core, sockets, hyper-threading, processor, vCPUs 4 cores in the physical machine

Concept of core, sockets, hyper-threading, processor, vCPUs ←← single CPU

A chip has 4 cores/ 4 CPU

To execute the virtualization in the cloud environment we are making virtual machines.

So each core in the single physical machine can execute (5-6 vCPUs) depending on the hypervisor you are using.

Suppose we have to make 160 vCPUs in the quad-core system which has 320GB RAM

Suppose a core can handle 10 vCPU in each core → 4 cores X 10vCPUs = 40 vCPUs

Or

We have to configure 160 vCPUs in 4 cores on a single physical system

vCPUs per core = 160/4 = 40 vCPUs per core

Each core will handle 320 / 160 = 2 GB RAMs on each vCPUs

Concept of core, sockets, hyper-threading, processor, vCPUs

40 vCPUs on each core

Conclusion: After understanding these topics we will now understand the basic terminologies on the above topic.

Learn how to scale, manage, and optimize your applications with a SLB. Read our solution brief "Get More from Your Enterprise Network".

DOWNLOAD SOLUTION BRIEF

Get started with CloudMinister Today