SHARE
Facebook X Pinterest WhatsApp

Linux.com: Hardware Performance Monitoring For The Masses

Written By
thumbnail
Web Webster
Web Webster
Jun 17, 2000

Do you or does anyone you know suffer from bloated, slow
code? When you are sleeping, do you dream of the day when you’ll be
able to get your hands on one of those logic analyzers so that some
real performance benchmarking can be done on your programs? Well,
cheer up, because if you own a Pentium Pro or better, you’ve got
performance monitoring hardware just waiting to be fired
up.

“I was working on a project for my school (UAH) a while back and
I had the need to do performance monitoring on some software that I
was writing. While logic analyzers and the such may be more readily
available to some, I was not as fortunate. I had to find a hardware
solution for my problem. After talking with some folks at school, I
found out something that I did not know. Intel has been putting
performance monitoring registers on their processors since the good
Pentium Pro.”

“There are two 40-bit performance monitoring registers, meaning
that only two specific things can be monitored at once. The list of
things that can be monitored with these registers would be too long
to list in this article, but to give you a couple examples: data
memory references, and the number of instructions retired, are
among the many varied things that can be counted. To make use of
these performance monitoring registers in Linux, some people over
at UTK have written the Performance API (PAPI).”

Complete
Story

thumbnail
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.

Recommended for you...

Red Hat reveals major enhancements to Red Hat Enterprise Linux AI
sjvn
Oct 22, 2024
How to Find AWS EC2 Instance Type Over SSH (6 Methods)
Benny Lanco
Sep 23, 2024
Crond: Daemon to Execute Scheduled Commands
Rose Hosting Blog
Sep 20, 2024
A Detailed Introduction to Oracle VirtualBox
Senthil Kumar
Sep 19, 2024
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. © 2025 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.