Aha....Ok, will try that one today. Thanks for the tip Will. Phil
>>>>[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 > > I have noticed similar effect on x86_64 running an UP kernel. I noticed > there is different code for pfm_ctxswin_thread() for SMP and UP kernels > in linux/perfmon_ctxsw.c. When trying things out on my old dual > processor smp running an SMP kernel the results look more consistent for > INST_RETIRED. Is SMP enabled in your kernel? Or is it a UP kernel? Do > you get better results with SMP kernel? > > -Will > _______________________________________________ perfmon mailing list [email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
