英特尔至强融核上240线程锦标赛级别MCTS Go程序的性能分析
Performance analysis of a 240 thread tournament level MCTS Go program on the Intel Xeon Phi
摘要:
2013年,英特尔推出了Xeon Phi,一种新的并行协处理器板。Xeon Phi是一种高速缓存一致的众核共享内存架构,具有CPU般的多功能性、可编程性、高性能和能效。第一批发布的微基准研究表明,英特尔的许多说法似乎是正确的。本文是首次对复杂人工智能应用的Phi进行研究。它包含一个开源的MCTS应用程序,用于玩锦标赛质量的围棋(一种东方棋盘游戏)。我们报告的第一个加速数字高达240个并行线程在一个真实的机器上,允许直接比较以前的模拟研究。经过大量的工作,我们观察到性能扩展到32个线程,这在很大程度上证实了这个Go程序之前的模拟结果,尽管性能在32到240个线程之间令人惊讶地恶化。此外,我们报告了(1)对于小问题大小和少量线程,Xeon Phi和Xeon CPU之间的意外性能异常,以及(2)性能对调度选择敏感。在Xeon Phi上实现复杂程序的良好性能并不简单;它需要深入了解(1)搜索模式,(2)调度,以及(3)架构及其许多核心和缓存。在实践中,Xeon Phi的编程并不像英特尔最初设想的那样简单。
英文摘要:
In 2013 Intel introduced the Xeon Phi, a new parallel co-processor board. The Xeon Phi is a cache-coherent many-core shared memory architecture claiming CPU-like versatility, programmability, high performance, and power efficiency. The first published micro-benchmark studies indicate that many of Intel's claims appear to be true. The current paper is the first study on the Phi of a complex artificial intelligence application. It contains an open source MCTS application for playing tournament quality Go (an oriental board game). We report the first speedup figures for up to 240 parallel threads on a real machine, allowing a direct comparison to previous simulation studies. After a substantial amount of work, we observed that performance scales well up to 32 threads, largely confirming previous simulation results of this Go program, although the performance surprisingly deteriorates between 32 and 240 threads. Furthermore, we report (1) unexpected performance anomalies between the Xeon Phi and Xeon CPU for small problem sizes and small numbers of threads, and (2) that performance is sensitive to scheduling choices. Achieving good performance on the Xeon Phi for complex programs is not straightforward; it requires a deep understanding of (1) search patterns, (2) of scheduling, and (3) of the architecture and its many cores and caches. In practice, the Xeon Phi is less straightforward to program for than originally envisioned by Intel.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。