28607 articles – 22094 references  [version française]

inria-00502448, version 1

Multi-GPU and Multi-CPU Parallelization for Interactive Physics Simulations

Everton Hermann b12, Bruno Raffin 2, François Faure () a13, Thierry Gautier () b2, Jérémie Allard () 4

Europar 2010 (2010)

Abstract: Today, it is possible to associate multiple CPUs and multiple GPUs in a single shared memory architecture. Using these resources efficiently in a seamless way is a challenging issue. In this paper, we propose a parallelization scheme for dynamically balancing work load between multiple CPUs and GPUs. Most tasks have a CPU and GPU implementation, so they can be executed on any processing unit. We rely on a two level scheduling associating a traditional task graph partitioning and a work stealing guided by processor affinity and heterogeneity. These criteria are intended to limit inefficient task migrations between GPUs, the cost of memory transfers being high, and to favor mapping small tasks on CPUs and large ones on GPUs to take advantage of heterogeneity. This scheme has been implemented to support the SOFA physics simulation engine. Experiments show that we can reach speedups of 22 with 4 GPUs and 29 with 4 CPU cores and 4 GPUs. CPUs unload GPUs from small tasks making these GPUs more efficient, leading to a "cooperative speedup" greater than the sum of the speedups separatly obtained on 4 GPUs and 4 CPUs.

  • Icone de europar10.png
  • a –  Université Joseph Fourier - Grenoble I
  • b –  INRIA
  • 1:  EVASION (INRIA Grenoble Rhône-Alpes / LJK Laboratoire Jean Kuntzmann)
  • CNRS : UMR5224 – INRIA – Laboratoire Jean Kuntzmann – Institut National Polytechnique de Grenoble (INPG) – Université Joseph Fourier - Grenoble I – Université Pierre-Mendès-France - Grenoble II
  • 2:  MOAIS (INRIA Grenoble Rhône-Alpes / LIG Laboratoire d'Informatique de Grenoble)
  • INRIA – Université Joseph Fourier - Grenoble I – Institut polytechnique de Grenoble (Grenoble INP) – Université Pierre-Mendès-France - Grenoble II – CNRS : UMR5217
  • 3:  Laboratoire Jean Kuntzmann (LJK)
  • CNRS : UMR5224 – Université Joseph Fourier - Grenoble I – Université Pierre-Mendès-France - Grenoble II – Institut Polytechnique de Grenoble - Grenoble Institute of Technology
  • 4:  ALCOVE (INRIA Lille - Nord Europe)
  • INRIA – CNRS : UMR8022 – Université Lille I - Sciences et technologies – IRCICA
  • Domain : Computer Science/Computer Graphics and Virtual Reality
    Computer Science/Distributed, Parallel, and Cluster Computing
    Computer Science/Modeling and Simulation
 
  • inria-00502448, version 1
  • oai:hal.inria.fr:inria-00502448
  • From: 
  • Submitted on: Thursday, 15 July 2010 01:07:30
  • Updated on: Monday, 17 September 2012 15:40:17