具有对数级过载的记忆重新分配
Memory Reallocation with Polylogarithmic Overhead
AI总结:
该研究提出了一种具有对数级预期过载的记忆重新分配算法,通过应用sunflower引理改进了之前的结果,同时证明了亚多项式级过载的不可能性。
摘要:
记忆重新分配问题要求动态维护给定不同大小对象到非重叠连续内存块的分配,同时支持在线方式的更新(插入/删除)。任何时候活对象的总大小保证不超过总内存的1-ε分数。为处理在线更新,分配器可能重新排列内存中的对象以腾出空间,此更新的过载定义为移动对象总大小除以被插入/删除对象的大小。我们的主要结果是一个具有最坏情况预期过载polylog(ε^{-1})的分配器。这比之前由Farach-Colton、Kuszmaul、Sheffield和Westover(2024)实现的最坏情况预期过载~O(ε^{-1/2})有了指数级的改进,缩小了与Ω(logε^{-1})下界之间的差距。我们的改进是基于将之前由Erdős和Sárközy(1992)在子集和上下文中使用的sunflower引理应用于当前问题。我们的分配器仅在期望上实现对数级过载,有时会执行昂贵的重建。我们的第二个技术结果表明这是必要的:不可能以高概率实现亚多项式级的过载。
英文摘要:
The Memory Reallocation problem asks to dynamically maintain an assignment of given objects of various sizes to non-overlapping contiguous chunks of memory, while supporting updates (insertions/deletions) in an online fashion. The total size of live objects at any time is guaranteed to be at most a $1-ε$ fraction of the total memory. To handle an online update, the allocator may rearrange the objects in memory to make space, and the overhead for this update is defined as the total size of moved objects divided by the size of the object being inserted/deleted. Our main result is an allocator with worst-case expected overhead $\mathrm{polylog}(ε^{-1})$. This exponentially improves the previous worst-case expected overhead $\tilde O(ε^{-1/2})$ achieved by Farach-Colton, Kuszmaul, Sheffield, and Westover (2024), narrowing the gap towards the $Ω(\logε^{-1})$ lower bound. Our improvement is based on an application of the sunflower lemma previously used by Erdős and Sárközy (1992) in the context of subset sums. Our allocator achieves polylogarithmic overhead only in expectation, and sometimes performs expensive rebuilds. Our second technical result shows that this is necessary: it is impossible to achieve subpolynomial overhead with high probability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。