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.
Performance of Kepler GTX Titan GPUs and Xeon Phi System
NVIDIA的新架构Kepler通过新的流式多处理器SMX显著提高了GPU的性能。除了性能,NVIDIA还推出了许多新技术,如直接并行,hyper-Q和GPU Direct with RDMA。除了其他常见的GPU,英伟达还发布了另一个开普勒'GeForce' GPU命名为GTX泰坦。GeForce GTX Titan不仅适用于游戏,还适用于CUDA的高性能计算。尽管如此,它还是比Kepler Tesla GPU便宜得多。同时,Intel推出了新的多集成核(MIC)系统Xeon Phi。理论上,Xeon Phi协处理器可以提供与NVIDIA Kepler GPU相似的性能,但实际上,它的性能明显不如GTX Titan。