Interactive Physical Simulation on Multicore Architectures
Abstract
In this paper we propose a parallelization of interactive physical simulations. Our approach relies on a task parallelism where the code is instrumented to mark tasks and shared data between tasks, as well as parallel loops even if they have dynamic conditions. Prior to running a simulation step, we extract a task dependency graph that is partitioned to define the task distribution between processors. To limit the overhead of graph partitioning and favor memory locality, we intend to limit the partitioning changes from one iteration to the other. This approach has a low impact on physics algorithms as parallelism is mainly extracted from the coordination code. It makes it non parallel programmer friendly. Results show we can obtain good performance gains.
BibTeX
@inproceedings {10.2312:EGPGV:EGPGV09:001-008,
booktitle = {Eurographics Symposium on Parallel Graphics and Visualization},
editor = {Kurt Debattista and Daniel Weiskopf and Joao Comba},
title = {{Interactive Physical Simulation on Multicore Architectures}},
author = {Hermann, Everton and Raffin, Bruno and Faure, Francois},
year = {2009},
publisher = {The Eurographics Association},
ISSN = {1727-348X},
ISBN = {978-3-905674-15-6},
DOI = {10.2312/EGPGV/EGPGV09/001-008}
}
booktitle = {Eurographics Symposium on Parallel Graphics and Visualization},
editor = {Kurt Debattista and Daniel Weiskopf and Joao Comba},
title = {{Interactive Physical Simulation on Multicore Architectures}},
author = {Hermann, Everton and Raffin, Bruno and Faure, Francois},
year = {2009},
publisher = {The Eurographics Association},
ISSN = {1727-348X},
ISBN = {978-3-905674-15-6},
DOI = {10.2312/EGPGV/EGPGV09/001-008}
}