Phil,

On Wed, Jul 26, 2006 at 11:25:50AM +0200, Philip Mucci wrote:
> Hi again,
> 
> Ok, using the slightly modified self program to do create/load +
> 2*(start/read/stop) and recompiling the kernel without
> preemption, looks like there's still something funky going on. The
> numbers are way off.
> 
You need to disregard CPU_CLK_UNHALTED because there can be variation.
You need to use an event that is easily repeatable, such as INST_RETIRED
and not influenced by what else is going on in the machine. You should
see little or no fluctuations on INST_RETIRED. This is apparently not
the case. Send me the modified program. Also could you try on a non
laptop machine?

> [EMAIL PROTECTED] examples]$ ./self & ./self & ./self & ./self & 
> PMD1             90000108 INST_RETIRED
> PMD1             90000108 INST_RETIRED
> PMD1             85660765 INST_RETIRED
> PMD1             82390617 INST_RETIRED
> PMD1             88116977 INST_RETIRED
> PMD1             97467698 INST_RETIRED
> PMD1             87337114 INST_RETIRED
> PMD1            125815768 INST_RETIRED

-- 
-Stephane
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to