Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.56 KB

File metadata and controls

51 lines (38 loc) · 1.56 KB

Profile Guided Instrumentation Selection

This tool is part of the PIRA toolchain. It is used as analysis engine and constructs instrumentation selections guided by both static and dynamic information from a target application.

Using PGIS

The PGIS tool offers a variety of modes to operate. A list of all modes and options can be found with pgis_pira --help. Currently, the user needs to provide any parameter-file, as required by the performance model guided instrumentation or the load imbalance detection. Examples of such files can be found in the heuristics respective integration test directory.

  1. Construct overview instrumentation configurations for Score-P from a MetaCG file.
$> pgis_pira --metacg-format 2 --static mcg-file
  1. Construct hot-spot instrumentation using raw runtime values.
$> pgis_pira --metacg-format 2 --cube cube-file mcg-file
  1. Construct performance model guided instrumentation configurations for Score-P using Extra-P. The Extra-P configuration lists where to find the experiment series. Its content follows what is expected by Extra-P.
{
 "dir": "./002",
 "prefix": "t",
 "postfix": "postfix",
 "reps": 5,
 "iter": 1,
 "params" : {
  "X": ["3", "5", "7", "9", "11"]
 }
}
$> pgis_pira --metacg-format 2 --parameter-file <parameter-file> --extrap extrap-file mcg-file
  1. Evaluate and construct load-imbalance instrumentation configuration.
$> pgis_pira --metacg-format 2 --parameter-file <parameter-file> --lide --cube cube-file mcg-file