arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1707.07161cs.OS
收藏

多级存储层次结构管理算法的优化

Optimizations of Management Algorithms for Multi-Level Memory Hierarchy

Gal Oren

摘要:

预计在不久的将来,单片机将改变新程序的形式、对存储器的访问形式以及存储设备本身的构建方式。因此,允许程序员手动控制存储层次结构中的不同存储器的SCM和指定的存储器分配管理器(MAM)之间的组合将可能实现存储器感知数据结构的新的性能水平。虽然手动MAM似乎是多级存储层次结构管理的最佳方法,但这种技术仍然非常不现实,并且它将在使用高性能计算(HPC)平台的当前代码中实现的机会非常低。这个前提意味着,将SCM引入任何可用和流行的内存系统的最合理的方法是使用分页算法的基本原理实现MAM的自动化版本,如用于两级存储层次结构。我们的假设是,实现存储器级别之间的适当的可转移性可能是可能的,使用在当前的虚拟内存系统中采用的算法的想法,并且这些算法从两级存储层次结构到N级存储层次结构的适应是可能的。为了证明我们的假设是正确的,我们研究了各种分页算法,并找到了那些可以成功地适应从两级存储层次结构到N级存储层次结构。我们发现,使用老化分页算法的适应N级存储层次结构的结果在命中/未命中率方面的最佳性能。为了验证我们的假设,我们建立了一个模拟器,称为“DeMemory模拟器”,用于分析我们的算法以及其他算法,将在未来设计。

英文摘要:

In the near future the SCM is predicted to modify the form of new programs, the access form to storage, and the way that storage devices themselves are built. Therefore, a combination between the SCM and a designated Memory Allocation Manager (MAM) that will allow the programmer to manually control the different memories in the memory hierarchy will be likely to achieve a new level of performance for memory-aware data structures. Although the manual MAM seems to be the optimal approach for multi-level memory hierarchy management, this technique is still very far from being realistic, and the chances that it would be implemented in current codes using High Performance Computing (HPC) platforms is quite low. This premise means that the most reasonable way to introduce the SCM into any usable and popular memory system would be by implementing an automated version of the MAM using the fundamentals of paging algorithms, as used for two-level memory hierarchy. Our hypothesis is that achieving appropriate transferability between memory levels may be possible using ideas of algorithms employed in current virtual memory systems, and that the adaptation of those algorithms from a two-level memory hierarchy to an N-level memory hierarchy is possible. In order to reach the conclusion that our hypothesis is correct, we investigated various paging algorithms, and found the ones that could be adapted successfully from two-level memory hierarchy to an N-level memory hierarchy. We discovered that using an adaptation of the Aging paging algorithm to an N-level memory hierarchy results in the best performances in terms of Hit/Miss ratio. In order to verify our hypothesis we build a simulator called "DeMemory simulator" for analyzing our algorithms as well as for other algorithms that will be devised in the future.

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

↑