LLC 组内写均衡
LLC Intra-set Write Balancing
AI总结:
本文针对 NVM 末级缓存的写耐久性问题,提出基于采样的组内路阻塞与写重定向技术,利用历史结构和 PC-Table 动态调整阻塞策略,实现写流量均衡并提升存储单元寿命。
摘要:
非易失性存储器(NVM)在计算机体系结构中的日益广泛应用带来了新的挑战,其中之一就是写耐久性问题。对 NVM 中特定缓存单元的频繁写入会导致存储单元退化并缩短其寿命。为了解决这个问题,我们针对末级缓存(LLC)提出了一种基于采样的阻塞技术。我们的方法包括定义一个阈值并对缓存组的一个子集进行采样。如果对采样组中某个路的写入次数超过阈值,则阻塞该路,并将写入重定向到其他路。我们还维护一个历史结构来记录一个组中的写入次数,以及一个 PC-Table,用于在未采样的组中进行阻塞。基于对采样组的阻塞,存储在历史结构中的值的方差被用来判断阻塞是否产生了积极影响,并在此基础上,与指令指针对应的值被增加或减少。该值随后用于未采样组中的阻塞。我们的结果表明,我们的方法显著均衡了缓存的写流量,提高了存储单元的整体寿命,同时相比基线系统具有更好的性能。我们的方法还可以应用于其他缓存层次结构和 NVM 技术,以缓解写耐久性问题。
英文摘要:
The increasing use of Non-Volatile Memory (NVM) in computer architecture has brought about new challenges, one of which is the write endurance problem. Frequent writes to a particular cache cell in NVM can lead to degradation of the memory cell and reduce its lifespan. To solve this problem, we propose a sample-based blocking technique for the Last Level Cache (LLC). Our approach involves defining a threshold value and sampling a subset of cache sets. If the number of writes to a way in a sampled set exceeds the threshold, the way is blocked, and writes are redirected to other ways. We also maintain a history structure to record the number of writes in a set and a PC-Table to use for blocking in unsampled sets. Based on blocking on sampled sets, variance of values stored in history is used to determine whether blocking had a positive impact or not, and on this basis, value corresponding to instruction pointer is incremented or decremented. This value is later used for blocking in unsampled sets. Our results show that our approach significantly balances write traffic to the cache and improves the overall lifespan of the memory cells while having better performance to the base-line system. Our approach can also be applied to other cache hierarchies and NVM technologies to mitigate the problem of write endurance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。