Proteus:借助动态位精度、自适应数据表示与灵活运算实现高性能DRAM内处理(Processing-Using-DRAM)
Proteus: Enabling High-Performance Processing-Using-DRAM with Dynamic Bit-Precision, Adaptive Data Representation, and Flexible Arithmetic
AI总结:
针对现有DRAM内处理(PUD)存在的静态数据表示效率低、仅支持吞吐量导向执行、高精度运算延迟高三大问题,提出硬件框架Proteus,通过动态位精度调整、跨阵列并发运算和自适应数据表示与算法,有效降低PUD运算延迟与能耗。
摘要:
DRAM内处理(Processing-Using-DRAM,PUD)是一种利用DRAM的模拟运算特性执行批量逻辑运算的范式。尽管PUD有望以低能耗和低面积成本实现高吞吐量,我们发现现有PUD方案存在三大局限,会导致严重的效率低下:(1)静态数据表示,即采用固定位精度的补码,会对无用(即无足轻重的)数据产生不必要的计算;(2)仅支持面向吞吐量的执行模式,单个PUD运算的高延迟只能在存在大量数据级并行的情况下才能被掩盖;(3)高精度(如32位)运算延迟过高。\n为解决这些问题,我们提出Proteus——首个通过为PUD实现数据感知运行时引擎,来解决批量按位PUD运算高执行延迟问题的硬件框架。Proteus通过三种不同方式降低PUD运算延迟:(1)Proteus利用窄值(即带有大量前导零或前导一的数值),动态降低PUD运算的位精度(从而降低延迟和能耗);(2)Proteus跨多个DRAM阵列并发执行属于单个PUD运算的独立DRAM内原语;(3)Proteus会为给定的PUD指令选择并使用最合适的数据表示和运算算法实现,且这一过程对程序员透明。
英文摘要:
Processing-using-DRAM (PUD) is a paradigm where the analog operational properties of DRAM are used to perform bulk logic operations. While PUD promises high throughput at low energy and area cost, we uncover three limitations of existing PUD approaches that lead to significant inefficiencies: (i) static data representation, i.e., two's complement with fixed bit-precision, leading to unnecessary computation over useless (i.e., inconsequential) data; (ii) support for only throughput-oriented execution, where the high latency of individual PUD operations can only be hidden in the presence of bulk data-level parallelism; and (iii) high latency for high-precision (e.g., 32-bit) operations. To address these issues, we propose Proteus, the first hardware framework that addresses the high execution latency of bulk bitwise PUD operations by implementing a data-aware runtime engine for PUD. Proteus reduces the latency of PUD operations in three different ways: (i) Proteus dynamically reduces the bit-precision (and thus the latency and energy consumption) of PUD operations by exploiting narrow values (i.e., values with many leading zeros or ones); (ii) Proteus concurrently executes independent in-DRAM primitives belonging to a single PUD operation across multiple DRAM arrays; (iii) Proteus chooses and uses the most appropriate data representation and arithmetic algorithm implementation for a given PUD instruction transparently to the programmer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。