partune - tune parallel performance
partune command-line
The partune program gathers runtime feedback statistics to tune the parallel performance of a program parallelized with SUIF, where command-line is the command line to run the parallel program. The parallel program needs to have been linked with lib_runtime_*_all_stats.a, which can be generated from the sources in the runtime package. This version of the runtime library gathers timing information and prints it to standard output. The partune program runs command-line first with the environment variable PL_NUM_THREADS set to 1, then increments PL_NUM_THREADS and re-runs command-line, iterating until it has run with PL_NUM_THREADS at the value of PL_MAXPROC. It takes the best number of processors to use for each task procedure and writes that to standard error in a form that can be included as partune.data by feedback.c from the runtime library package, or read in by the parfeedback pass.
Note that since partune parses the data from standard error of the test program, the test program is not allowed to write anything else to standard output or this pass will fail.
parfeedback pgen
This program was written by Chris Wilson.