Besar, On Wed, Mar 16, 2011 at 8:56 AM, Besar Wicaksono <bes...@cs.uh.edu> wrote: > Hello, > I am experimenting with IBS on AMD Shanghai processor. > Currently my code is based on the IBS example in libpfm3.9. I only capture > the load operation, and play with the sampling period. > When using small sampling period, the number of captured data is larger, but > the distribution is not very good. The captured data is concentrated on a > particular place in the code. > I am assuming that the code in the example is using cycle mode. > As far as I know AMD Shanghai supports IBS op with dispatch mode, which I > assume is better than cycle mode.2.766 > I am wondering if anybody knows how to select dispatch mode using libpfm3 > and whether it would give better result.
Yes, Shanghai does support sampling on uops instead of cycles. libpfm3 supports sampling on uops: pfmlib_amd64_input_param_t.ibsop.options = IBS_OPTIONS_UOPS. I suggest you pull libpfm3 from CVS and pull the perfmon kernel from GIT to ensure you pick the latest changes. I don't recall exactly when I enabled uops mode for IBSOP. > Regards, > Besar > HPCTools Lab > University of Houston > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > perfmon2-devel mailing list > perfmon2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel > > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel