Read CPU flags from Cpuinfo
This article will explain how to read the information in Linux cpuinfo
. Later, we will look at what are CPU flags and what they mean.
Reading in Linuxcpuinfo
/proc/cpuinfo
The file contains detailed information about the CPU in your computer. Use the following command to read the contents of the file.
cat /proc/cpuinfo
Here we can see that
- Number of processors,
- CPU vendor, series, model name,
- The number of CPU cores,
- cache, TLB, clflush and address sizes,
- Lots of signs and other information.
In the rest of this article, we will explain the meaning of the most common of these flags. For detailed information on all flags, see arch/x86/include/asm/cpufeature.h .
/proc/cpuinfo
The most common signs
A CPU can have hundreds of features that vary from model to model. Here we will include the definitions of the most common flags as described in the official documentation.
Logo | illustrate |
---|---|
SYSCALL |
System call/syscall |
MP |
Members of Congress Capabilities |
NX |
Execution Disable |
MMXEXT |
AMD MMX extensions |
FXSR_OPT |
FXSAVE/FXRSTOR Optimization |
GBPAGES |
pdpe1gb GB Page |
LM |
Long mode (x86-64) |
Logo | illustrate |
---|---|
LAHF_LM |
LAHF/SAHF in long mode |
CMP_LEGACY |
If yes, hyperthreading is disabled |
SVM |
Secure Virtual Machine |
ABM |
Advanced bit manipulation |
MISALIGNSSE |
Unaligned SSE mode |
3DNOWPREFETCH |
3DNow Prefetch Instructions |
OSVW |
OS-visible workaround |
IBS |
Instruction-based sampling |
XOP |
Extended AVX instructions |
SKINIT |
SKINIT/STGI instructions |
WDT |
Watchdog Timer |
LWP |
Lightweight analysis |
TCE |
Translation Cache Extension |
TBM |
Trailing bit operations |
TOPOEXT |
Topology Extended CPUID Leaf |
PERFCTR_CORE |
Core Performance Counter Extensions |
BPEXT |
Data breakpoint expansion |
Logo | describe |
---|---|
FPU |
Onboard FPU |
VME |
Virtual Mode Extensions |
DE |
Debug extensions |
PSE |
Page size expansion |
TSC |
Timestamp counter |
MSR |
Model-specific registers |
PAE |
Physical Address Extension |
MCE |
Machine Check Exception |
MTRR |
Memory Type Range Register |
PGE |
Enable globally on the page |
MCA |
Machine Check Architecture |
PAT |
Page Property Table |
MMX |
Multimedia Extensions |
PBE |
Pending interrupt enable |
DTES64 |
64-bit debug storage |
MWAIT |
监视器 Monitor/Mwait support |
VMX |
Hardware Virtualization |
SMX |
Safer Mode |
TM2 |
Thermal Monitor 2 |
XTPR |
Sending task priority messages |
PDCM |
Performance Capabilities |
PCID |
Process context identifier |
DCA |
Direct cache access |
HYPERVISOR |
Running on a hypervisor |
Logo | illustrate |
---|---|
EPT |
Intel Extended Page Tables |
VPID |
Intel Virtual Processor ID |
NPT |
AMD Nested Page Tables Support |
LBRV |
AMD LBR virtualization support |
NRIPS |
nrip_save AMD SVM next_rip Save |
TSCRATEMSR |
tsc_scale AMD TSC scaling support |
VMCBCLEAN |
vmcb_clean AMD VMCB clean bit support |
VMCBCLEAN |
AMD refresh support by ASID |
FLUSHBYASID |
AMD Decoder Assist Support |
PAUSEFILTER |
AMD filter pause intercept |
PFTHRESHOLD |
AMD Pause Filter Threshold |
VMMCALL |
Prefer vmmcall to vmcall |
Logo | describe |
---|---|
IDA |
Intel Dynamic Acceleration |
ARAT |
Always run APIC timer |
CPB |
AMD Core Performance Boost |
EPB |
IA32_ENERGY_PERF_BIAS support |
PLN |
Intel Power Limit Notification |
PTS |
Intel Package Thermal Status |
DTHERM |
Digital Thermal Sensor |
PROC_FEEDBACK |
AMD ProcFeedback interface |
INTEL_PT |
Intel Processor Tracking |
Logo | Description: F00F |
---|---|
F00F |
Intel F00F |
FDIV |
FPU FDIV |
COMA |
Cyrix 6x86 coma |
AMD_TLB_MMATCH |
tlb_mmatch AMD Errata 383 |
AMD_APIC_C1E |
apic_c1e AMD Errata 400 |
11AP |
Wrong local APIC aka 11AP |
FXSAVE_LEAK |
FXSAVE Leak FOP/FIP/FOP |
CLFLUSH_MONITOR |
AAI65 and CLFLUSH are required before MONITOR |
SYSRET_SS_ATTRS |
SYSRET does not repair SS attrs |
For reprinting, please send an email to 1244347461@qq.com for approval. After obtaining the author's consent, kindly include the source as a link.
Related Articles
How to decompress x.tar.xz format files under Linux
Publish Date:2025/04/08 Views:186 Category:OPERATING SYSTEM
-
A lot of software found today is in the tar.xz format, which is a lossless data compression file format that uses the LZMA compression algorithm. Like gzip and bzip2, it supports multiple file compression, but the convention is not to compr
Summary of vim common commands
Publish Date:2025/04/08 Views:115 Category:OPERATING SYSTEM
-
In Linux, the best editor should be vim. However, the complex commands behind vim's powerful functions also make us daunted. Of course, these commands do not need to be memorized by rote. As long as you practice using vim more, you can reme
Detailed explanation of command return value $? in Linux
Publish Date:2025/04/08 Views:58 Category:OPERATING SYSTEM
-
? is a special variable. This variable represents the return value of the previous command. That is to say, when we run certain commands, these commands will return a code after running. Generally, if the command is successfully run, the re
Common judgment formulas for Linux script shell
Publish Date:2025/04/08 Views:159 Category:OPERATING SYSTEM
-
In shell script programming, predicates are often used. There are two ways to use predicates, one is to use test, and the other is to use []. Let's take a look at how to use these two methods through two simple examples. Example 1 # test –
Shell script programming practice - specify a directory to delete files
Publish Date:2025/04/08 Views:98 Category:OPERATING SYSTEM
-
Usually, in Linux system we need to frequently delete some temporary files or junk files. If we delete them one by one manually, it will be quite troublesome. I have also been learning shell script programming recently, so I tried to write
Use of Linux command at - set time to execute command only once
Publish Date:2025/04/08 Views:158 Category:OPERATING SYSTEM
-
This article mainly involves a knowledge point, which is the atd service. Similar to this service is the crond service. The functions of these two services can be similar to the two functional functions of javascript. Those who have learned
Use of Linux command crontab - loop execution of set commands
Publish Date:2025/04/08 Views:170 Category:OPERATING SYSTEM
-
Compared with at , which executes a command only once, crontab, which we are going to talk about in this article, executes the set commands in a loop. Similarly, the use of crontab requires the support of the crond service. The service is s
Linux practice - regularly delete files under the directory
Publish Date:2025/04/08 Views:198 Category:OPERATING SYSTEM
-
Since we want to delete the files under the directory regularly, we need to use the Linux crontab command. And the content format of each work routine is also introduced in the format of each crontab work. Similarly, we need to use shell sc
How to use the Linux file remote copy command scp
Publish Date:2025/04/08 Views:151 Category:OPERATING SYSTEM
-
Scp copies files between two hosts over the network, and the data is encrypted during transmission. Its underlying layer uses ssh for data transmission. And it has the same authentication mechanism and the same security level as ssh. When u