A proposal for a new hardware cache monitoring architecture

Martin Schulz, Jie Tao, Jürgen Jeitner, Wolfgang Karl

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

7 Scopus citations

Abstract

The analysis of the memory access behavior of applications, an essential step for a successful cache optimization, is a complex task. It needs to be supported with appropriate tools and monitoring facilities. Currently, however, users can only rely on either simulation based approaches, which deliver a large degree of detail but are restricted in their applicability, or on hardware counters embedded into processors, which allow to keep track of very few, mostly global events and hence only provide limited data. In this work a proposal for novel hardware monitoring facility is presented which exhibits both the details of traditional simulations and the low-overhead of hardware counters. Like the latter approach, it is also targeted towards an implementation within the processor for a direct and nonintrusive access to caches and memory busses. Unlike traditional counters, however, it delivers a detailed picture of the complete memory access behavior of applications. This is achieved by generating so-called memory access histograms, which show access frequencies in relation to the applications address space. Such spatial memory access information can then be used for efficient program optimization by focusing on the code and data segments which were found to exhibit a poor cache behavior.

Original languageEnglish
Title of host publicationProceedings of the 2002 Workshop on Memory System Performance, MSP 2002
PublisherAssociation for Computing Machinery, Inc
Pages76-85
Number of pages10
ISBN (Electronic)1581134789, 9781581134780
DOIs
StatePublished - 16 Jun 2002
Event2002 Workshop on Memory System Performance, MSP 2002 - Berlin, Germany
Duration: 16 Jun 2002 → …

Publication series

NameProceedings of the 2002 Workshop on Memory System Performance, MSP 2002

Conference

Conference2002 Workshop on Memory System Performance, MSP 2002
Country/TerritoryGermany
CityBerlin
Period16/06/02 → …

Fingerprint

Dive into the research topics of 'A proposal for a new hardware cache monitoring architecture'. Together they form a unique fingerprint.

Cite this