Dynamo: A transparent dynamic optimization system

被引:220
作者
Bala, V [1 ]
Duesterwald, E [1 ]
Banerjia, S [1 ]
机构
[1] Hewlett Packard Labs, Cambridge, MA 02142 USA
关键词
D O I
10.1145/358438.349303
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We describe the design and implementation of Dynamo, a software dynamic optimization system that is capable of transparently improving the performance of a native instruction stream as it executes on the processor. The input native instruction stream to Dynamo can be dynamically generated (by a JIT for example), or it can come from the execution of a statically compiled native binary. This paper evaluates the Dynamo system in the latter, more challenging situation, in order to emphasize the limits, rather than the potential, of the system. Our experiments demonstrate that even statically optimized native binaries can be accelerated Dynamo, and often by a significant degree. For example, the average performance of -O optimized SpecInt95 benchmark binaries created by the HP product C compiler is improved to a level comparable to their -O4 optimized version running without Dynamo. Dynamo achieves this by focusing its efforts on optimization opportunities that tend to manifest only at runtime, and hence opportunities that might be difficult for a static compiler to exploit. Dynamo's operation is transparent in the sense that it does not depend on any user annotations or binary instrumentation, and does not require multiple runs, or any special compiler, operating system or hardware support. The Dynamo prototype presented here is a realistic implementation running on an HP PA-8000 workstation under the HPUX 10.20 operating system.
引用
收藏
页码:1 / 12
页数:12
相关论文
共 31 条
[1]  
[Anonymous], 1984, P ACM SIGPLAN SIGACT, DOI DOI 10.1145/800017.800542
[2]  
AUSLANDER J, 1996, P SIGNPLAN 96 C PROG
[3]  
BALA V, 1999, HPL199978
[4]  
BALA V, 1996, TRANSPARENT DYNAMIC
[5]  
BALL T, 1995, P 29 ANN INT S MICR, P46
[6]  
BEDICHEK R, 1995, P 1995 ACM SIGMETRIC
[7]   FX!32 - A profile-directed binary translator [J].
Chernoff, A ;
Herdeg, M ;
Hookway, R ;
Reeve, C ;
Rubin, N ;
Tye, T ;
Yadavalli, SB ;
Yates, J .
IEEE MICRO, 1998, 18 (02) :56-64
[8]  
CMELIK RF, 1993, UWCSE930606 DEP COMP
[9]  
CRAMER T, 1997, IEEE MICRO MAY
[10]  
ENGLER DR, 1996, P SIGNPLAN 96 C PROG