GPU-based optimization of pilgrim simulation for hajj and umrah rituals

Tawaf ritual performed during Hajj and Umrah is one of the most unique, large-scale multi-cultural events in this modern day and age. Pilgrims from all over the world circumambulate around a stone cube structure called Ka'aba. Disasters at these types of events are inevitable due to erratic beh...

Full description

Saved in:
Bibliographic Details
Main Authors: Abdul Majid, Abdur Rahman Muhammad, Abdul Hamid, Nor Asilah Wati, Abdul Rahiman, Amir Rizaan, Zafar, Basim Jameel Ahmad
Format: Article
Language:English
Published: Universiti Putra Malaysia Press 2018
Online Access:http://psasir.upm.edu.my/id/eprint/66307/1/10%20JST-0855-2017-3rdProof.pdf
http://psasir.upm.edu.my/id/eprint/66307/
http://www.pertanika.upm.edu.my/Pertanika%20PAPERS/JST%20Vol.%2026%20(3)%20Jul.%202018/10%20JST-0855-2017-3rdProof.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Universiti Putra Malaysia
Language: English
id my.upm.eprints.66307
record_format eprints
spelling my.upm.eprints.663072019-02-12T07:04:20Z http://psasir.upm.edu.my/id/eprint/66307/ GPU-based optimization of pilgrim simulation for hajj and umrah rituals Abdul Majid, Abdur Rahman Muhammad Abdul Hamid, Nor Asilah Wati Abdul Rahiman, Amir Rizaan Zafar, Basim Jameel Ahmad Tawaf ritual performed during Hajj and Umrah is one of the most unique, large-scale multi-cultural events in this modern day and age. Pilgrims from all over the world circumambulate around a stone cube structure called Ka'aba. Disasters at these types of events are inevitable due to erratic behaviours of pilgrims. This has prompted researchers to present several solutions to avoid such incidents. Agent-based simulations of a large number of pilgrims performing different the ritual can provide the solution to obviate such disasters that are either caused by mismanagement or because of irregular event plans. However, the problem arises due to limited parallelisation capabilities in existing models for concurrent execution of the agent-based simulation. This limitation decreases the efficiency by producing insufficient frames for simulating a large number of autonomous agents during Tawaf ritual. Therefore, it has become very necessary to provide a parallel simulation model that will improve the performance of pilgrims performing the crucial ritual of Tawaf in large numbers. To fill in this gap between large-scale agent-based simulation and navigational behaviours for pilgrim movement, an optimised parallel simulation software of agent-based crowd movement during the ritual of Tawaf is proposed here. The software comprises parallel behaviours for autonomous agents that utilise the inherent parallelism of Graphics Processing Units (GPU). In order to implement the simulation software, an optimized parallel model is proposed. This model is based on the agent-based architecture which comprises agents having a reactive design that responds to a fixed set of stimuli. An advantage of using agents is to provide artificial anomaly to generate heterogeneous movement of the crowd as opposed to a singular movement which is unrealistic. The purpose is to decrease the execution time of complex behaviour computation for each agent while simulating a large crowd of pilgrims at increased frames per second (fps). The implementation utilises CUDA (Compute Unified Device Architecture) platform for general purpose computing over GPU. It exploits the underlying data parallel capability of an existing library for steering behaviours, called OpenSteer. It has simpler behaviours that when combined together, produces more complex realistic behaviours. The data-independent nature of these agent-based behaviours makes it a very suitable candidate to be parallelised. After an in-depth review of previous studies on the simulation of Tawaf ritual, two key behaviours associated with pilgrim movement are considered for the new model. The parallel simulation is executed on three different high-performance configurations to determine the variation in different performance metrics. The parallel implementation achieved a considerable speedup in comparison to its sequential counterpart running on a single-threaded CPU. With the use of parallel behaviours, 100,000 pilgrims at 10 fps were simulated. Universiti Putra Malaysia Press 2018 Article PeerReviewed text en http://psasir.upm.edu.my/id/eprint/66307/1/10%20JST-0855-2017-3rdProof.pdf Abdul Majid, Abdur Rahman Muhammad and Abdul Hamid, Nor Asilah Wati and Abdul Rahiman, Amir Rizaan and Zafar, Basim Jameel Ahmad (2018) GPU-based optimization of pilgrim simulation for hajj and umrah rituals. Pertanika Journal of Science & Technology, 26 (3). pp. 1019-1038. ISSN 0128-7680; ESSN: 2231-8526 http://www.pertanika.upm.edu.my/Pertanika%20PAPERS/JST%20Vol.%2026%20(3)%20Jul.%202018/10%20JST-0855-2017-3rdProof.pdf
institution Universiti Putra Malaysia
building UPM Library
collection Institutional Repository
continent Asia
country Malaysia
content_provider Universiti Putra Malaysia
content_source UPM Institutional Repository
url_provider http://psasir.upm.edu.my/
language English
description Tawaf ritual performed during Hajj and Umrah is one of the most unique, large-scale multi-cultural events in this modern day and age. Pilgrims from all over the world circumambulate around a stone cube structure called Ka'aba. Disasters at these types of events are inevitable due to erratic behaviours of pilgrims. This has prompted researchers to present several solutions to avoid such incidents. Agent-based simulations of a large number of pilgrims performing different the ritual can provide the solution to obviate such disasters that are either caused by mismanagement or because of irregular event plans. However, the problem arises due to limited parallelisation capabilities in existing models for concurrent execution of the agent-based simulation. This limitation decreases the efficiency by producing insufficient frames for simulating a large number of autonomous agents during Tawaf ritual. Therefore, it has become very necessary to provide a parallel simulation model that will improve the performance of pilgrims performing the crucial ritual of Tawaf in large numbers. To fill in this gap between large-scale agent-based simulation and navigational behaviours for pilgrim movement, an optimised parallel simulation software of agent-based crowd movement during the ritual of Tawaf is proposed here. The software comprises parallel behaviours for autonomous agents that utilise the inherent parallelism of Graphics Processing Units (GPU). In order to implement the simulation software, an optimized parallel model is proposed. This model is based on the agent-based architecture which comprises agents having a reactive design that responds to a fixed set of stimuli. An advantage of using agents is to provide artificial anomaly to generate heterogeneous movement of the crowd as opposed to a singular movement which is unrealistic. The purpose is to decrease the execution time of complex behaviour computation for each agent while simulating a large crowd of pilgrims at increased frames per second (fps). The implementation utilises CUDA (Compute Unified Device Architecture) platform for general purpose computing over GPU. It exploits the underlying data parallel capability of an existing library for steering behaviours, called OpenSteer. It has simpler behaviours that when combined together, produces more complex realistic behaviours. The data-independent nature of these agent-based behaviours makes it a very suitable candidate to be parallelised. After an in-depth review of previous studies on the simulation of Tawaf ritual, two key behaviours associated with pilgrim movement are considered for the new model. The parallel simulation is executed on three different high-performance configurations to determine the variation in different performance metrics. The parallel implementation achieved a considerable speedup in comparison to its sequential counterpart running on a single-threaded CPU. With the use of parallel behaviours, 100,000 pilgrims at 10 fps were simulated.
format Article
author Abdul Majid, Abdur Rahman Muhammad
Abdul Hamid, Nor Asilah Wati
Abdul Rahiman, Amir Rizaan
Zafar, Basim Jameel Ahmad
spellingShingle Abdul Majid, Abdur Rahman Muhammad
Abdul Hamid, Nor Asilah Wati
Abdul Rahiman, Amir Rizaan
Zafar, Basim Jameel Ahmad
GPU-based optimization of pilgrim simulation for hajj and umrah rituals
author_facet Abdul Majid, Abdur Rahman Muhammad
Abdul Hamid, Nor Asilah Wati
Abdul Rahiman, Amir Rizaan
Zafar, Basim Jameel Ahmad
author_sort Abdul Majid, Abdur Rahman Muhammad
title GPU-based optimization of pilgrim simulation for hajj and umrah rituals
title_short GPU-based optimization of pilgrim simulation for hajj and umrah rituals
title_full GPU-based optimization of pilgrim simulation for hajj and umrah rituals
title_fullStr GPU-based optimization of pilgrim simulation for hajj and umrah rituals
title_full_unstemmed GPU-based optimization of pilgrim simulation for hajj and umrah rituals
title_sort gpu-based optimization of pilgrim simulation for hajj and umrah rituals
publisher Universiti Putra Malaysia Press
publishDate 2018
url http://psasir.upm.edu.my/id/eprint/66307/1/10%20JST-0855-2017-3rdProof.pdf
http://psasir.upm.edu.my/id/eprint/66307/
http://www.pertanika.upm.edu.my/Pertanika%20PAPERS/JST%20Vol.%2026%20(3)%20Jul.%202018/10%20JST-0855-2017-3rdProof.pdf
_version_ 1643838567674281984