Measuring CPU with Hyperthreading and Linux

Matthew A. Miling (mamiling@mailbox.syr.edu)
Wed, 30 Apr 2003 12:51:28 -0400


Hello

Please personally CC my email address to any responses:
mamiling@syr.edu

I am currently running a dual Pentium 4 Xeon 2.4 GHz system containing Red Hat
Linux 6.2 with the 2.4.20 kernel. The Pentium 4 Xeons report 4 cpu's to
/proc/cpuinfo because they are hyperthreaded.

My problem lies in trying to measure the CPU usage with such programs as top
or gtop. Typically, I see CPU loads in excess of 100% when I run top with
some of my signal processing applications, but not more than 200%. Is this
value out of 100%, 200%, or 400%? How does this dual, HT system kernel report
this info to the OS?

Any help would be appreciated. Thanks

Matt

-------------------------------------------

Matthew A. Miling
Graduate Student - Computer Engineering
Syracuse University

phone: (315) 456-1215
cell: (315) 380-9307
e-mail: mamiling@syr.edu
matt@miling.com

-------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/