Analysis of Cache Invalidation Patterns in Multiprocessors

Abstract

To make shared-memory multiprocessors scalable, researchers are now exploring cache coherence protocols that do not rely on broadcast, but instead send invalidation messages to individual caches that contain stale data. The feasibility of such directory-based protocols is highly sensitive to the cache invalidation patterns that parallel programs exhibit. In this paper, we analyze the cache invalidation patterns caused by several parallel applications and investigate the effect of these patterns on a directory-based protocol. Our results are based on multiprocessor traces with 4, 8 and 16 processors. To get insight into what the invalidation patterns would look like beyond 16 processors, we propose a classification scheme for data objects found in parallel applications and link the invalidation traffic patterns observed in the traces back to these high-level objects. Our results show that synchronization objects have very different invalidation patterns from those of other data objects. A write reference to a synchronization object usually causes invalidations in many more caches. We point out situations where restructuring the application seems appropriate to reduce the invalidation traffic, and others where hardware support is more appropriate. Our results also show that it should be possible to scale 'well-written' parallel programs to a large number of processors without an explosion in invalidation traffic.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Jan 01, 1989
Accession Number
ADA207820

Entities

People

  • Anoop Gupta
  • Wolf-dietrich Weber

Organizations

  • Stanford University

Tags

Communities of Interest

  • Materials and Manufacturing Processes

DTIC Thesaurus Topics

  • Algorithms
  • Annealing
  • Application Software
  • Case Studies
  • Classification
  • Computer Architecture
  • Computer Programming
  • Computers
  • Language
  • Machines
  • Multiprocessors
  • Operating Systems
  • Operations Research
  • Programming Languages
  • Simulations
  • Simulators
  • Three Dimensional

Fields of Study

  • Computer science

Readers

  • Parallel and Distributed Computing.