* RE: Reconciling PowerPC simulator traces with performance monitor results
@ 2007-03-20 18:35 Wealand, Barry
0 siblings, 0 replies; 5+ messages in thread
From: Wealand, Barry @ 2007-03-20 18:35 UTC (permalink / raw)
To: gdb
Some additional information: The application was run on the PowerPC
750FX with all interrupts disabled, and all memory mapping was performed
via BATs. To the best of my knowledge, no exceptions should have been
generated (none were generated when running the application in the
PowerPC simulator).
Barry Wealand
-----Original Message-----
From: Wealand, Barry
Sent: Tuesday, March 20, 2007 10:51 AM
To: 'gdb@sourceware.org'
Subject: Reconciling PowerPC simulator traces with performance monitor
results
Hello -
I'm using the PowerPC simulator in GDB to collect instruction (-t
semantics) and load-store (-t load-store) traces for a pretty-good-sized
program (several hundred million trace lines). I then apply various
filters to the traces to collect measurements of interest. All of this
seems to work very well.
Then I run the exact same code on a PowerPC 750FX processor, which I set
up to collect performance monitor statistics. For example, I can
collect "completed load and store instructions", and "number of
instructions completed from the FPU". What puzzles me is that the
results that I collect from the simulator for these two counts in
particular are 10 to 15 percent lower than the results reported by the
performance monitor.
I'm guessing that this discrepancy might have something to do with the
details of how the performance monitor works, but the descriptions above
are typical of the level of detail provided in the 750 FX manual. I
wonder if anyone else has grappled with this, or might have any
suggestions.
Thanks!
Barry Wealand
Lockheed Martin Space Systems Company
^ permalink raw reply [flat|nested] 5+ messages in thread
* Reconciling PowerPC simulator traces with performance monitor results
@ 2007-03-20 17:52 Wealand, Barry
2007-03-20 19:34 ` Mark Kettenis
0 siblings, 1 reply; 5+ messages in thread
From: Wealand, Barry @ 2007-03-20 17:52 UTC (permalink / raw)
To: gdb
Hello -
I'm using the PowerPC simulator in GDB to collect instruction (-t
semantics) and load-store (-t load-store) traces for a pretty-good-sized
program (several hundred million trace lines). I then apply various
filters to the traces to collect measurements of interest. All of this
seems to work very well.
Then I run the exact same code on a PowerPC 750FX processor, which I set
up to collect performance monitor statistics. For example, I can
collect "completed load and store instructions", and "number of
instructions completed from the FPU". What puzzles me is that the
results that I collect from the simulator for these two counts in
particular are 10 to 15 percent lower than the results reported by the
performance monitor.
I'm guessing that this discrepancy might have something to do with the
details of how the performance monitor works, but the descriptions above
are typical of the level of detail provided in the 750 FX manual. I
wonder if anyone else has grappled with this, or might have any
suggestions.
Thanks!
Barry Wealand
Lockheed Martin Space Systems Company
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Reconciling PowerPC simulator traces with performance monitor results
2007-03-20 17:52 Wealand, Barry
@ 2007-03-20 19:34 ` Mark Kettenis
2007-03-20 19:49 ` Paul Koning
2007-03-20 19:55 ` Stan Shebs
0 siblings, 2 replies; 5+ messages in thread
From: Mark Kettenis @ 2007-03-20 19:34 UTC (permalink / raw)
To: barry.wealand; +Cc: gdb
Sorry, Barry, but I can't help you here since Lockheed Martin still
makes cluster bombs. And I hope other people on this list won't help
you either.
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Reconciling PowerPC simulator traces with performance monitor results
2007-03-20 19:34 ` Mark Kettenis
@ 2007-03-20 19:49 ` Paul Koning
2007-03-20 19:55 ` Stan Shebs
1 sibling, 0 replies; 5+ messages in thread
From: Paul Koning @ 2007-03-20 19:49 UTC (permalink / raw)
To: gdb; +Cc: barry.wealand
>>>>> "Mark" == Mark Kettenis <mark.kettenis@xs4all.nl> writes:
Mark> Sorry, Barry, but I can't help you here since Lockheed Martin
Mark> still makes cluster bombs. And I hope other people on this
Mark> list won't help you either.
Oh, so is it GNU project policy that GNU tools are supported only for
politically correct applications?
I don't think so.
paul
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Reconciling PowerPC simulator traces with performance monitor results
2007-03-20 19:34 ` Mark Kettenis
2007-03-20 19:49 ` Paul Koning
@ 2007-03-20 19:55 ` Stan Shebs
1 sibling, 0 replies; 5+ messages in thread
From: Stan Shebs @ 2007-03-20 19:55 UTC (permalink / raw)
To: Mark Kettenis; +Cc: barry.wealand, gdb
Mark Kettenis wrote:
> Sorry, Barry, but I can't help you here since Lockheed Martin still
> makes cluster bombs. And I hope other people on this list won't help
> you either.
>
I appreciate the sentiment, but let's not go there - this is all
complicated enough without having to evaluate the politics of every
request. If you work at it, you can find a reason to attack anybody for
things for which they are not personally responsible.
Stan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-03-20 19:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-20 18:35 Reconciling PowerPC simulator traces with performance monitor results Wealand, Barry
-- strict thread matches above, loose matches on Subject: below --
2007-03-20 17:52 Wealand, Barry
2007-03-20 19:34 ` Mark Kettenis
2007-03-20 19:49 ` Paul Koning
2007-03-20 19:55 ` Stan Shebs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox