Wait-free shared-memory irradiance cache

  • Authors:
  • Piotr Dubla;Kurt Debattista;Luís Paulo Santos;Alan Chalmers

  • Affiliations:
  • The Digital Lab, WMG, University of Warwick, United Kingdom;The Digital Lab, WMG, University of Warwick, United Kingdom;Departamento de Informática, Universidade do Minho, Portugal;The Digital Lab, WMG, University of Warwick, United Kingdom

  • Venue:
  • EG PGV'09 Proceedings of the 9th Eurographics conference on Parallel Graphics and Visualization
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

The irradiance cache (IC) is an acceleration data structure which caches indirect diffuse irradiance values within the context of a ray tracing algorithm. In multi-threaded shared memory parallel systems the IC must be shared among rendering threads in order to achieve high efficiency levels. Since all threads read and write from it an access control mechanism is required, which ensures that the data structure is not corrupted. Besides assuring correct accesses to the IC this access mechanism must incur minimal overheads such that performance is not compromised. In this paper we propose a new wait-free access mechanism to the shared irradiance cache. Wait-free data structures, unlike traditional access control mechanisms, do not make use of any blocking or busy waiting, avoiding most serialisation and reducing contention. We compare this technique with two other classical approaches: a lock based mechanism and a local write technique, where each thread maintains its own cache of locally evaluated irradiance values. We demonstrate that the wait-free approach significantly reduces synchronisation overheads compared to the two other approaches and that it increases data sharing over the local copy technique. This is, to the extent of our knowledge, the first work explicitly addressing access to a shared IC; this problem is becoming more and more relevant with the advent of multicore systems and the ever increasing number of processors within these systems.