Physical CPU
With respect to the physical CPU is a virtual CPU in terms of concept, it refers to the actual presence of a CPU processor, or installed on a PC server motherboard
Nuclear physics
CPU contains physical core (core), such as a multi-core CPU, a single CPU core (old CPU), the multi-core or single-core has been integrated in the CPU
Logical cores (logical or virtual CPU core)
Often said that the 4 core 8 threads, 4-core refers to the physical core. Using Intel's Hyper-Threading Technology (HT) into a virtual core may be a physical logic processing unit, i.e., virtual core.
Now most of the host CPU are using HT technology, nuclear physics simulation with a two virtual cores, so 4-core virtualized eight virtual cores, a virtual nuclear one thread, a total of 8 threads
In the following system linux / proc / cpuinfo file entry, siblings recorded corresponding physical CPU (entry to the physical id identification) of the number of logical cores
relationship:
There are a number of physical cores on the physical CPU, a virtual physical core can be a number of logical cores, one logical core can execute one thread at the same time, we often say how many nuclear refers to the logical core
Annex: cpuinfo
[@ zyshanlinux the root-01 ~] # CAT / proc / cpuinfo Processor : 0 ----------------- identifier of the logical core VENDOR_ID: GenuineIntel CPU Family: . 6 Model: 60 name Model: the Intel (R & lt) Core ((TM)) i7 -4700MQ the CPU @ 2 .40GHz Stepping: . 3 microcode A: 0x22 CPU MHz: 2393.631 Cache size: 6144 KB PHYSICAL ID : 0 ------------ --- how many there are many physical physical id the CPU SIBLINGS: 20 is the number of logical cores on the corresponding physical -------------- the CPU core ID: 0 CPU Cores : 10 - --------------- how many physical cores per physical CPU