Concurrent non-deferred reference counting on the Microgrid: first experiences

  • Authors:
  • Stephan Herhut;Carl Joslin;Sven-Bodo Scholz;Raphael Poss;Clemens Grelck

  • Affiliations:
  • University of Hertfordshire, United Kingdom;University of Hertfordshire, United Kingdom;University of Hertfordshire, United Kingdom;University of Amsterdam, Netherlands;University of Amsterdam, Netherlands

  • Venue:
  • IFL'10 Proceedings of the 22nd international conference on Implementation and application of functional languages
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a first evaluation of our novel approach for nondeferred reference counting on the Microgrid many-core architecture. Non-deferred reference counting is a fundamental building block of implicit heap management of functional array languages in general and Single Assignment C in particular. Existing lock-free approaches for multi-core and SMP settings do not scale well for large numbers of cores in emerging many-core platforms. We, instead, employ a dedicated core for reference counting and use asynchronous messaging to emit reference counting operations. This novel approach decouples computational workload from reference-counting overhead. Experiments using cycle-accurate simulation of a realistic Microgrid show that, by exploiting asynchronism, we are able to tolerate even worst-case reference counting loads reasonably well. Scalability is essentially limited only by the combined sequential runtime of all reference counting operations, in accordance with Amdahl's law. Even though developed in the context of Single Assignment C and the Microgrid, our approach is applicable to a wide range of languages and platforms.