Adaptive and speculative memory consistency support for multi-core architectures with on-chip local memories

  • Authors:
  • Nikola Vujic;Lluc Alvarez;Marc Gonzalez Tallada;Xavier Martorell;Eduard Ayguadé

  • Affiliations:
  • Barcelona Supercomputing Center – Centro Nacional de Supercomputación;Barcelona Supercomputing Center – Centro Nacional de Supercomputación;Technical University of Catalonia;,Barcelona Supercomputing Center – Centro Nacional de Supercomputación;,Barcelona Supercomputing Center – Centro Nacional de Supercomputación

  • Venue:
  • LCPC'09 Proceedings of the 22nd international conference on Languages and Compilers for Parallel Computing
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Software cache has been showed as a robust approach in multi-core systems with no hardware support for transparent data transfers between local and global memories. Software cache provides the user with a transparent view of the memory architecture and considerably improves the programmability of such systems. But this software approach can suffer from poor performance due to considerable overheads related to software mechanisms to maintain the memory consistency. This paper presents a set of alternatives to smooth their impact. A specific write-back mechanism is introduced based on some degree of speculation regarding the number of threads actually modifying the same cache lines. A case study based on the Cell BE processor is described. Performance evaluation indicates that improvements due to the optimized software-cache structures combined with the proposed code-optimizations translate into 20% up to 40% speedup factors, compared to a traditional software cache approach.