Cilk: An efficient multithreaded runtime system

被引:276
作者
Blumofe, RD [1 ]
Joerg, CF [1 ]
Kuszmaul, BC [1 ]
Leiserson, CE [1 ]
Randall, KH [1 ]
Zhou, YL [1 ]
机构
[1] MIT, COMP SCI LAB, CAMBRIDGE, MA 02139 USA
关键词
D O I
10.1006/jpdc.1996.0107
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Cilk (pronounced ''silk'') is a C-based runtime system for multithreaded 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 length'' of a Cilk computation can be used to model performance accurately. Consequently, a Cilk programmer can focus on reducing the computation's work and critical-path length, 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 Sun Sparcstation SMP, and the Cilk-NOW network of workstations. Applications written in Cilk include protein folding, graphic rendering, backtrack search, and the star Socrates chess program, which won second prize in the 1995 ICCA World Computer Chess Championship. (C) 1996 Academic Press, Inc.
引用
收藏
页码:55 / 69
页数:15
相关论文
共 44 条
[41]  
Sunderam V. S., 1990, Concurrency: Practice and Experience, V2, P315, DOI 10.1002/cpe.4330020404
[42]  
Tanenbaum A. S., 1993, Proceedings the 2nd International Symposium on High Performance Distributed Computing (Cat. No.93TH0550-4), P5, DOI 10.1109/HPDC.1993.263863
[43]   WORKCREWS - AN ABSTRACTION FOR CONTROLLING PARALLELISM [J].
VANDEVOORDE, MT ;
ROBERTS, ES .
INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 1988, 17 (04) :347-366
[44]  
WU IC, 1991, PROCEEDINGS - 32ND ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, P151, DOI 10.1109/SFCS.1991.185364