arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.02487cs.ARcs.PF
收藏

基于图像的高效相似性感知压缩以减少非易失性主存中的位写入

Efficient Similarity-aware Compression to Reduce Bit-writes in Non-Volatile Main Memory for Image-based Applications

Zhangyu Chen, Yu Hua, Pengfei Zuo, Yuanyuan Sun, Yuncheng Guo

摘要:

图像位图在内存应用中得到了广泛的应用,它消耗了大量的存储空间和能量。与传统DRAM相比,非易失性存储器(NVM)由于在容量和功率节省方面的显著特征而适合于位图存储。然而,与读取相比,NVM在写入中遭受更高的延迟和能量消耗。虽然在对NVM的写访问中实时压缩数据减少了NVM中的位写入,但是由于数据的不规则数据模式和变化,现有的精确或近似压缩方案对于位图的数据显示出有限的性能改进。我们观察到,包含位图的数据显示像素级的相似性,由于在相邻像素的类似内容。通过利用像素级的相似性,我们提出了SimCom,一个有效的相似性感知的压缩方案在硬件层,压缩数据的每个写访问的飞行。SimCom背后的想法是将连续的相似单词压缩成具有游程的基本单词对。借助图像的领域知识,SimCom自适应地选择合适的压缩模式,以实现图像质量和存储性能之间的有效平衡。我们使用NVMain在GEM 5上实现了SimCom,并使用真实工作负载评估了性能。我们的研究结果表明,SimCom减少33.0%,34.8%的写延迟,并节省28.3%,29.0%的能源比国家的最先进的FPC和BDI与轻微的质量损失为3%。

英文摘要:

Image bitmaps have been widely used in in-memory applications, which consume lots of storage space and energy. Compared with legacy DRAM, non-volatile memories (NVMs) are suitable for bitmap storage due to the salient features in capacity and power savings. However, NVMs suffer from higher latency and energy consumption in writes compared with reads. Although compressing data in write accesses to NVMs on-the-fly reduces the bit-writes in NVMs, existing precise or approximate compression schemes show limited performance improvements for data of bitmaps, due to the irregular data patterns and variance in data. We observe that the data containing bitmaps show the pixel-level similarity due to the analogous contents in adjacent pixels. By exploiting the pixel-level similarity, we propose SimCom, an efficient similarity-aware compression scheme in hardware layer, to compress data for each write access on-the-fly. The idea behind SimCom is to compress continuous similar words into the pairs of base words with runs. With the aid of domain knowledge of images, SimCom adaptively selects an appropriate compression mode to achieve an efficient trade-off between image quality and memory performance. We implement SimCom on GEM5 with NVMain and evaluate the performance with real-world workloads. Our results demonstrate that SimCom reduces 33.0%, 34.8% write latency and saves 28.3%, 29.0% energy than state-of-the-art FPC and BDI with minor quality loss of 3%.

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

↑