arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1109.6643cs.DS
收藏

随机地址迹的最优逐出策略

Optimal Eviction Policies for Stochastic Address Traces

Gianfranco Bilardi, Francesco Versaci

摘要:

回收问题的存储层次结构的研究隐马尔可夫参考模型(HMRM)的内存轨迹,显示如何错过最小化可以自然地制定在最优控制设置。除了传统的版本,假设一个固定容量的缓冲区,也被认为是一个宽松的版本,其中缓冲区占用率可以变化,其平均值受到限制。借助于多目标优化,查看占用成本,而不是作为一个约束,最佳驱逐政策是通过组成解决方案的个别可寻址项目。然后,该方法专用于最近最少使用的堆栈模型(LRUSM),这是一种经常被考虑用于跟踪的HMRM类型,其包括V-1参数,其中V是虚拟空间的大小。任何目标平均占用率的增益最优策略获得(i)是计算时间O(V)从模型参数,(ii)也是最优的固定容量的情况下,和(iii)的特点是优先级,与名称的最低利润率(LPR)政策。推导出LPR的期望未命中率与最优离线策略OPT的期望未命中率之比的O(log C)上界(C为缓冲区容量);在对LRUSM参数进行合理约束的情况下,该上界被收紧到O(1)。使用堆栈距离框架,开发了一种算法来计算LPR在给定的输入轨迹上引起的未命中数,同时对于所有缓冲区容量,每次访问的时间为O(log V)。最后,在偏置最优性条件下,给出了有限时域和无限时域上的脱靶最小化问题的一些结果,偏置最优性是一个比增益最优性更严格的准则。

英文摘要:

The eviction problem for memory hierarchies is studied for the Hidden Markov Reference Model (HMRM) of the memory trace, showing how miss minimization can be naturally formulated in the optimal control setting. In addition to the traditional version assuming a buffer of fixed capacity, a relaxed version is also considered, in which buffer occupancy can vary and its average is constrained. Resorting to multiobjective optimization, viewing occupancy as a cost rather than as a constraint, the optimal eviction policy is obtained by composing solutions for the individual addressable items. This approach is then specialized to the Least Recently Used Stack Model (LRUSM), a type of HMRM often considered for traces, which includes V-1 parameters, where V is the size of the virtual space. A gain optimal policy for any target average occupancy is obtained which (i) is computable in time O(V) from the model parameters, (ii) is optimal also for the fixed capacity case, and (iii) is characterized in terms of priorities, with the name of Least Profit Rate (LPR) policy. An O(log C) upper bound (being C the buffer capacity) is derived for the ratio between the expected miss rate of LPR and that of OPT, the optimal off-line policy; the upper bound is tightened to O(1), under reasonable constraints on the LRUSM parameters. Using the stack-distance framework, an algorithm is developed to compute the number of misses incurred by LPR on a given input trace, simultaneously for all buffer capacities, in time O(log V) per access. Finally, some results are provided for miss minimization over a finite horizon and over an infinite horizon under bias optimality, a criterion more stringent than gain optimality.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑