Data analytic applications built upon big data processing frameworks such as Apache Spark are an important class of applications. Many of these applications are not latency-sensitive and thus can run as batch jobs in data centers. By running multiple applications on a computing host, task co-location can significantly improve the server utilization and system throughput. However, effective task co-location is a non-trivial task, as it requires an understanding of the computing resource requirement of the co-running applications, in order to determine what tasks, and how many of them, can be co-located.
In this paper, we present a mixture-of-experts approach to model the memory behavior of Spark applications. We achieve this by learning, off-line, a range of specialized memory models on a range of typical applications; we then determine at runtime which of the memory models, or experts, best describes the memory behavior of the target application. We show that by accurately estimating the resource level that is needed, a co-location scheme can effectively determine how many applications can be co-located on the same host to improve the system throughput, by taking into consideration the memory and CPU requirements of co-running application tasks. Our technique is applied to a set of representative data analytic applications built upon the Apache Spark framework. We evaluated our approach for system throughput and average normalized turnaround time on a multi-core cluster. Our approach achieves over 83.9% of the performance delivered using an ideal memory predictor. We obtain, on average, 8.69x improvement on system throughput and a 49% reduction on turnaround time over executing application tasks in isolation, which translates to a 1.28x and 1.68x improvement over a state-of-the-art co-location scheme for system throughput and turnaround time respectively.
Accelerating Mixture-of-Experts Inference by Hiding Offloading Latency with Speculative Decoding
State Key Laboratory for Novel Software Technology, Nanjing University(南京大学软件新技术国家重点实验室);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
Runtime Optimization of Join Location in Parallel Data Management Systems
在并行系统上运行的应用程序通常需要将流式关系或存储关系与在并行数据存储系统中索引的数据联接。某些应用程序还计算连接元组上的UDF。连接可以在数据存储节点处完成,对应于减少侧连接,或者通过从存储系统提取数据到计算节点来完成,对应于映射侧连接。这两种方法都可能是次优的:reduce side joins可能会导致偏斜,而map side joins可能会导致大量数据被传输和复制。在本文中,我们提出的技术,使运行时的决定,这两个选项之间的每个键的基础上,以提高吞吐量的连接,占UDF计算,如果有的话。我们的技术是基于一个扩展的滑雪租赁算法,并提供最坏情况下的性能保证相对于我们所考虑的空间中的最佳点。我们的技术使用负载均衡,考虑到CPU,网络和I/O成本以及计算和存储节点上的负载。我们已经在Hadoop、Spark和Muppet流处理引擎上实现了我们的技术。我们的实验表明,我们的优化技术提供了一个显着的提高吞吐量超过现有的技术。
Achieving Cloud-Grade SLOs for Local Mixture-of-Experts Inference through CPU-GPU Hybrid Design
Tsinghua University(清华大学);Xingyun Integrated Circuits Co., Ltd.(星云集成电路有限公司);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心)
TriMoE: Augmenting GPU with AMX-Enabled CPU and DIMM-NDP for High-Throughput MoE Inference via Offloading
SKLP, Institute of Computing Technology, Chinese Academy of Sciences, Beijing, China(SKLP,计算技术研究所,中国科学院,北京);University of Chinese Academy of Sciences, Beijing, China(中国科学院大学,北京)