作者
Matteo Frigo, Charles E Leiserson, Keith H Randall
发表日期
1998/5/1
图书
Proceedings of the ACM SIGPLAN 1998 conference on Programming language design and implementation
页码范围
212-223
简介
The fifth release of the multithreaded language Cilk uses a provably good "work-stealing" scheduling algorithm similar to the first system, but the language has been completely redesigned and the runtime system completely reengineered. The efficiency of the new implementation was aided by a clear strategy that arose from a theoretical analysis of the scheduling algorithm: concentrate on minimizing overheads that contribute to the work, even at the expense of overheads that contribute to the critical path. Although it may seem counterintuitive to move overheads onto the critical path, this "work-first" principle has led to a portable Cilk-5 implementation in which the typical cost of spawning a parallel thread is only between 2 and 6 times the cost of a C function call on a variety of contemporary machines. Many Cilk programs run on one processor with virtually no degradation compared to equivalent C programs. This …
引用总数
199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024252236202127283533535511510811413313812512511810275945970473716
学术搜索中的文章
M Frigo, CE Leiserson, KH Randall - Proceedings of the ACM SIGPLAN 1998 conference on …, 1998