Title : 
A Case Study of Hybrid Dataflow and Shared-Memory Programming Models: Dependency-Based Parallel Game Engine
         
        
            Author : 
Gajinov, Vladimir ; Eric, Igor ; Stojanovic, Saa ; Milutinovic ; Unsal, Ozan ; Ayguade, Eduard ; Cristal, Adrian
         
        
            Author_Institution : 
Univ. Politec. de Catalunya, Barcelona, Spain
         
        
        
        
        
        
            Abstract : 
Recently proposed hybrid dataflow and shared memory programming models combine these two underlying models in order to support a wider range of problems naturally. The effectiveness of such hybrid models for parallel implementations of dense and sparse algebra problems is well known. In this paper, we show another real world example for which hybrid dataflow models provide better support than traditional shared memory models. Specifically, we compare these models using the game engine parallelization as a case study. We show that hybrid dataflow models decrease the complexity of the parallel game engine implementation by eliminating or restructuring the explicit synchronization that is necessary in shared memory implementations. The corresponding implementations also exhibit good scala-bility and better speedup than the shared memory parallel implementations, especially in the case of a highly congested game world that contains a large number of game objects. Ultimately, on an eight core machine we were able to obtain 4.72x speedup compared to the sequential baseline, and to improve 49% over the lock-based parallel implementation based on work-sharing.
         
        
            Keywords : 
computer games; parallel programming; shared memory systems; synchronisation; dependency-based parallel game engine; explicit synchronization; game engine parallelization; hybrid dataflow programming model; shared-memory programming model; Complexity theory; Data models; Engines; Games; Programming; Synchronization; Weapons; dataflow; game engine; shared memory;
         
        
        
        
            Conference_Titel : 
Computer Architecture and High Performance Computing (SBAC-PAD), 2014 IEEE 26th International Symposium on
         
        
            Conference_Location : 
Jussieu
         
        
        
        
            DOI : 
10.1109/SBAC-PAD.2014.21