ePrints@IIScePrints@IISc Home | About | Browse | Latest Additions | Advanced Search | Contact | Help

Representing, Detecting, and Profiling Paths in Hardware

Vaswani, Kapil and Jacob, Matthew T and Srikant, YN (2004) Representing, Detecting, and Profiling Paths in Hardware. IISc-CSA-TR-2004-2.

[img]
Preview
PDF
IISc-CSA-TR-2004-2.pdf

Download (675kB)

Abstract

For aggressive path-based optimizations to be profitable in cost-senstive environments, accurate path profiles must be available at low overheads. In this paper, we propose a low-overhead, programmable hardware path profiling scheme that can be configured to (1) detect a variety of paths including acyclic, intraprocedural paths, extended paths and sub-paths for the Whole Program Path and (2) track one of the many architectural metrics along paths. The profiler consists of a \textit{path stack} that detects paths using branch information from the processor pipeline and a Hot Path Table that records the path profile during program execution. Our experiments using programs from the SPECCPU 2000 benchmark suite show that the path profiler occupying 7KB of hardware real-estate collects accurate path profiles at negligible overheads (0.6% on average). The availability of path information in hardware also opens up interesting possibilites for architectural optimizations. As an illustration of the potential benefits, we present an online phase detection scheme that detects changes in program behavior with an accuracy of 94%, substantially higher than all existing schemes.

Item Type: Departmental Technical Report
Keywords: path profiling;phase detection
Department/Centre: Division of Electrical Sciences > Computer Science & Automation
Date Deposited: 24 Oct 2004
Last Modified: 19 Sep 2010 04:16
URI: http://eprints.iisc.ac.in/id/eprint/2110

Actions (login required)

View Item View Item