• Home
  • Search
  • Generational cache management of code traces in dynamic optimization systems
  • Cite Icon32
  • https://doi.org/10.1109/micro.2003.1253193Copy DOI Icon

Generational cache management of code traces in dynamic optimization systems

  • May 25, 2004
  • K Hazelwood +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

A dynamic optimizer is a runtime software system that groups a program's instruction sequences into traces, optimizes those traces, stores the optimized traces in a software-based code cache, and then executes the optimized code in the code cache. To maximize performance, the vast majority of the program's execution should occur in the code cache and not in the different aspects of the dynamic optimization system. In the past, designers of dynamic optimizers have used the SPEC2000 benchmark suite to justify their use of simple code cache management schemes. In this paper, we show that the problem and importance of code cache management changes dramatically as we move from SPEC2000, with its relatively small number of dynamically generated code traces, to large interactive Windows applications. We also propose and evaluate a new cache management algorithm based on generational code caches that results in an average miss rate reduction of 18% over a unified cache, which translates into 19% fewer instructions spent in the dynamic optimizer. The algorithm categorizes code traces based on their expected lifetimes and group traces with similar lifetimes together in separate storage areas. Using this algorithm, short-lived code traces can easily be removed from a code cache without introducing fragmentation and without suffering the performance penalties associated with evicting long-lived code traces.

Similar Papers
  • Conference Article
  • Citations46

Code cache management schemes for dynamic optimizers

  • Feb 03, 2002
  • K Hazelwood +1
  • Book Chapter
  • Citations2

A Novel Chaining Approach to Indirect Control Transfer Instructions

  • Jan 01, 2011
  • Wei Chen +3
  • Research Article
  • Citations2

Improving dynamic binary optimization through early-exit guided code region formation

  • Mar 16, 2013
  • ACM SIGPLAN Notices
  • Chun-Chen Hsu +6
  • Conference Article
  • Citations12

Improving dynamic binary optimization through early-exit guided code region formation

  • Mar 16, 2013
  • Chun-Chen Hsu +6
  • Conference Article
  • Citations70

An event-driven multithreaded dynamic optimization framework

  • Jan 01, 2005
  • Weifeng Zhang +2
  • Conference Article
  • Citations2

A dynamic optimization method for a smart grid

  • Jul 01, 2010
  • Ganesh Kumar Venayagamoorthy
  • PDF
  • Research Article
  • Citations4

Dynamic optimization of tracked vehicle power train based on torsional vibration analysis

  • May 01, 2016
  • Advances in Mechanical Engineering
  • Shengping Fu +3
  • Research Article

An input centric paradigm for program dynamic optimizations and lifetime evolvement

  • Oct 17, 2018
  • Xipeng Shen +1
  • Conference Article
  • Citations17

Dynamic Travel Path Optimization System Using Ant Colony Optimization

  • Mar 01, 2014
  • Jerry Kponyo +2
  • Conference Article
  • Citations4

SMARQ: Software-Managed Alias Register Queue for Dynamic Optimizations

  • Dec 01, 2012
  • Cheng Wang +3
  • Research Article
  • Citations136

Dynamic Optimization of Nonlinear Processes with an Enhanced Scatter Search Method

  • Apr 03, 2009
  • Industrial & Engineering Chemistry Research
  • Jose A Egea +3
  • Research Article
  • Citations30

Scenario‐integrated modeling and optimization of dynamic systems

  • Apr 01, 2000
  • AIChE Journal
  • O Abel +1
  • Research Article
  • Citations20

A Kriging-Based Uncertainty Quantification for Fracture Assessment

  • Sep 27, 2024
  • International Journal of Computational Methods
  • Tran C H Nguyen +2
  • Conference Article
  • Citations10

Dynamic run-time architecture techniques for enabling continuous optimization

  • May 04, 2005
  • Tipp Moseley +9
  • Book Chapter
  • Citations40

The ParaPhrase Project: Parallel Patterns for Adaptive Heterogeneous Multicore Systems

  • Jan 01, 2013
  • Kevin Hammond +9
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.