Hi Stephane/Robert , On Fri, May 9, 2008 at 6:31 AM, Robert Richter <[EMAIL PROTECTED]> wrote:
> On 08.05.08 22:45:08, stephane eranian wrote: > > As for self-monitoring with IBS, you are probably the first > > to try this. If you could send your program to the list, I am sure > > people will try it on their hardware. > > Please send also the values you program the registers with. > I am attaching the whole setup and example. This is not my main framework but the example is very closely modeled to match that. This is the reason that I am using openmp threading library support. Please extract the tar file in libpfm-3.4/examples/x86 directory. Replace the ../../config.mk with my config.mk file. The script striderun.sh iterates over a sampling interval from 40-200 cycles with an increment of 5 cycle each run. It takes number of runs (for one sampling interval ) as the input. So, i run it like this: ./striderun.sh 8 Basic purpose of this example is to see how many valid samples (those belonging to my code segment) are obtained for a DRAM access (all cache misses). Please let me know if you need more information. Most of the perfmon2 configuration has been taken from the existing examples of libpfm. Also, an important observation is that the occasional "process hang" is observed with threading support ( but the program needs to be run with only one openmp thread , export OMP_NUM_THREADS=1 ). A corresponding flag (OMP_PARALLEL) is put in config.mk file for the same. You can test with and without openmp support by disabling that flag. Stephane, I can't run with 2.6.25 kernel because I am using a remote login and I don't have any superuser privileges and/or permission to install a new kernel. So, I will have to do with this current configuration. > Thanks, > > -Robert > > > -- > Advanced Micro Devices, Inc. > Operating System Research Center > email: [EMAIL PROTECTED] > > -- Vivek Thakkar Graduate Student and Research Assistant CSC Department, NC State University
selfmon_amd.tar.bz2
Description: BZip2 compressed data
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ perfmon2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
