SIMDRAM: DRAM 을 활용한 비트 직렬 SIMD 처리 프레임워크
SIMDRAM: A Framework for Bit-Serial SIMD Processing Using DRAM
SIMDRAM: A Framework for Bit-Serial SIMD Processing Using DRAM
@misc{hajinazar2020simdram,
title = {SIMDRAM: A Framework for Bit-Serial SIMD Processing Using DRAM},
author = {Nastaran Hajinazar and Geraldo F. Oliveira and Sven Gregorio and João Dinis Ferreira and Nika Mansouri Ghiasi and Minesh Patel and Mohammed Alser and Saugata Ghose and Juan Gómez-Luna and Onur Mutlu},
year = {2020},
eprint = {2012.11890},
archivePrefix = {arXiv},
primaryClass = {cs.AR},
url = {https://arxiv.org/abs/2012.11890}
}
Hajinazar, N., Oliveira, G. F., Gregorio, S., Ferreira, J. D., Ghiasi, N. M., Patel, M., Alser, M., Ghose, S., Gómez-Luna, J., & Mutlu, O. (2020). SIMDRAM: A Framework for Bit-Serial SIMD Processing Using DRAM [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.11890
HAJINAZAR N, OLIVEIRA GF, GREGORIO S, et al. SIMDRAM: A Framework for Bit-Serial SIMD Processing Using DRAM[EB/OL]. (2020-12-22)[2026-11-30]. https://arxiv.org/abs/2012.11890.
초록
DRAM 을 활용한 처리 (Processing-using-DRAM) 는 논리 연산, 덧셈과 같은 제한된 기본 연산에 대해 제안되어 왔으나, DRAM 을 활용한 처리의 완전한 채택을 위해서는 더 복잡한 연산을 지원할 필요가 있다. 본 논문에서는 각 DRAM 열을 독립적인 SIMD 로로 사용하여 비트 직렬 연산을 수행함으로써 광범위한 연산의 대량 병렬 계산을 가능하게 하는 유연한 일반 목적 DRAM 을 활용한 처리 프레임워크인 SIMDRAM 을 제안한다. SIMDRAM 은 DRAM 에서 원하는 연산을 가능하게 하는 세 가지 핵심 단계로 구성된다: (1) 원하는 연산의 효율적인 다수 기반 표현 구축, (2) 연산의 입력 및 출력 연산자를 DRAM 행과 원하는 연산을 생성하는 필요한 DRAM 명령으로 매핑, (3) 연산 실행. 이 세 단계는 DRAM 에서 임의의 복잡한 연산을 효율적으로 계산하는 것을 보장한다. 첫 번째 두 단계는 사용자가 DRAM 에서 원하는 임의의 연산을 효율적으로 구현하고 계산할 수 있는 유연성을 제공한다. 세 번째 단계는 사용자에게 투명하게 DRAM 내 계산의 실행 흐름을 제어한다. 본 논문은 SIMDRAM 의 신뢰성, 영역 오버헤드, 연산 처리량 및 에너지 효율성을 광범위한 연산과 7 가지 다양한 실제 세계 커널을 사용하여 종합적으로 평가함으로써 그 일반성을 입증한다. 우리의 결과는 SIMDRAM 이 최신 DRAM 내 계산 메커니즘에 비해 최대 5.1 배 높은 연산 처리량과 2.5 배 높은 에너지 효율을 제공하며, 실제 세계 커널에 대해서는 최대 2.5 배의 속도 향상을 제공하면서 DRAM 칩 영역 오버헤드는 1% 미만임을 보여준다. CPU 와 고성능 GPU 와 비교했을 때, SIMDRAM 은 각각 257 배와 31 배 더 에너지 효율적이며, 동시에 각각 93 배와 6 배 높은 연산 처리량을 제공한다.
Processing-using-DRAM has been proposed for a limited set of basic operations (i.e., logic operations, addition). However, in order to enable the full adoption of processing-using-DRAM, it is necessary to provide support for more complex operations. In this paper, we propose SIMDRAM, a flexible general-purpose processing-using-DRAM framework that enables massively-parallel computation of a wide range of operations by using each DRAM column as an independent SIMD lane to perform bit-serial operations. SIMDRAM consists of three key steps to enable a desired operation in DRAM: (1) building an efficient majority-based representation of the desired operation, (2) mapping the operation input and output operands to DRAM rows and to the required DRAM commands that produce the desired operation, and (3) executing the operation. These three steps ensure efficient computation of any arbitrary and complex operation in DRAM. The first two steps give users the flexibility to efficiently implement and compute any desired operation in DRAM. The third step controls the execution flow of the in-DRAM computation, transparently from the user. We comprehensively evaluate SIMDRAM's reliability, area overhead, operation throughput, and energy efficiency using a wide range of operations and seven diverse real-world kernels to demonstrate its generality. Our results show that SIMDRAM provides up to 5.1x higher operation throughput and 2.5x higher energy efficiency than a state-of-the-art in-DRAM computing mechanism, and up to 2.5x speedup for real-world kernels while incurring less than 1% DRAM chip area overhead. Compared to a CPU and a high-end GPU, SIMDRAM is 257x and 31x more energy-efficient, while providing 93x and 6x higher operation throughput, respectively.