Languages and Compilers for Parallel Computing

Volume 5234 of the series Lecture Notes in Computer Science pp 232-245

Automatic Communication Performance Debugging in PGAS Languages

  • Jimmy SuAffiliated withComputer Science Division, University of California at Berkeley
  • , Katherine YelickAffiliated withComputer Science Division, University of California at BerkeleyLawrence Berkeley National Laboratory

* Final gross prices may vary according to local VAT.

Get Access


Recent studies have shown that programming in a Partition Global Address Space (PGAS) language can be more productive than programming in a message passing model. One reason for this is the ability to access remote memory implicitly through shared memory reads and writes. But this benefit does not come without a cost. It is very difficult to spot communication by looking at the program text, since remote reads and writes look exactly the same as local reads and writes. This makes manual communication performance debugging an arduous task. In this paper, we describe a tool called ti-trend-prof that can do automatic performance debugging using only program traces from small processor configurations and small input sizes in Titanium [13], a PGAS language. ti-trend-prof presents trends to the programmer to help spot possible communication performance bugs even for processor configurations and input sizes that have not been run. We used ti-trend-prof on two of the largest Titanium applications and found bugs that would have taken days in under an hour.


PGAS languages automatic performance debugging