Cilk: An efficient multithreaded runtime system

RD Blumofe, CF Joerg, BC Kuszmaul… - ACM SigPlan …, 1995 - dl.acm.org
RD Blumofe, CF Joerg, BC Kuszmaul, CE Leiserson, KH Randall, Y Zhou
ACM SigPlan Notices, 1995dl.acm.org
Cilk (pronounced “silk”) is a C-based runtime system for multi-threaded parallel
programming. In this paper, we document the efficiency of the Cilk work-stealing scheduler,
both empirically and analytically. We show that on real and synthetic applications, the “work”
and “critical path” of a Cilk computation can be used to accurately model performance.
Consequently, a Cilk programmer can focus on reducing the work and critical path of his
computation, insulated from load balancing and other runtime scheduling issues. We also …
Cilk (pronounced “silk”) is a C-based runtime system for multi-threaded parallel programming. In this paper, we document the efficiency of the Cilk work-stealing scheduler, both empirically and analytically. We show that on real and synthetic applications, the “work” and “critical path” of a Cilk computation can be used to accurately model performance. Consequently, a Cilk programmer can focus on reducing the work and critical path of his computation, insulated from load balancing and other runtime scheduling issues. We also prove that for the class of “fully strict” (well-structured) programs, the Cilk scheduler achieves space, time and communication bounds all within a constant factor of optimal.
The Cilk runtime system currently runs on the Connection Machine CM5 MPP, the Intel Paragon MPP, the Silicon Graphics Power Challenge SMP, and the MIT Phish network of workstations. Applications written in Cilk include protein folding, graphic rendering, backtrack search, and the *Socrates chess program, which won third prize in the 1994 ACM International Computer Chess Championship.
ACM Digital Library