StreamBox-HBM:高带宽混合存储器上的流分析
StreamBox-HBM: Stream Analytics on High Bandwidth Hybrid Memory
摘要:
流分析对内存和性能有着无法满足的需求。新兴的混合存储器将商品DDR4 DRAM与3D堆叠高带宽存储器(HBM)DRAM相结合,以满足此类需求。然而,实现这一承诺是具有挑战性的,因为(1)HBM是容量有限的,(2)HBM最适合顺序存取和高并行工作负载。乍一看,流分析与HBM的匹配度很差,因为它们有很高的容量需求,数据分组操作,最苛刻的计算,使用随机访问。本文介绍了StreamBox-HBM的设计和实现,流分析引擎,利用混合存储器,以实现可扩展的高性能。StreamBox-HBM使用HBM中的顺序存取排序算法执行数据分组,与DRAM中常用的随机存取散列算法相反。StreamBox-HBM只使用HBM来存储密钥指针阵列(KPA)数据结构,这些结构只包含分组操作的部分记录(指向完整记录的密钥和指针)。它动态创建和管理大量数据和流水线并行,选择何时在HBM中分配KPA。它针对HBM的高带宽和有限容量以及标准DRAM的有限带宽和高容量进行动态优化。StreamBox-HBM实现了每秒1.1亿条记录和238 GB/s内存带宽,同时有效地利用了英特尔Knights Landing的所有64个核心,这是一款具有混合内存的商业服务器。在吞吐量方面,它比采用无KPA的顺序存取算法的流引擎高出7倍,比采用随机存取算法的流引擎高出一个数量级。据我们所知,StreamBox-HBM是第一个针对混合存储器优化的流引擎。
英文摘要:
Stream analytics have an insatiable demand for memory and performance. Emerging hybrid memories combine commodity DDR4 DRAM with 3D-stacked High Bandwidth Memory (HBM) DRAM to meet such demands. However, achieving this promise is challenging because (1) HBM is capacity-limited and (2) HBM boosts performance best for sequential access and high parallelism workloads. At first glance, stream analytics appear a particularly poor match for HBM because they have high capacity demands and data grouping operations, their most demanding computations, use random access. This paper presents the design and implementation of StreamBox-HBM, a stream analytics engine that exploits hybrid memories to achieve scalable high performance. StreamBox-HBM performs data grouping with sequential access sorting algorithms in HBM, in contrast to random access hashing algorithms commonly used in DRAM. StreamBox-HBM solely uses HBM to store Key Pointer Array (KPA) data structures that contain only partial records (keys and pointers to full records) for grouping operations. It dynamically creates and manages prodigious data and pipeline parallelism, choosing when to allocate KPAs in HBM. It dynamically optimizes for both the high bandwidth and limited capacity of HBM, and the limited bandwidth and high capacity of standard DRAM. StreamBox-HBM achieves 110 million records per second and 238 GB/s memory bandwidth while effectively utilizing all 64 cores of Intel's Knights Landing, a commercial server with hybrid memory. It outperforms stream engines with sequential access algorithms without KPAs by 7x and stream engines with random access algorithms by an order of magnitude in throughput. To the best of our knowledge, StreamBox-HBM is the first stream engine optimized for hybrid memories.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。