Quantifying the Semantic Gap between Serial and Parallel Programming

Xiaochun Zhang*, Timothy M. Jones, Simone Campanoni

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Automatic parallelizing compilers are often constrained in their transformations because they must conservatively respect data dependences within the program. Developers, on the other hand, often take advantage of domain-specific knowledge to apply transformations that modify data dependences but respect the application's semantics. This creates a semantic gap between the parallelism extracted automatically by compilers and manually by developers. Although prior work has proposed programming language extensions to close this semantic gap, their relative contribution is unclear and it is uncertain whether compilers can actually achieve the same performance as manually parallelized code when using them. We quantify this semantic gap in a set of sequential and parallel programs and leverage these existing programming-language extensions to empirically measure the impact of closing it for an automatic parallelizing compiler. This lets us achieve an average speedup of 12.6× on an Intel-based 28-core machine, matching the speedup obtained by the manually parallelized code. Further, we apply these extensions to widely used sequential system tools, obtaining 7.1× speedup on the same system.

Original languageEnglish (US)
Title of host publicationProceedings - 2021 IEEE International Symposium on Workload Characterization, IISWC 2021
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages151-162
Number of pages12
ISBN (Electronic)9781665441735
DOIs
StatePublished - 2021
Event17th IEEE International Symposium on Workload Characterization, IISWC 2021 - Virtual, Online, United States
Duration: Nov 7 2021Nov 9 2021

Publication series

NameProceedings - 2021 IEEE International Symposium on Workload Characterization, IISWC 2021

Conference

Conference17th IEEE International Symposium on Workload Characterization, IISWC 2021
Country/TerritoryUnited States
CityVirtual, Online
Period11/7/2111/9/21

ASJC Scopus subject areas

  • Computer Networks and Communications
  • Hardware and Architecture
  • Information Systems and Management
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'Quantifying the Semantic Gap between Serial and Parallel Programming'. Together they form a unique fingerprint.

Cite this