arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1309.0215cs.DC
收藏

在英特尔至强融核协处理器上优化MapReduce框架

Optimizing the MapReduce Framework on Intel Xeon Phi Coprocessor

Mian Lu, Lei Zhang, Huynh Phung Huynh, Zhongliang Ong, Yun Liang, Bingsheng He, Rick Siow Mong Goh, Richard Huynh

摘要:

MapReduce以其易于编程、灵活性和高效性成为构建大数据应用程序的最流行框架之一。MapReduce最初是为分布式计算而设计的,并且已经扩展到各种架构,例如多核CPU,GPU和FPGA。在这项工作中,我们专注于优化Xeon Phi上的MapReduce框架,Xeon Phi是英特尔基于多集成核心架构发布的最新产品。据我们所知,这是在Xeon Phi上优化MapReduce框架的第一项工作。在我们的工作中,我们利用Xeon Phi的高级功能来实现高性能。为了利用SIMD向量处理单元,我们提出了一个矢量化友好的技术,地图阶段,以协助自动矢量化,以及开发SIMD哈希计算算法。此外,我们利用MIMD超线程流水线的地图和减少,以提高资源利用率。我们还消除了多个本地数组,但使用低成本的原子操作的全局数组的一些应用程序,这可以提高线程的可扩展性和数据的局部性,由于一致的L2缓存。最后,对于一个给定的应用程序,我们的框架可以自动检测合适的技术应用或在编译时为用户提供指导。我们进行了全面的实验来对Xeon Phi进行基准测试,并将我们优化的MapReduce框架与最先进的基于多核的MapReduce框架(Phoenix++)进行比较。通过评估六个实际应用程序,实验结果表明,我们优化的框架是1.2倍到38倍的速度比凤凰++的各种应用程序上的至强融核。

英文摘要:

With the ease-of-programming, flexibility and yet efficiency, MapReduce has become one of the most popular frameworks for building big-data applications. MapReduce was originally designed for distributed-computing, and has been extended to various architectures, e,g, multi-core CPUs, GPUs and FPGAs. In this work, we focus on optimizing the MapReduce framework on Xeon Phi, which is the latest product released by Intel based on the Many Integrated Core Architecture. To the best of our knowledge, this is the first work to optimize the MapReduce framework on the Xeon Phi. In our work, we utilize advanced features of the Xeon Phi to achieve high performance. In order to take advantage of the SIMD vector processing units, we propose a vectorization friendly technique for the map phase to assist the auto-vectorization as well as develop SIMD hash computation algorithms. Furthermore, we utilize MIMD hyper-threading to pipeline the map and reduce to improve the resource utilization. We also eliminate multiple local arrays but use low cost atomic operations on the global array for some applications, which can improve the thread scalability and data locality due to the coherent L2 caches. Finally, for a given application, our framework can either automatically detect suitable techniques to apply or provide guideline for users at compilation time. We conduct comprehensive experiments to benchmark the Xeon Phi and compare our optimized MapReduce framework with a state-of-the-art multi-core based MapReduce framework (Phoenix++). By evaluating six real-world applications, the experimental results show that our optimized framework is 1.2X to 38X faster than Phoenix++ for various applications on the Xeon Phi.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑