Optimization opportunities created by global data reordering

G. Haber, M. Klausner, V. Eisenberg, B. Mendelson, M. Gurevich

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

12 Scopus citations

Abstract

Memory access has proven to be one of the bottlenecks in modern architectures. Improving memory locality and eliminating the amount of memory access can help release this bottleneck. We present a method for link-time profile-based optimization by reordering the global data of the program and modifying its code accordingly. The proposed optimization reorders the entire global data of the program, according to a representative execution rate of each instruction (or basic block) in the code. The data reordering is done in a way that enables the replacement of frequently-executed Load instructions, which reference the global data, with fast Add Immediate instructions. In addition, it tries to improve the global data locality and to reduce the total size of the global data area. The optimization was implemented into FDPR (Feedback Directed Program Restructuring), a post-link optimizer, which is part of the IBM AIX operating system for the IBM pSeries servers. Our results on SPECint2000 show a significant improvement of up to 11% (average 3%) in execution time, along with up to 97.9% (average 83%) reduction in memory references to the global variables via the global data access mechanism of the program.

Original languageEnglish
Title of host publicationInternational Symposium on Code Generation and Optimization, CGO 2003
Pages228-237
Number of pages10
ISBN (Electronic)076951913X, 9780769519135
DOIs
StatePublished - 2003
Externally publishedYes
EventInternational Symposium on Code Generation and Optimization, CGO 2003 - San Francisco, United States
Duration: 23 Mar 200326 Mar 2003

Publication series

NameInternational Symposium on Code Generation and Optimization, CGO 2003

Conference

ConferenceInternational Symposium on Code Generation and Optimization, CGO 2003
Country/TerritoryUnited States
CitySan Francisco
Period23/03/0326/03/03

Keywords

  • Feedback
  • Frequency
  • Interference
  • Libraries
  • Optimization methods
  • Program processors
  • Reduced instruction set computing
  • Registers
  • Sun

ASJC Scopus subject areas

  • Hardware and Architecture
  • Signal Processing

Fingerprint

Dive into the research topics of 'Optimization opportunities created by global data reordering'. Together they form a unique fingerprint.

Cite this