Edge chasing delayed consistency: pushing the limits of weak memory models

  • Authors:
  • Harold W. Cain;Mikko H. Lipasti

  • Affiliations:
  • IBM T. J. Watson Research Center, Yorktown Heights, NY, USA;University of Wisconsin-Madison, Madison, WI, USA

  • Venue:
  • Proceedings of the 2012 ACM workshop on Relaxing synchronization for multicore and manycore scalability
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

In shared memory multiprocessors utilizing invalidation-based coherence protocols, cache misses caused by inter-processor communication are a dominant source of processor stall cycles for many applications. We explore a novel coherence protocol implementation called edge-chasing delayed consistency (ECDC) that mitigates some of the performance degradation caused by this class of misses. Edge-chasing delayed consistency allows a processor to non-speculatively continue reading a cache line after receiving an invalidation from another core, without changing the consistency model offered to programmers. While the idea of using stale data for as long as possible is enticing, our study shows that the benefits of such delay are small, and that the majority of these delayed invalidation benefits come from mitigating the false sharing problem, rather than any tolerance of races or an application's ability to consume stale data in a productive manner.