首页> 外文会议>Parallel and distributed computing and networks >A WAIT-FREE DYNAMIC STORAGE ALLOCATOR BY ADOPTING THE HELPING QUEUE PATTERN
【24h】

A WAIT-FREE DYNAMIC STORAGE ALLOCATOR BY ADOPTING THE HELPING QUEUE PATTERN

机译:采用帮助队列模式的免等待动态存储分配器

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

摘要

Most of the real-time applicable dynamic storage allocators rely on conventional locking strategies for protecting globally accessible data. But it is common that lock compositions do not scale well under high allocation and deallocation rates in parallel scenarios, as they lead to convoy effects. Furthermore, lock compositions lead to jitter, which is often a critical factor in real-time systems. Additionally, it is often desirable to guarantee progress of threads in order to be able to determine the worst-case execution time.This led us designing a wait-free dynamic storage allocator (DSA), which can guarantee progress of threads and does not influence other threads to make progress. Our DSA implementation relies on a kind of buddy strategy with approximate best-fit. Hence, it ensures for this kind of allocation strategy typical memory wastage as a result of internal fragmentation. Preliminary tests show that we can outperform established DSA implementations in terms of predictability, like the famous TLSF memory allocator. To the best of our knowledge, our DSA is the first known approach using a scalable and bounded nonblocking synchronization strategy.Our approach towards a wait-free DSA algorithm is applicable in real-time applications where adequate a priori knowledge about the memory requirements is available because it uses a statically allocated heap. We think that most real-time systems — especially ones with hard timing constraints — fulfill this precondition.
机译:大多数实时适用的动态存储分配器都依赖于常规的锁定策略来保护全局可访问的数据。但是常见的是,锁组合在并行方案中在高分配和解除分配速率下不能很好地扩展,因为它们会导致车队效应。此外,锁定组合会导致抖动,这通常是实时系统中的关键因素。另外,通常希望保证线程的进度以便能够确定最坏情况的执行时间。这导致我们设计了一种免等待的动态存储分配器(DSA),它可以保证线程的进度并且不影响线程其他线程以取得进展。我们的DSA实施依赖于一种伙伴策略,且近似最佳。因此,它为这种分配策略确保了由于内部碎片而造成的典型内存浪费。初步测试表明,就可预测性而言,我们可以胜过已建立的DSA实现,例如著名的TLSF内存分配器。据我们所知,DSA是第一个使用可扩展且有界的无阻塞同步策略的已知方法。我们针对免等待DSA算法的方法适用于实时应用,在这些应用中可以充分了解有关内存需求的先验知识因为它使用静态分配的堆。我们认为大多数实时系统,尤其是具有严格时序约束的系统,都可以满足此先决条件。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号