arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.10605cs.ETcs.AR
收藏

粒度缺口问题:将近似内存应用于复杂数据布局的障碍

The Granularity Gap Problem: A Hurdle for Applying Approximate Memory to Complex Data Layout

Soramichi Akiyama, Ryota Shioya

摘要:

主存访问延迟在过去的二十多年里没有太大的改善,而CPU的性能直到最近才呈指数级增长。近似存储器是一种减少DRAM访问延迟的技术,以换取丢失数据完整性。这对于那些对噪声输入和中间数据(如人工智能、多媒体处理和图形处理)具有鲁棒性的应用程序是有益的。为了从近似内存上的应用程序获得合理的输出,保护关键数据同时加速对非关键数据的访问至关重要。我们将在近似存储器中应用相同出错率的连续存储器区域的最小大小称为近似粒度。近似存储器的一个基本限制是近似粒度大到几千字节。然而,应用程序可能具有以较小粒度交错的关键和非关键数据。例如,用于图节点的数据结构可以具有指向相邻节点的指针(关键的)及其得分(非关键的,取决于用例)。由于近似粒度和数据关键性粒度之间的差距,这种数据结构不能直接映射到近似内存。我们把这个问题称为粒度差距问题。在本文中,我们首先表明,许多应用程序可能会受到这个问题。然后,我们提出了一个框架,定量评估的性能开销的一种可能的方法,以避免这个问题,使用已知的技术。评估结果表明,性能开销是不可忽略的近似内存的预期收益相比,这表明粒度差距问题是一个重要的关注。

英文摘要:

The main memory access latency has not much improved for more than two decades while the CPU performance had been exponentially increasing until recently. Approximate memory is a technique to reduce the DRAM access latency in return of losing data integrity. It is beneficial for applications that are robust to noisy input and intermediate data such as artificial intelligence, multimedia processing, and graph processing. To obtain reasonable outputs from applications on approximate memory, it is crucial to protect critical data while accelerating accesses to non-critical data. We refer the minimum size of a continuous memory region that the same error rate is applied in approximate memory to as the approximation granularity. A fundamental limitation of approximate memory is that the approximation granularity is as large as a few kilo bytes. However, applications may have critical and non-critical data interleaved with smaller granularity. For example, a data structure for graph nodes can have pointers (critical) to neighboring nodes and its score (non-critical, depending on the use-case). This data structure cannot be directly mapped to approximate memory due to the gap between the approximation granularity and the granularity of data criticality. We refer to this issue as the granularity gap problem. In this paper, we first show that many applications potentially suffer from this problem. Then we propose a framework to quantitatively evaluate the performance overhead of a possible method to avoid this problem using known techniques. The evaluation results show that the performance overhead is non-negligible compared to expected benefit from approximate memory, suggesting that the granularity gap problem is a significant concern.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑