Basis of judgment:A physically encapsulated CPU (judged by physical ID) can have multiple cores (differentiated by Core ID).Each core can have multiple logical CPUs (judged by processor).One core implements this core's own hyper-Threading technology
First, look at what the Hyper-threading conceptHyper-Threading technology is the use of special hardware instructions, the two logical core simulation into two physical chips, so that a single processor can use thread-level parallel computing, and
In Linux, you can view the number of physical CPUs, cores, logical CPUs, and linux. In Linux, when you view the number of physical CPUs, cores, and logical CPUs, we recommend that you enable the number of worker processes to 1 to 4 times the number
How to view the number of physical CPUs, cores, threads, and Linux on linux
First, let's take a look at what is hyper-threading.
Hyper-Threading Technology uses special hardware commands to simulate two logical kernels into two physical chips, so
The concept of number of CPUs , number of cores,number ofprocessor
CPU number
The independent central processing Unit, which is represented on the motherboard, is the number of CPU Slot Position
cpu cores
How to learn more about CPU information in Linux systems. Of course, it is checked by Cat/proc/cpuinfo, but for example several physical cpu/several cores/several threads, these questions how to determine. After viewing, my development machine was
CentOS View System versioncat/etc/redhat-1) View the version of the CentOS kernel:[[Email protected] ~] # cat /proc/version2.6.18-194.el5 ([email protected]) (GCC version 4.1.2 20080704 (Red Hat 4.1.2-48)#1 SMP Fri Apr 2 14:58:14 EDT2) Display
information in the Cat/proc/cpuinfoprocessor The ID of the logical processor. ID of the processor that physical ID physically encapsulates. the ID of the core ID for each key. CPU Cores The number of cores in the same physically encapsulated
1. CPUs with the same core ID are Hyper-threading of the same core. (Physical ID and core ID is not necessarily consecutive but they is unique.) Any CPUs with the same core ID is hyperthreads in the same core.)2. CPUs with the same physical ID are
Number of physical CPU cores on linux servers. number of kernels. view the number of threads and detailed description of the relationshipThe company's servers are purchased in several batches, so the configuration is not very similar, especially in
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.