arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1708.05746cs.DC
收藏

Sparkle:为大型内存机器和分析优化Spark

Sparkle: Optimizing Spark for Large Memory Machines and Analytics

Mijung Kim, Jun Li, Haris Volos, Manish Marwah, Alexander Ulanov, Kimberly Keeton, Joseph Tucek, Lucy Cherkasova, Le Xu, Pradeep Fernando

摘要:

Spark是一个内存分析平台,面向当今的商用服务器环境。它依赖Hadoop分布式文件系统(HDFS)来持久化中间检查点状态和最终处理结果。在Spark中,不可变数据用于存储每次迭代中的数据更新,这使得它对于长时间运行的迭代工作负载效率低下。非确定性垃圾收集器进一步解决了这个问题。Sparkle是一个优化Spark内存使用的库。它利用大的共享内存来实现更好的数据洗牌和中间存储。Sparkle用共享内存方法取代了当前基于TCP/IP的shuffle,并提出了一种高效更新的堆外内存存储。我们进行了一系列的实验上的横向扩展集群和纵向扩展的机器。优化的shuffle引擎利用共享内存,提供相对于Vanilla Spark快1.3倍至6倍的性能。堆外内存存储以及共享内存洗牌引擎在使用大规模真实超链接图的概率图处理工作负载上提供了超过20倍的性能提升。虽然Sparkle最大的好处是在大内存机器上运行,但与具有同等硬件设置的横向扩展集群相比,它也实现了1.6倍至5倍的性能提升。

英文摘要:

Spark is an in-memory analytics platform that targets commodity server environments today. It relies on the Hadoop Distributed File System (HDFS) to persist intermediate checkpoint states and final processing results. In Spark, immutable data are used for storing data updates in each iteration, making it inefficient for long running, iterative workloads. A non-deterministic garbage collector further worsens this problem. Sparkle is a library that optimizes memory usage in Spark. It exploits large shared memory to achieve better data shuffling and intermediate storage. Sparkle replaces the current TCP/IP-based shuffle with a shared memory approach and proposes an off-heap memory store for efficient updates. We performed a series of experiments on scale-out clusters and scale-up machines. The optimized shuffle engine leveraging shared memory provides 1.3x to 6x faster performance relative to Vanilla Spark. The off-heap memory store along with the shared-memory shuffle engine provides more than 20x performance increase on a probabilistic graph processing workload that uses a large-scale real-world hyperlink graph. While Sparkle benefits at most from running on large memory machines, it also achieves 1.6x to 5x performance improvements over scale out cluster with equivalent hardware setting.

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

↑