Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. Computer Science and Artificial Intelligence Lab (CSAIL)
  3. CSAIL Digital Archive
  4. CSAIL Technical Reports (July 1, 2003 - present)
  5. Ubiquitous Memory Introspection (Preliminary Manuscript)

Ubiquitous Memory Introspection (Preliminary Manuscript)

Thumbnail Image
Download
Name

MIT-CSAIL-TR-2006-067.pdf

Size

272.16 KB

Format

Adobe PDF

Checksum (MD5)

340be91ce1a77b70ba438ca71dfa068b

Thumbnail Image
Download
Name

MIT-CSAIL-TR-2006-067.ps

Size

1.3 MB

Format

PostScript

Checksum (MD5)

ee49630d9961ac5eb1a213dee98380a6

Author(s)
Zhao, Qin
•
Rabbah, Rodric
•
Amarasinghe, Saman
•
Rudolph, Larry
•
Wong, Weng-Fai
Advisor(s)
Saman Amarasinghe
Date Issued
September 25, 2006
Series/Report no.
Massachusetts Institute of Technology Computer Science and Artificial Intelligence Laboratory
Abstract
Modern memory systems play a critical role in the performance ofapplications, but a detailed understanding of the application behaviorin the memory system is not trivial to attain. It requires timeconsuming simulations of the memory hierarchy using long traces, andoften using detailed modeling. It is increasingly possible to accesshardware performance counters to measure events in the memory system,but the measurements remain coarse grained, better suited forperformance summaries than providing instruction level feedback. Theavailability of a low cost, online, and accurate methodology forderiving fine-grained memory behavior profiles can prove extremelyuseful for runtime analysis and optimization of programs.This paper presents a new methodology for Ubiquitous MemoryIntrospection (UMI). It is an online and lightweight mini-simulationmethodology that focuses on simulating short memory access tracesrecorded from frequently executed code regions. The simulations arefast and can provide profiling results at varying granularities, downto that of a single instruction or address. UMI naturally complementsruntime optimizations techniques and enables new opportunities formemory specific optimizations.In this paper, we present a prototype implementation of a runtimesystem implementing UMI. The prototype is readily deployed oncommodity processors, requires no user intervention, and can operatewith stripped binaries and legacy software. The prototype operateswith an average runtime overhead of 20% but this slowdown is only 6%slower than a state of the art binary instrumentation tool. We used32 benchmarks, including the full suite of SPEC2000 benchmarks, forour evaluation. We show that the mini-simulation results accuratelyreflect the cache performance of two existing memory systems, anIntel Pentium~4 and an AMD Athlon MP (K7) processor. We alsodemonstrate that low level profiling information from the onlinesimulation can serve to identify high-miss rate load instructions with a77% rate of accuracy compared to full offline simulations thatrequired days to complete. The online profiling results are used atruntime to implement a simple software prefetching strategy thatachieves a speedup greater than 60% in the best case.
Subjects
Performance Monitoring
Online Simulation
Runtime Optimization
Cache Modelling
Memory Hierarchy
Persistent DSpace Link
http://hdl.handle.net/1721.1/34013
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.