首页> 外文期刊>Computers, IEEE Transactions on >iBuddy: Inverse Buddy for Enhancing Memory Allocation/Deallocation Performanceon Multi-Core Systems
【24h】

iBuddy: Inverse Buddy for Enhancing Memory Allocation/Deallocation Performanceon Multi-Core Systems

机译:iBuddy:在多核系统上提高内存分配/解除分配性能的反向伙伴

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

摘要

We present a new buddy system for memory allocation that we call the lazy iBuddy system. This system is motivated by two observations of the widely used lazy buddy system on multi-core systems. First, most memory requests are for single page frames. However, the lazy buddy algorithm used in Linux continuously splits and coalesces memory blocks for single page frame requests even though the lazy layer is employed. Second, on multi-core systems, responses to bursty memory requests are delayed by lock contention caused by concurrent accesses of the multi-cores. The lazy iBuddy system overcomes the first problem by managing each page frame individually and coalescing pages only when an allocation of multiple page frames is requested. We devise the lazy iBuddy algorithm so that single page frame allocation can be done in O(1). The second problem is alleviated by dividing main memory into multiple buddy spaces and applying a fine-grained locking mechanism. Performance evaluation results based on various workloads on the XEON 16core with 32 GB main memory show that the lazy iBuddy system can improve memory allocation/deallocation time by up to 47 percent with an average of 35 percent compared with the lazy buddy system for the various configurations that we considered.
机译:我们提出了一种用于内存分配的新伙伴系统,我们将其称为惰性iBuddy系统。该系统是由对多核系统上广泛使用的惰性伙伴系统的两个观察结果激发的。首先,大多数内存请求都针对单页框架。但是,即使使用了惰性层,Linux中使用的惰性伙伴算法也会连续拆分和合并用于单页帧请求的存储块。其次,在多核系统上,由于并发访问多核而导致的锁争用延迟了对突发内存请求的响应。懒惰的iBuddy系统通过分别管理每个页面框架并仅在请求分配多个页面框架时合并页面来克服第一个问题。我们设计了惰性iBuddy算法,以便可以在O(1)中完成单页帧分配。通过将主内存划分为多个伙伴空间并应用细粒度的锁定机制,可以缓解第二个问题。根据具有32 GB主内存的XEON 16core上的各种工作负载进行的性能评估结果表明,与各种配置的惰性伙伴系统相比,惰性iBuddy系统可以将内存分配/重新分配时间提高多达47%,平均为35%。我们考虑过的

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号