Re: performance counters on core-duo
- From: "Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx>
- Date: Fri, 3 Aug 2007 17:29:57 +0300
Yes, the result of 50% may mean 100% of the first processor and 0% of the
second , but OTOH it may be 50% of first and second simultaneously
Arkady
Henry Markov" <hm@xxxxxxxxxxx> wrote in message
news:OOqRlFU1HHA.1168@xxxxxxxxxxxxxxxxxxxxxxx
I'm retrieving the counters from the registry similar to:
http://msdn2.microsoft.com/en-us/library/aa373178.aspx
I know this can be complicated involving scaling the values etc. but when
first developed all results were verified against the Performance tool in
Administrative Tools. The results for the core-duo CPU seem exactly right
if the assumption that the per-process values are relative to only one
core is correct.
HM
"Skywing [MVP]" <skywing_NO_SPAM_@xxxxxxxxxxxxxxxxxxx> wrote in message
news:%23JQa8PT1HHA.3536@xxxxxxxxxxxxxxxxxxxxxxx
What APIs are you using? Are you talking about the processor performance
counters (e.g. rdtsc) or OS APIs?
--
Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net
"Henry Markov" <hm@xxxxxxxxxxx> wrote in message
news:eD1vOqR1HHA.1188@xxxxxxxxxxxxxxxxxxxxxxx
I programmatically get CPU and some per-process performance counters for
my application that I have migrated from a single to dual core machine.
For the entire system my CPU utilization dropped about in half on the
core-duo which is in line with expectations. However for two processes
that account for most of the system CPU utilization, each process
utilization is about the same as on the old machine and the sum of the
two exceeds the system utilization.
I make sense out of this by assuming that the system utilization is
reported against the capacity of both cores but per process utilization
is reported only against the host core. Is this the right way to
interpret what I see?
HM
.
- References:
- performance counters on core-duo
- From: Henry Markov
- Re: performance counters on core-duo
- From: Skywing [MVP]
- Re: performance counters on core-duo
- From: Henry Markov
- performance counters on core-duo
- Prev by Date: Re: .exe stops while logoff
- Next by Date: Re: handling 0C0000005h exception in kernel mode
- Previous by thread: Re: performance counters on core-duo
- Next by thread: Re: INetCfgComponentSetup::Install causing loss of network connectivit
- Index(es):
Relevant Pages
|