DocumentCode :
2453388
Title :
Revisiting the Sequential Programming Model for Multi-Core
Author :
Bridges, Matthew J. ; Vachharajani, Neil ; Zhang, Yun ; Jablin, Thomas ; August, David I.
Author_Institution :
Princeton Univ., Princeton
fYear :
2007
fDate :
1-5 Dec. 2007
Firstpage :
69
Lastpage :
84
Abstract :
Single-threaded programming is already considered a complicated task. The move to multi-threaded programming only increases the complexity and cost involved in software development due to rewriting legacy code, training of the programmer, increased debugging of the program, and efforts to avoid race conditions, deadlocks, and other problems associated with parallel programming. To address these costs, other approaches, such as automatic thread extraction, have been explored. Unfortunately, the amount of parallelism that has been automatically extracted is generally insufficient to keep many cores busy. This paper argues that this lack of parallelism is not an intrinsic limitation of the sequential programming model, but rather occurs for two reasons. First, there exists no framework for automatic thread extraction that brings together key existing state-of-the-art compiler and hardware techniques. This paper shows that such a framework can yield scalable parallelization on several SPEC CINT2000 benchmarks. Second, existing sequential programming languages force programmers to define a single legal program outcome, rather than allowing for a range of legal outcomes. This paper shows that natural extensions to the sequential programming model enable parallelization for the remainder of the SPEC CINT2000 suite. Our experience demonstrates that, by changing only 60 source code lines, all of the C benchmarks in the SPEC CINT2000 suite were parallelizable by automatic thread extraction. This process, constrained by the limits of modern optimizing compilers, yielded a speedup of 454% on these applications.
Keywords :
feature extraction; multi-threading; program debugging; programming languages; software engineering; SPEC CINT2000 suite; automatic thread extraction; multicore model; parallel programming; program debugging; programmer training; programming languages; sequential programming model; single-threaded programming; software development; Computer languages; Costs; Debugging; Hardware; Law; Legal factors; Parallel programming; Programming profession; System recovery; Yarn;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Microarchitecture, 2007. MICRO 2007. 40th Annual IEEE/ACM International Symposium on
Conference_Location :
Chicago, IL
ISSN :
1072-4451
Print_ISBN :
978-0-7695-3047-5
Electronic_ISBN :
1072-4451
Type :
conf
DOI :
10.1109/MICRO.2007.20
Filename :
4408246
Link To Document :
بازگشت