arrow
返回

Affine Parallelization Using Dependence and Cache Analysis in a Binary Rewriter

delete2015-08-01
delete4
PRE
AI
A
Aparna Kotha *
K
Kapil Anand
T
Timothy Creech
K
Khaled ElWazeer
M
Matthew Smithson
G
Greeshma Yellareddy
R
Rajeev Barua
DOI:10.1109/TPDS.2014.2349501delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Today, nearly all general-purpose computers are parallel, but nearly all software running on them is serial. Bridging this disconnect by manually rewriting source code in parallel is prohibitively expensive. Hence, automatic parallelization is an attractive alternative. We present a method to perform automatic parallelization in a binary rewriter. The input to the binary rewriter is the serial binary executable program and the output is a parallel binary executable. The advantages of parallelization in a binary rewriter versus a compiler include: (i) applicability to legacy binaries whose source is not available; (ii) applicability to library code that is often distributed only as binary; (iii) usability by end-user of the software; and (iv) applicability to assembly-language programs. Adapting existing parallelizing compiler methods that work on source code to binaries is a significant challenge. This is primarily because symbolic and array index information used by existing parallelizing compilers to take parallelizing decisions is not available from a binary. We show how to adapt existing parallelization methods to binaries without using symbolic and array index information to achieve equivalent source parallelization from binaries. Results using our x86 binary rewriter called SecondWrite are presented in detail for the dense-matrix and regular Polybench benchmark suite. For these, the average speedup from our method for binaries is 27.95X versus 28.22X from source on 24 threads, compared to the input serial binary. Super-linear speedups are possible due to cache optimizations. In addition our results show that our method is robust and has correctly parallelized much larger binaries from the SPEC 2006 and OMP 2001 benchmark suites, totaling over 2 million source lines of code (SLOC). Good speedups result on the subset of those benchmarks that have affine parallelism in them; this subset exceeds 100,000 SLOC. This robustness is unusual even for the latest leading source parallelizers, many of which are famously fragile.
Keyword:
Parallel programming
automatic programming
multithreading
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

err分享
err收藏
Evaluation of Thread Scalability and Compiler Optimization in Parallel Job Execution Using Unity’s Job System
err2026-01-01
err0
errOAAI
errPatrick Rodney De Souza Machado; Matheus Alcântara Souza; Henrique Cota De Freitas
err分享
err收藏
err分享
err收藏

期刊

IEEE Transactions on Parallel and Distributed Systems 封面图
IEEE Transactions on Parallel and Distributed Systems
IF:
6
论文数:
5.2K
被引数:
1.4W

机构

University System of Maryland 封面图
University System of Maryland
学者数:
6.5W
论文数: 5.6W
被引数: 8.2W
引用论文

引用论文

err分享
err收藏
err分享
err收藏
Bombyx mori silk protein films microprocessing with a nanosecond ultraviolet laser and a femtosecond laser workstation: theory and experiments
err2011-11-05
err0
PREAI
errS. Lazare; A. Sionkowska; M. Zaborowicz; A. Planecka; J. Lopez; M. Dijoux; C. Louména; M.-C. Hernandez
err分享
err收藏
err分享
err收藏
Tratamiento con estimulación del nervio vago en pacientes con epilepsia resistente a los fármacos: experiencia en el Hospital Universitario Son Espases
err2013-09-01
err0
PREAI
errPedro Roldán; Marta Brell; Cristobal Perla y Perla; Antonio Moreno; Inés Barceló; Ana Belén Martínez; Izabela Chmielewska; Javier Ibáñez
err分享
err收藏
学者 查看更多内容