JIYIK CN >

Current Location:Home > Learning > OPERATING SYSTEM >

Read CPU flags from Cpuinfo

Author:JIYIK Last Updated:2025/04/05 Views:

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/cpuinfoThe file contains detailed information about the CPU in your computer. Use the following command to read the contents of the file.

cat /proc/cpuinfo

Processor information

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/cpuinfoThe 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 pdpe1gbGB 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_saveAMD SVM next_rip Save
TSCRATEMSR tsc_scaleAMD TSC scaling support
VMCBCLEAN vmcb_cleanAMD 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_mmatchAMD Errata 383
AMD_APIC_C1E apic_c1eAMD 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.

Article URL:

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 –

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

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Recommended

Tags

Scan the Code
Easier Access Tutorial