A Read-Copy Update based parallel server for distributed crowd simulations

  • Authors:
  • Guillermo Vigueras;Juan M. Orduña;Miguel Lozano

  • Affiliations:
  • Departamento de Informática, Universidad de Valencia, Valencia, Spain;Departamento de Informática, Universidad de Valencia, Valencia, Spain and Avda. Universidad, Burjassot (Valencia), Spain s/n. 46100;Departamento de Informática, Universidad de Valencia, Valencia, Spain and Avda. Universidad, Burjassot (Valencia), Spain s/n. 46100

  • Venue:
  • The Journal of Supercomputing
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

The Read-Copy Update (RCU) synchronization method was designed to cope with multiprocessor scalability some years ago, and it was included in the Linux kernel October of 2002. Recently, libraries providing user-space access to this method have been released, although they still have not been used in complex applications.In this paper, we propose the evaluation of the RCU synchronization method for two different cases of use in a distributed system architecture for crowd simulations. We have compared the RCU implementation with a parallel implementation based on Mutex, a traditional locking synchronization method for solving race conditions among threads in parallel applications. The performance evaluation results show that the use of RCU significantly decreases the system response time and increases the system throughput, supporting a higher number of agents while providing the same latency levels. The reason for this behavior is that the RCU method allows read accesses in parallel with write accesses to dynamic data structures, avoiding the sequential access that a Mutex represents for these data structures. In this way, it can better exploit the existing number of processor cores. These results show the potential of this synchronization method for improving parallel and distributed applications.