Today, game engines play a significant role in the modern gaming world, with possible multithreading techniques being pivotal in optimizing gaming performance and overcoming performance bottlenecks. This paper discusses a worthwhile approach to increasing game engine performance by leveraging effective multithreading principles, along with the issues that need to be considered in the design of a multithreaded game engine and aims to contribute to the continuing evolution of game development. Through an ideal integration of data and task parallelisms in a well-balanced engine, developers can fully benefit from the capabilities of multicore processors, resulting in smoother and more responsive gaming experiences. The results obtained from employing both data and task parallelism jointly in the same architecture showed a remarkable performance increase of about 2.3 times faster than the single-threaded model. The paper also addresses common multithreading challenges, such as synchronization issues and load balancing, together with their solutions, emphasizing the effectiveness of the proposed model. Keywords: Multithreaded Game Engine, Multithreading, Game Engine Performance, Multithreading Principles, Data Parallelism, Task Parallelism, Task scheduler.
Read full abstract