Revitalizing Buffered I/O: Optimizing Page Reclaim and I/O Throttling

计算机科学 操作系统 线程(计算) 页面错误 延迟(音频) 写入缓冲区 绩效改进 按需分页 带宽遏流 并行计算 虚拟内存 内存管理 半导体存储器 隐藏物 缓存算法 CPU缓存 机械工程 电信 运营管理 气体压缩机 经济 工程类
作者
Jong-Seok Kim,Chan‐Mo Yu,Euiseong Seo
标识
DOI:10.1109/iccd58817.2023.00078
摘要

Buffered I/O is commonly used as a default mechanism in most file systems because it provides high performance by keeping recently accessed data in memory as page caches. We discovered that the long-standing code within the memory management of the Linux kernel performs unnecessary and indiscriminate operations during the page reclaiming and writing procedures, leading to a degradation in the performance of buffered I/O. Current memory management performs aging tasks, moving pages from the active state list to the inactive state list, even during page reclamation for urgent memory acquisition. It also unnecessarily holds the lock used for modifying the least recently used (LRU) list. These non-essential tasks results in performance degradation when buffered I/O is allocating pages and adding them into the LRU list. Furthermore, in write-intensive situations, the performance of writes is degraded by blindly forcing the write thread to sleep in order to maintain dirty pages at a pre-determined ratio in total memory. In this paper, we improve the memory management system by eliminating these unnecessarily or blindly performed aging, locks, and sleep tasks, thereby enhancing the performance of buffered I/O. We implemented our proposed approaches in the Linux kernel and evaluated these impacts on the performance of buffered I/O using FIO, FileBench, and YCSB on RocksDB. Our approach reduced the tail latency of random reads and improved the throughput of random writes in most workloads.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
大幅提高文件上传限制,最高150M (2024-4-1)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
李健应助左丘映易采纳,获得10
4秒前
evanevanus完成签到,获得积分10
4秒前
luochen完成签到,获得积分10
4秒前
ttddtds发布了新的文献求助10
5秒前
6秒前
Ailash完成签到,获得积分10
8秒前
8秒前
畅响完成签到 ,获得积分10
8秒前
1111发布了新的文献求助10
9秒前
绿松石鸢尾完成签到,获得积分10
10秒前
朴素的月光完成签到,获得积分10
11秒前
科研小白完成签到,获得积分10
12秒前
scot应助幽默含莲采纳,获得20
13秒前
望京望京发布了新的文献求助10
13秒前
李健应助xiaogang127采纳,获得10
13秒前
15秒前
Ge发布了新的文献求助10
16秒前
淡然的芷荷完成签到 ,获得积分10
18秒前
sysucy完成签到,获得积分10
18秒前
乘风破浪发布了新的文献求助100
19秒前
俞晓发布了新的文献求助10
20秒前
李健应助望京望京采纳,获得10
20秒前
22秒前
23秒前
无限平凡发布了新的文献求助10
25秒前
左丘映易发布了新的文献求助10
27秒前
28秒前
zwzxtx完成签到,获得积分10
28秒前
望京望京完成签到,获得积分20
29秒前
foredoom007完成签到,获得积分10
29秒前
莫非发布了新的文献求助30
30秒前
foredoom007发布了新的文献求助30
33秒前
YUYUYU完成签到,获得积分10
35秒前
罗布林卡完成签到,获得积分0
37秒前
37秒前
小1完成签到,获得积分10
38秒前
40秒前
火星上的靖雁完成签到,获得积分10
40秒前
41秒前
zzw发布了新的文献求助10
42秒前
高分求助中
Sustainable Land Management: Strategies to Cope with the Marginalisation of Agriculture 1000
Corrosion and Oxygen Control 600
Python Programming for Linguistics and Digital Humanities: Applications for Text-Focused Fields 500
Heterocyclic Stilbene and Bibenzyl Derivatives in Liverworts: Distribution, Structures, Total Synthesis and Biological Activity 500
重庆市新能源汽车产业大数据招商指南(两链两图两池两库两平台两清单两报告) 400
Division and square root. Digit-recurrence algorithms and implementations 400
行動データの計算論モデリング 強化学習モデルを例として 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 有机化学 工程类 生物化学 纳米技术 物理 内科学 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 电极 光电子学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 2546625
求助须知:如何正确求助?哪些是违规求助? 2175850
关于积分的说明 5601248
捐赠科研通 1896667
什么是DOI,文献DOI怎么找? 946382
版权声明 565379
科研通“疑难数据库(出版商)”最低求助积分说明 503569