...
首页> 外文期刊>Computer architecture news >Hybrid TLB Coalescing: Improving TLB Translation Coverage under Diverse Fragmented Memory Allocations
【24h】

Hybrid TLB Coalescing: Improving TLB Translation Coverage under Diverse Fragmented Memory Allocations

机译:混合TLB合并:在不同的碎片内存分配下提高TLB翻译覆盖率

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

To mitigate excessive TLB misses in large memory applications, techniques such as large pages, variable length segments, and HW coalescing, increase the coverage of limited hardware translation entries by exploiting the contiguous memory allocation. However, recent studies show that in non-uniform memory systems, using large pages often leads to performance degradation, or allocating large chunks of memory becomes more difficult due to memory fragmentation. Although each of the prior techniques favors its own best chunk size, diverse contiguity of memory allocation in real systems cannot always provide the optimal chunk of each technique. Under such fragmented and diverse memory allocations, this paper proposes a novel HW-SW hybrid translation architecture, which can adapt to different memory mappings efficiently. In the proposed hybrid coalescing technique, the operating system encodes memory contiguity information in a subset of page table entries, called anchor entries. During address translation through TLBs, an anchor entry provides translation for contiguous pages following the anchor entry. As a smaller number of anchor entries can cover a large portion of virtual address space, the efficiency of TLB can be significantly improved. The most important benefit of hybrid coalescing is its ability to change the coverage of the anchor entry dynamically, reflecting the current allocation contiguity status. By using the contiguity information directly set by the operating system, the technique can provide scalable translation coverage improvements with minor hardware changes, while allowing the flexibility of memory allocation. Our experimental results show that across diverse allocation scenarios with different distributions of contiguous memory chunks, the proposed scheme can effectively reap the potential translation coverage improvement from the existing contiguity.
机译:为了减轻大内存应用程序中过多的TLB遗漏,诸如大页面,可变长度段和硬件合并等技术通过利用连续的内存分配来增加有限的硬件转换条目的覆盖范围。但是,最近的研究表明,在非统一内存系统中,使用大页面通常会导致性能下降,或者由于内存碎片而分配大内存块变得更加困难。尽管每种现有技术都偏爱自己的最佳块大小,但实际系统中内存分配的各种连续性并不能始终提供每种技术的最佳块。在这种零散而多样化的内存分配下,本文提出了一种新颖的HW-SW混合翻译架构,该架构可以有效地适应不同的内存映射。在提出的混合合并技术中,操作系统在页表项的子集(称为锚项)中编码内存连续性信息。在通过TLB进行地址转换期间,锚条目为锚条目之后的连续页面提供翻译。由于较少的锚条目可以覆盖虚拟地址空间的大部分,因此可以显着提高TLB的效率。混合合并的最重要好处是可以动态更改锚条目的覆盖范围,从而反映当前分配邻接状态。通过使用由操作系统直接设置的连续性信息,该技术可以通过较小的硬件更改来提供可伸缩的翻译覆盖率改进,同时允许内存分配的灵活性。我们的实验结果表明,在具有连续内存块分布的不同分配方案中,该方案可以有效地从现有连续性中获得潜在的翻译覆盖率改善。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号