首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Towards scalable and transparent parallelization of multiplayer games using transactional memory support
【24h】

Towards scalable and transparent parallelization of multiplayer games using transactional memory support

机译:使用事务性内存支持实现多人游戏的可扩展性和透明并行化

获取原文
获取原文并翻译 | 示例
           

摘要

This work addresses the problem of parallelizing multiplayer games using software Transactional Memory (STM) support. Using a realistic high impact application, we show that STM provides not only ease of programming, but also better performance than that achievable with state-of-the-art lock-based programming. Towards this goal, we use SynQuake, a game benchmark which extracts the main data structures and the essential features of the popular multiplayer game Quake, but can be driven with a synthetic workload generator that flexibly emulates client game actions and various hot-spot scenarios in the game world. We implement, evaluate and compare the STM version of Syn-Quake with a state-of-the-art lock-based parallelization of Quake, which we ported to SynQuake. While in STM-SynQuake support for maintaining the consistency of each potentially complex game action is automatic, conservative locking of surrounding objects within a bounding box for the duration of the game action is inherently needed in lock-based SynQuake. This leads to a higher scalability factor of STM-SynQuake versus lock-based SynQuake, due to a higher degree of false sharing in the latter.
机译:这项工作解决了使用软件事务存储(STM)支持并行化多人游戏的问题。通过使用一个现实的,具有高影响力的应用程序,我们证明了STM不仅提供了易于编程的功能,而且还提供了比基于最新锁的编程更高的性能。为了达到这个目标,我们使用了SynQuake,这是一个游戏基准测试,可以提取流行的多人游戏Quake的主要数据结构和基本功能,但可以由合成工作负载生成器驱动,该生成器可以灵活地模拟客户端游戏动作和各种热点场景。游戏世界。我们实现,评估和比较STM版本的Syn-Quake与基于锁的Quake的最新并行化,并将其移植到SynQuake。尽管在STM-SynQuake中自动支持保持每个可能复杂的游戏动作的一致性,但在基于锁的SynQuake中,本质上需要在游戏动作持续时间内将周围对象保守地锁定在边界框中。与基于锁的SynQuake相比,这导致STM-SynQuake的可伸缩性因子更高,这是因为后者的错误共享程度更高。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号