next up previous
Next: Parallel Programming Up: GpHLab Previous: Executing GpH on a

Profiling and Tuning a Parallel Program

  1. To view the trace of your program using threadscope, use a window on your home machine (not lxpara3)

     /u1/pg/pt114/.cabal/bin/threadscope parfib.eventlog
    

  2. Now measure the execution time of the program on 1, 2, 4 and 7 cores, e.g.
    ./parfib 40 +RTS -N1 -sstderr -ls
    

  3. What do you conclude from your results?



Phil Trinder 2013-02-08