Skip to Main Content
UPC: DISTRIBUTED SHARED MEMORY PROGRAMMING
book

UPC: DISTRIBUTED SHARED MEMORY PROGRAMMING

by Tarek El-Ghazawi, William Carlson, Thomas Sterling, Katherine Yelick
July 2003
Intermediate to advanced content levelIntermediate to advanced
260 pages
5h 57m
English
Wiley-Interscience
Content preview from UPC: DISTRIBUTED SHARED MEMORY PROGRAMMING

CHAPTER 7

Performance Tuning and Optimization

The UPC language has been designed specifically to allow programmers to get the best performance from a wide range of parallel computer architectures. Many features of the UPC language and toolset will aid in this task. But to obtain the best performance, it is essential to have in mind some basic knowledge about the characteristics, system architecture, and performance of parallel computers. The chapter begins with a brief primer on parallel machines and general performance issues in parallel programming. For a deeper insight into many of these issues, there are many texts on the subjects referred to in this chapter. After this general introductory overview of parallel system architecture, three critical factors in achieving performance with UPC are discussed:

  1. The UPC compiler, which analyzes the UPC application program and applies a variety of techniques to it to produce good executable code
  2. The UPC run-time system, which both enables running programs and observes their dynamic behavior in order to undertake actions to improve performance at run time
  3. Hand optimizations that are performed by programmers to enhance application performance

With this arsenal of language constructs and software tools, the programmer has the means to craft parallel programs and make them perform well. The UPC programming model exhibits significant control flexibility to permit some important optimizations. Some specific techniques for achieving these ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Stack Frames: A Look From Inside

Stack Frames: A Look From Inside

Giuseppe Di Cataldo
Scalable Shared-Memory Multiprocessing

Scalable Shared-Memory Multiprocessing

Daniel E. Lenoski, Wolf-Dietrich Weber

Publisher Resources

ISBN: 9780471220480Purchase book