首页> 外文OA文献 >Swap Fairness for Thrashing Mitigation
【2h】

Swap Fairness for Thrashing Mitigation

机译:交换公平性以减轻威胁

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

The swap mechanism allows operating systems to manage more memory than the available RAM space, by temporarily storing unused memory pages on disk. However, disk transfers are way slower than normal RAM operations, and under memory pressure, the system may spend more time in retrieving and storing swapped pages than performing actual computation: this state is called memory thrashing. To reduce thrashing, several ideas were brought up to optimize page replacement algorithms and system-wide load. For instance, Linux currently implements the swap-token, a mechanism designed to immunize the memory pages of the heaviest process against swapping. Such a mechanism eliminates early thrashing peaks and improves general system performance if the process is to finish quickly. The swap-token may however be counterproductive when it is tricked into advantaging malicious or long-standing processes. This is particularily true in the context of shared hosting or virtualization, where multiple users run uncoordinated and selfish workloads. In this paper, we present an accounting layer that forces swap fairness among processes competing for main memory. It ensures that a process cannot perform longer swap operations than others, and delays the swap operations of processes abusing the swapping mechanism. With such a layer, we are able to significantly reduce the dispersion of execution times under memory pressure, and generally improve the performance of legit, memory-heavy processes running concurrently with abusive ones.
机译:交换机制通过将未使用的内存页面临时存储在磁盘上,使操作系统可以管理的内存超过可用RAM空间。但是,磁盘传输比正常的RAM操作要慢得多,并且在内存压力下,系统可能比执行实际计算花费更多的时间来检索和存储交换的页面:这种状态称为内存颠簸。为了减少抖动,提出了一些想法来优化页面替换算法和系统范围的负载。例如,Linux当前实现了交换令牌,一种旨在使最重进程的内存页免于交换的机制。如果该过程要快速完成,则这种机制可以消除早期的抖动峰,并提高总体系统性能。但是,如果诱使交换令牌利用恶意或长期存在的进程,则可能适得其反。在共享主机或虚拟化的情况下尤其如此,在这种情况下,多个用户运行不协调且自私的工作负载。在本文中,我们提出了一个会计层,该层强制争用主内存的进程之间的交换公平性。它确保一个进程不能执行比其他进程更长的交换操作,并延迟滥用该交换机制的进程的交换操作。通过这样的层,我们能够显着减少在内存压力下执行时间的分散,并且通常可以提高与滥用进程同时运行的合法的,占用大量内存的进程的性能。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号