通过DRAM中的近内存处理将密码学移出数据路径
Taking Cryptography Out of the Data Path via Near-Memory Processing in DRAM
AI总结:
本文研究了通过近内存处理在DRAM中加速密码算法的潜力与限制,采用UPMEM架构评估算法可扩展性,发现多rank分布显著提升性能,实现实时PIM加速密码算法。
摘要:
加密算法如AES-128和SHA-256在确保数据安全性和完整性方面至关重要。尽管这些算法计算效率高,但其性能常受处理器为中心的架构(如CPU、GPU)限制,主要由于内存瓶颈。这种限制导致处理大量数据时延迟增加和能耗升高。为克服这些挑战,进程在内存(PIM)作为一种有前途的架构范式出现,允许计算直接在内存单元内或附近进行。通过最小化处理器与内存单元之间的数据移动,PIM可以显著加速加密算法并提高能效。已有研究表明PIM在根本上加速加密算法的有效性。然而,此前的工作尚未广泛展示真实PIM系统的潜力。本文旨在研究真实PIM在加速加密算法的潜力和限制。作为方法的一部分,使用UPMEM PIM架构评估加密算法的可扩展性。当这些算法在单个rank上运行时,其性能仍低于现代CPU。然而,将计算分布到多个rank显著提升了性能。当所有可用rank都被利用时,真实PIM能更有效地加速加密算法。
英文摘要:
Cryptographic algorithms such as AES-128 and SHA-256 are fundamental to ensuring data security and integrity. Although these algorithms are computationally efficient, their performance is often constrained by the processor-centric architectures (e.g., CPUs, GPUs), primarily due to the memory bottleneck. This constraint leads to increased latency and higher energy consumption, particularly when handling large volumes of data. To overcome these challenges, Processing-in-Memory (PIM) has emerged as a promising architectural paradigm, allowing computation to occur directly within or near memory units. By minimizing data movement between the processor and memory units, PIM can significantly accelerate cryptographic algorithms while improving energy efficiency. Several pieces of prior work have demonstrated the effectiveness of PIM at fundamentally accelerating cryptographic algorithms. However, none of the prior works have extensively demonstrated the potential of a real-world PIM system. In this paper, we want to investigate the potential and limitations of real-world PIM in accelerating cryptographic algorithms. As part of our methodology, the UPMEM PIM architecture is used to assess the scalability of cryptographic algorithms. When these algorithms operate on a single rank, their performance remains below that of modern CPUs. However, distributing the computation across multiple ranks significantly enhances performance. When all available ranks are utilized, real-world PIM can accelerate cryptographic algorithms more effectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。