Link to the University of Pittsburgh Homepage
Link to the University Library System Homepage Link to the Contact Us Form

Model-driven Code Optimization

Zhao, Min (2006) Model-driven Code Optimization. Doctoral Dissertation, University of Pittsburgh. (Unpublished)

[img]
Preview
PDF
Primary Text

Download (833kB) | Preview

Abstract

Although code optimizations have been applied by compilers for over 40 years, much of the research has been devoted to the development of particular optimizations. Certain problems with the application of optimizations have yet to be addressed, including when, where and in what order to apply optimizations to get the most benefit. A number of occurring events demand these problems to be considered. For example, cost-sensitive embedded systems are widely used, where any performance improvement from applying optimizations can help reduce cost. Although several approaches have been proposed for handling some of these issues, there is no systematic way to address the problems.This dissertation presents a novel model-based framework for effectively applying optimizations. The goal of the framework is to determine optimization properties and use these properties to drive the application of optimizations. This dissertation describes three framework instances: FPSO for predicting the profitability of scalar optimizations; FPLO for predicting the profitability of loop optimizations; and FIO for determining the interaction property. Based on profitability and the interaction properties, compilers will selectively apply only beneficial optimizations and determine code-specific optimization sequences to get the most benefit. We implemented the framework instances and performed the experiments to demonstrate their effectiveness and efficiency. On average, FPSO and FPLO can accurately predict profitability 90% of the time. Compared with a heuristic approach for selectively applying optimizations, our model-driven approach can achieve similar or better performance improvement without tuning the parameters necessary in the heuristic approach. Compared with an empirical approach that experimentally chooses a good order to apply optimizations, our model-driven approach can find similarly good sequences with up to 43 times compile-time savings.This dissertation demonstrates that analytic models can be used to address the effective application of optimizations. Our model-driven approach is practical and scalable. With model-driven optimizations, compilers can produce higher quality code in less time than what is possible with current approaches.


Share

Citation/Export:
Social Networking:
Share |

Details

Item Type: University of Pittsburgh ETD
Status: Unpublished
Creators/Authors:
CreatorsEmailPitt UsernameORCID
Zhao, Minlilyzhao@cs.pitt.edu
ETD Committee:
TitleMemberEmail AddressPitt UsernameORCID
Committee ChairChilders, Bruce Rchilders@cs.pitt.eduCHILDERS
Committee CoChairSoffa, Mary Lousoffa@virginia.edu
Committee MemberLee, Peterpetel@cs.cmu.edu
Committee MemberZhang, Youtaozhangyt@cs.pitt.eduYOUTAO
Date: 6 October 2006
Date Type: Completion
Defense Date: 4 August 2006
Approval Date: 6 October 2006
Submission Date: 11 August 2006
Access Restriction: No restriction; Release the ETD for access worldwide immediately.
Institution: University of Pittsburgh
Schools and Programs: Dietrich School of Arts and Sciences > Computer Science
Degree: PhD - Doctor of Philosophy
Thesis Type: Doctoral Dissertation
Refereed: Yes
Uncontrolled Keywords: code optimization; interaction; model-driven; optimization property; profitability
Other ID: http://etd.library.pitt.edu/ETD/available/etd-08112006-011201/, etd-08112006-011201
Date Deposited: 10 Nov 2011 19:59
Last Modified: 15 Nov 2016 13:48
URI: http://d-scholarship.pitt.edu/id/eprint/9054

Metrics

Monthly Views for the past 3 years

Plum Analytics


Actions (login required)

View Item View Item