How to view physical CPU information in CentOS

Source: Internet
Author: User

How to view physical CPU information in CentOS

1. Concept

[1] Physical CPU: The number of CPUs on the slot in the actual server.
Number of physical CPUs: There are several physical ID numbers that can be duplicated.
[2] Logical CPU
Linux users are certainly not unfamiliar with the/proc/cpuinfo file. It is used to store CPU hardware information.
The information content lists the specifications of the processor 0–n, respectively. It's important to note that if you think n is the actual number of CPUs, it's a big mistake.
In general, we think that a CPU can have multicore, plus Intel's Hyper-Threading Technology (HT), can logically divide the number of CPU core out
Number of logical CPUs = number of physical CPUs x CPU cores This specification value x 2 (if HT is supported and turned on)
Note: Linux top view CPU is also the number of logical CPUs

[3] Number of CPU Cores
The number of chipsets that can process data on a CPU, such as the current i5 760, is a dual-core four-thread CPU, while i5 2250 is a quad-core four-thread CPU
In general, the number of physical CPUs x per core should be equal to the number of logical CPUs, if not equal, it means that the server's CPU support Hyper-Threading Technology
2. View CPU Information
When we cat/proc/cpuinfo, the CPU with the same core ID is a hyper-thread of the same core, and the CPU with the same physical ID is a thread or core encapsulated by the same CPU.

Reference from:
View CPU information, machine model and other hardware information under Linux
Linux commands for viewing hardware information

3. Examples and explanations
[0] View CPU model

&nbsp123&nbsp123&nbsp123&nbsp123 "&nbsp123" &nbsp123&nbsp123

&nbsp123&nbsp123&nbsp123&nbsp123 ""


This article is from the "Dream to Reality" blog, please be sure to keep this source http://lookingdream.blog.51cto.com/5177800/1767984

How to view physical CPU information in CentOS

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.