Reduction of operating system jitter caused by page reclaim

ROSS@ICS Pub Date : 2014-06-10 DOI:10.1145/2612262.2612270
Y. Oyama, Shun Ishiguro, J. Murakami, Shin Sasaki, R. Matsumiya, O. Tatebe
{"title":"Reduction of operating system jitter caused by page reclaim","authors":"Y. Oyama, Shun Ishiguro, J. Murakami, Shin Sasaki, R. Matsumiya, O. Tatebe","doi":"10.1145/2612262.2612270","DOIUrl":null,"url":null,"abstract":"Operating system jitter is one of the major causes of runtime overhead in applications of high performance computing. Jitter results from the execution of services by the operating system kernel, such as interrupt handling and tasklets, or the execution of various daemon processes developed in order to provide operating system services, such as memory management daemons. This execution interrupts application computations and increases their execution time. Jitter significantly affects applications where many processes or threads frequently synchronize with each other. In this paper, we investigate the impact of jitter caused by reclaiming memory pages, and propose a method for reducing the impact. The target operating system is Linux. When the Linux kernel runs out of memory, the kernel awakens a special kernel thread to reclaim memory pages that are unlikely to be used in the near future. If the kernel thread is frequently awakened, application performance is degraded because of its resource consumption. The proposed method can reclaim memory pages in advance of the kernel thread. It reclaims more pages at one time than the kernel thread, thus reducing the frequency of page reclaim and the impact of jitter. We implement a system based on the proposed method and conduct an experiment using practical weather forecast software. Results of the experiment show that the proposed method minimizes performance degradation caused by jitter.","PeriodicalId":216902,"journal":{"name":"ROSS@ICS","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-06-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ROSS@ICS","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2612262.2612270","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

Operating system jitter is one of the major causes of runtime overhead in applications of high performance computing. Jitter results from the execution of services by the operating system kernel, such as interrupt handling and tasklets, or the execution of various daemon processes developed in order to provide operating system services, such as memory management daemons. This execution interrupts application computations and increases their execution time. Jitter significantly affects applications where many processes or threads frequently synchronize with each other. In this paper, we investigate the impact of jitter caused by reclaiming memory pages, and propose a method for reducing the impact. The target operating system is Linux. When the Linux kernel runs out of memory, the kernel awakens a special kernel thread to reclaim memory pages that are unlikely to be used in the near future. If the kernel thread is frequently awakened, application performance is degraded because of its resource consumption. The proposed method can reclaim memory pages in advance of the kernel thread. It reclaims more pages at one time than the kernel thread, thus reducing the frequency of page reclaim and the impact of jitter. We implement a system based on the proposed method and conduct an experiment using practical weather forecast software. Results of the experiment show that the proposed method minimizes performance degradation caused by jitter.
减少由页面回收引起的操作系统抖动
操作系统抖动是高性能计算应用程序运行时开销的主要原因之一。抖动是由操作系统内核执行服务造成的,比如中断处理和微线程,或者是为了提供操作系统服务而开发的各种守护进程的执行造成的,比如内存管理守护进程。此执行会中断应用程序的计算并增加其执行时间。当许多进程或线程频繁地相互同步时,抖动会严重影响应用程序。在本文中,我们研究了由内存页面回收引起的抖动的影响,并提出了一种减少影响的方法。目标操作系统为Linux。当Linux内核用完内存时,内核会唤醒一个特殊的内核线程来回收近期不太可能使用的内存页。如果频繁地唤醒内核线程,则由于其资源消耗而降低应用程序性能。该方法可以在内核线程之前回收内存页。它一次回收比内核线程更多的页面,从而减少了页面回收的频率和抖动的影响。在此基础上实现了系统,并利用实际天气预报软件进行了实验。实验结果表明,该方法可以最大限度地降低抖动引起的性能下降。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信