skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: CilkSpec: Optimistic Concurrency for Cilk

Abstract

Recursive parallel programming models such as Cilk strive to simplify the task of parallel programming by enabling a simple divide-and-conquer model of programming. This model is effective in re- cursively partitioning work into smaller parts and combining their results. However, recursive work partitioning can impose additional constraints on concurrency than is implied by the true dependences in a program. In this paper, we present a speculation-based approach to alleviate the concurrency constraints imposed by such recursive parallel programs. We design a runtime infrastructure that supports speculative execution and a predictor to accurately learn and identify opportunities to relax extraneous concurrency constraints. Experimental evaluation demonstrates that speculative relaxation of concurrency constraints can deliver gains of up to 1.6× on 30 cores over baseline Cilk.

Authors:
; ;
Publication Date:
Research Org.:
Pacific Northwest National Lab. (PNNL), Richland, WA (United States)
Sponsoring Org.:
USDOE
OSTI Identifier:
1236312
Report Number(s):
PNNL-SA-111827
KJ0402000
DOE Contract Number:  
AC05-76RL01830
Resource Type:
Conference
Resource Relation:
Conference: Supercomputing (SC15): Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, November 15-20, 2015, Austin, Texas, Paper No. 83
Country of Publication:
United States
Language:
English
Subject:
fork-join; cilk; speculation; optimistic concurrency

Citation Formats

Aga, Shaizeen D., Krishnamoorthy, Sriram, and Narayanasamy, Satish. CilkSpec: Optimistic Concurrency for Cilk. United States: N. p., 2015. Web. doi:10.1145/2807591.2807597.
Aga, Shaizeen D., Krishnamoorthy, Sriram, & Narayanasamy, Satish. CilkSpec: Optimistic Concurrency for Cilk. United States. https://doi.org/10.1145/2807591.2807597
Aga, Shaizeen D., Krishnamoorthy, Sriram, and Narayanasamy, Satish. 2015. "CilkSpec: Optimistic Concurrency for Cilk". United States. https://doi.org/10.1145/2807591.2807597.
@article{osti_1236312,
title = {CilkSpec: Optimistic Concurrency for Cilk},
author = {Aga, Shaizeen D. and Krishnamoorthy, Sriram and Narayanasamy, Satish},
abstractNote = {Recursive parallel programming models such as Cilk strive to simplify the task of parallel programming by enabling a simple divide-and-conquer model of programming. This model is effective in re- cursively partitioning work into smaller parts and combining their results. However, recursive work partitioning can impose additional constraints on concurrency than is implied by the true dependences in a program. In this paper, we present a speculation-based approach to alleviate the concurrency constraints imposed by such recursive parallel programs. We design a runtime infrastructure that supports speculative execution and a predictor to accurately learn and identify opportunities to relax extraneous concurrency constraints. Experimental evaluation demonstrates that speculative relaxation of concurrency constraints can deliver gains of up to 1.6× on 30 cores over baseline Cilk.},
doi = {10.1145/2807591.2807597},
url = {https://www.osti.gov/biblio/1236312}, journal = {},
number = ,
volume = ,
place = {United States},
year = {Sun Nov 15 00:00:00 EST 2015},
month = {Sun Nov 15 00:00:00 EST 2015}
}

Conference:
Other availability
Please see Document Availability for additional information on obtaining the full-text document. Library patrons may search WorldCat to identify libraries that hold this conference proceeding.

Save / Share: