developerWorks: Smashing Performance with OProfile | Linux Today

developerWorks: Smashing Performance with OProfile

Written By
Web Webster
Web Webster
Oct 20, 2003

“Profiling is a formal summary or analysis of data, often in the
form of a graph or table, representing distinctive performance
features or characteristics. The profiling table provides the
percentage and number of samples collected for specified processor
events such as the number of cache line misses, Transition
Lookaside Buffer (TLB) misses, and so on.

“OProfile is one of several profiling and performance monitoring
tools for Linux. It works on various architectures, including the
IA32, IA64, and AMD Athlon families, has a low overhead, and will
be included in the 2.6 version of the kernel.

“OProfile can help you identify issues such as loop unrolling,
poor cache utilization, inefficient type conversion and redundant
operations, branch mispredictions, and so on. It collects
information about processor events including TLB misses, stalls,
memory references, total lines allocated in the DCU (Data Cache
Unit), the number of cycles of a DCU miss, and the number of
non-cacheable and cacheable instruction fetches. OProfile is
fine-grained and can collect samples for a set of instructions, or
for function, system call, or interrupt handlers. OProfile works by
sampling, and using the collected profile data, you can easily
identify performance problems…”


Complete Story

Related Story:
Linus
Torvalds: Linux 2.6.0-test6
(Sep 28, 2003)

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.