arrow
返回

Automatically partitioning threads for multithreaded architectures

delete1999-08-01
delete8
PRE
AI
X
Xinan Tang
G
Guang R. Gao
DOI:10.1006/jpdc.1999.1551delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
There is an enormous amount of parallelism exposed to fine-grain multithreaded architectures to cover latencies. It is a demanding task for a multi-threading programmer to manage such a degree of parallelism by hand. To use multithreaded architectures efficiently it is essential to have compiler support for automatically partitioning: programs into threads. This paper solves a fundamental problem in compiling for multithreaded architectures, automatically partitioning a program into threads. The focus of such partitioning is to overlap the remote communication latency and minimize the total execution time. We first formulate the partitioning problem based on a multithreaded execution cost model. Then, we prove such a formulation is NP-hard. Therefore, we propose two heuristic thread-partitioning methods to solve this problem in practice. The advanced partitioning algorithm is a novel extension of list scheduling, and it takes advantage of the cost model to generate near-optimum partitioning results. The remote-path-based partitioning algorithm is a simplified version of the advanced one but it is easy for compiler implementation. The two partitioning algorithms were implemented respectively in a thread partitioning testbed and a research EARTH-C compiler. The experimental results show that both partitioning algorithms are effective to generate efficient threaded code, and code generated by the compiler is comparable to hand-written code. (C) 1999 Academic Press.
Keyword:
thread partitioning
thread scheduling
multithreaded compilers
multithreaded architectures
parallelizing compilers

期刊

Journal of Parallel and Distributed Computing 封面图
Journal of Parallel and Distributed Computing
IF:
4
论文数:
3.8K
被引数:
4.8K

机构

暂无机构信息
引用论文

引用论文

Direct Aqueous Mineral Carbonation of Waste Slate Using Ammonium Salt Solutions
err2015-12-18
err0
errOAAI
errHwanju Jo; Ho Jo; Sunwon Rha; Pyeong-Koo Lee
err分享
err收藏
Risk Effects on Optimal Nitrogen Rates for Corn Rotations in Tennessee
err2015-05-01
err0
PREAI
errChristopher N. Boyer; Roland K. Roberts; James A. Larson; M. Angela McClure; Donald D. Tyler
err分享
err收藏
err分享
err收藏
err分享
err收藏
Comparison of Platforms for Testing Antibody Responses against the Chlamydia trachomatis Antigen Pgp3
err2017-12-06
err0
errOAAI
errSarah Gwyn; Gretchen Cooley; Brook Goodhew; Stephan Kohlhoff; Natalie Banniettis; Ryan Wiegand; Diana L. Martin
err分享
err收藏
学者 查看更多内容