lkml.org 
[lkml]   [2003]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Measuring CPU with Hyperthreading and Linux
Run top, then press 1 to get a 'per cpu' usage line, rather than the 
default combined thing.

Obviously you'll need a threaded app to take advantage of the
processors, and preferably a 2.5 kernel with Ingo's HT scheduler patch...

Andrew

Matthew A. Miling wrote:
> 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
>

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.032 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site