In my laptop I see two terms under Task Manager -> Performance -> CPU ==> Cores
and Logical Processors
.
The below is the screen shot of the same:
My laptop is having intel core i3.
Can anyone help me understand what is core
and what is logical processors
.
I would consider this thread as offtopic.
They are different levels of abstractions. At higher level we have one physical CPU (one physical socket). One CPU is divided into two physical cores. Each core has its own circuits to execute instructions and its own L1 and L2 caches. That is, two cores may work simultaneously, because cores are independant (for the most part). However, they have shared connections via shared L3 cache. One CPU unit have two L1 caches, two L2 caches and one L3 cache shared between both cores.
Intel uses Hyper-Threading (HT) technology to reuse processing units/circuits in more effective ways. Say, each core may have one processing circuit to add two numbers and one processing circuit to perform two number multiplication. If you need to add two numbers and multiply another two numbers, you can perform these operations simultaneously on the same core. This is why Windows OS threats each core with HT technology as two logical processors.
However this is not a real parallelism, because if you need to add multiple different numbers, you cannot do that on the same core, because there is only one addition circuit in the core. In certain cases instruction queue may be optimized to utilize different processing circuits on the same core simultaneously, but in other cases it can't be optimizied due to execution plan.