并发性和Scalability与片段化和压缩与紧凑拟合
Concurrency and Scalability versus Fragmentation and Compaction with Compact-fit
摘要:
我们研究,正式和实验,在时间和空间开销的权衡时,使用显式的,动态的和实时的堆管理系统紧凑的配合(CF)管理连续的内存块。CF的关键属性是时间和空间开销可以通过部分和增量压缩的概念在恒定时间内被限制、关联和预测。部分压缩决定了内存碎片的最大容许程度。这里介绍的对象的增量压缩确定压缩操作的任何逻辑原子部分所涉及的最大内存量。我们探索CF的潜在应用空间(1)多处理器和多核系统,以及(2)内存受限的单处理器系统。对于(1),我们认为很少或没有压缩可能会避免时间和空间开销的最坏情况,但也观察到可伸缩性只提高了一个常数因子。通过Compact-fit的单独实例减少总体数据共享,可进一步显著提高可伸缩性。对于(2),我们观察到增量压缩可以有效地权衡吞吐量和内存碎片以降低延迟。
英文摘要:
We study, formally and experimentally, the trade-off in temporal and spatial overhead when managing contiguous blocks of memory using the explicit, dynamic and real-time heap management system Compact-fit (CF). The key property of CF is that temporal and spatial overhead can be bounded, related, and predicted in constant time through the notion of partial and incremental compaction. Partial compaction determines the maximally tolerated degree of memory fragmentation. Incremental compaction of objects, introduced here, determines the maximal amount of memory involved in any, logically atomic, portion of a compaction operation. We explore CF's potential application space on (1) multiprocessor and multicore systems as well as on (2) memory-constrained uniprocessor systems. For (1), we argue that little or no compaction is likely to avoid the worst case in temporal as well as spatial overhead but also observe that scalability only improves by a constant factor. Scalability can be further improved significantly by reducing overall data sharing through separate instances of Compact-fit. For (2), we observe that incremental compaction can effectively trade-off throughput and memory fragmentation for lower latency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。