Computer Science · Computer Networks and Communications
Perspectives on Parallel Programming
See on the mapAbstract
Writing a parallel program involves breaking down the program into tasks that can be correctly executed independently from one another, and these tasks need to communicate and cooperate in order to produce the same output as the original sequential program. This chapter discusses the author’s perspectives on parallel programming models, describing the limits of parallel program performance. The discussion points out to the significant challenges for producing scalable performance on a large number of processor cores, which includes the fraction of execution that cannot be parallelized, load imbalance, and various overheads from managing parallel execution, such as communication and synchronization. The chapter also discusses several popular parallel programming models that are widely used, important differences between them, and the relationship between the programming models and the architecture of the system. The choice of programming model has important implications on communication and synchronization overheads, hence it is a critical factor in parallel program performance.