More Quick Ways To Find CPU Bottlenecks On Linux | Linux Today

More Quick Ways To Find CPU Bottlenecks On Linux

Written By
Web Webster
Web Webster
Nov 7, 2008

[ Thanks to Mike
Golvach
for this link. ]

“2. host # more /proc/cpuinfo

“General output will look something like below. Generally, on
most newer (and just slightly older) machines, you’ll be dealing
with CPU’s that list out in /proc/cpuinfo as more than they
“physically” are. That is to say that hyperthreading/multiple-core
CPU’s will not appear in this file as the single physical entity
that they are. Of course, your situation may vary, but this file
should (at the very least) give you a feel for whether you have a
bad CPU problem. In a situation where you have 4 physical CPU’s
(hyperthreading to simulate 8 CPU’s) you can get a good indication
of whether the problem your facing (we’ll just assume you’re facing
a problem 😉 is of a physical nature. If 2 virtual CPU’s are down
(in proper sequence), you probably need some new parts 🙂 The
“physical id” line value, when compared with the “processor” line
value, is usually a good indication of whether or not your system
is using hyperthreading or any other virtual enhancements. Odds
are, you’ll probably know this information before you ever have to
look at this file.”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.