Optimal Loop Tiling for Minimizing Write Operations on NVMs with Complete Memory Latency Hiding

Rui Xu, Edwin Hsing Mean Sha, Qingfeng Zhuge, Yuhong Song, Jingzhi Lin

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

Non-volatile memory (NVM) is expected to be the second level memory (named remote memory) in two-level memory hierarchy in the future. However, NVM has the limited write endurance, thus it is vital to reduce the number of write operations on NVM. Meanwhile, in two-level memory hierarchy, prefetch is widely used for fetching certain data before it is actually required, to hide the remote memory access latency. In general, large-scale nested loop is the performance bottleneck in one program due to the write operations on NVM caused by the first level memory (named local memory) miss and data reuse. Loop tiling is the key technique for grouping iterations so as to reduce the communication with remote memory used in compiler. In this paper, we propose a new loop tiling approach for minimizing the write operations on NVMs and completely hiding the NVM access latency. Specifically, we introduce a series of theorems to help loop tiling. Then, a legal tile shape and an optimal tile size selection strategy is proposed according to data dependency and local memory capacity. Furthermore, we propose a pipeline scheduling policy to completely hide the remote memory latency. Extensive experiments show that the proposed techniques can reduce write operations on NVMs by 95.1% on average, and NVM latency can be completely hidden.

Original languageEnglish
Title of host publicationASP-DAC 2022 - 27th Asia and South Pacific Design Automation Conference, Proceedings
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages389-394
Number of pages6
ISBN (Electronic)9781665421355
DOIs
StatePublished - 2022
Event27th Asia and South Pacific Design Automation Conference, ASP-DAC 2022 - Virtual, Online, Taiwan, Province of China
Duration: 17 Jan 202220 Jan 2022

Publication series

NameProceedings of the Asia and South Pacific Design Automation Conference, ASP-DAC
Volume2022-January

Conference

Conference27th Asia and South Pacific Design Automation Conference, ASP-DAC 2022
Country/TerritoryTaiwan, Province of China
CityVirtual, Online
Period17/01/2220/01/22

Keywords

  • Loop tiling
  • Memory latency hiding
  • Non-volatile Memory
  • Pipeline
  • Write operations

Fingerprint

Dive into the research topics of 'Optimal Loop Tiling for Minimizing Write Operations on NVMs with Complete Memory Latency Hiding'. Together they form a unique fingerprint.

Cite this