Buddy-RAM:使用DRAM提高批量按位操作的性能和效率
Buddy-RAM: Improving the Performance and Efficiency of Bulk Bitwise Operations Using DRAM
摘要:
按位操作是现代编程的重要组成部分。许多广泛使用的数据结构(例如,数据库中的位图索引)依赖于对大位向量的快速逐位操作来实现高性能。不幸的是,在现有系统中,无论底层架构如何(例如,CPU、GPU、FPGA),这种批量逐位操作的吞吐量受到可用内存带宽的限制。我们提出了巴迪,一种新的机制,利用DRAM的模拟操作,完全在DRAM芯片内执行批量按位操作。Buddy由两部分组成。首先,连接到同一组读出放大器的三个DRAM行的同时激活使我们能够执行逐位AND和OR操作。其次,每个读出放大器中的反相器使我们能够执行按位非操作,对DRAM阵列进行适度的更改。这两个组件使Buddy功能完整。Buddy的实现在很大程度上利用了现有的DRAM结构和接口,并且开销很低(DRAM芯片面积的1%)。基于SPICE模拟的评估表明,在7种常用的按位操作中,Buddy在原始吞吐量上提供了10.9X-25.6X的提高,在能耗上减少了25.1X-59.5X。我们评估了三个利用按位操作的现实数据密集型应用程序:1)位图索引,2)BitWeaving,3)基于位向量的集合实现。我们的评估显示Buddy的表现明显优于最先进的技术。
英文摘要:
Bitwise operations are an important component of modern day programming. Many widely-used data structures (e.g., bitmap indices in databases) rely on fast bitwise operations on large bit vectors to achieve high performance. Unfortunately, in existing systems, regardless of the underlying architecture (e.g., CPU, GPU, FPGA), the throughput of such bulk bitwise operations is limited by the available memory bandwidth. We propose Buddy, a new mechanism that exploits the analog operation of DRAM to perform bulk bitwise operations completely inside the DRAM chip. Buddy consists of two components. First, simultaneous activation of three DRAM rows that are connected to the same set of sense amplifiers enables us to perform bitwise AND and OR operations. Second, the inverters present in each sense amplifier enables us to perform bitwise NOT operations, with modest changes to the DRAM array. These two components make Buddy functionally complete. Our implementation of Buddy largely exploits the existing DRAM structure and interface, and incurs low overhead (1% of DRAM chip area). Our evaluations based on SPICE simulations show that, across seven commonly-used bitwise operations, Buddy provides between 10.9X---25.6X improvement in raw throughput and 25.1X---59.5X reduction in energy consumption. We evaluate three real-world data-intensive applications that exploit bitwise operations: 1) bitmap indices, 2) BitWeaving, and 3) bitvector-based implementation of sets. Our evaluations show that Buddy significantly outperforms the state-of-the-art.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。