IOSR: Improving I/O Efficiency for Memory Swapping on Mobile Devices Via Scheduling and Reshaping

Author:

Li Wentong1ORCID,Shi Liang1ORCID,Li Hang2ORCID,Li Changlong2ORCID,Sha Edwin Hsing-Mean2ORCID

Affiliation:

1. Software/Hardware Co-design Engineering Research Center, Ministry of Education, and School of Computer Science and Technology, East China Normal University, China

2. School of Computer Science and Technology, East China Normal University, China

Abstract

Mobile systems and applications are becoming increasingly feature-rich and powerful, which constantly suffer from memory pressure, especially for devices equipped with limited DRAM. Swapping inactive DRAM pages to the storage device is a promising solution to extend the physical memory. However, existing mobile devices usually adopt flash memory as the storage device, where swapping DRAM pages to flash memory may introduce significant performance overhead. In this paper, we first conduct an in-depth analysis of the I/O characteristics of the flash-based memory swapping, including the I/O interference and swap I/O randomness in swap subsystem. Then an I/O efficiency optimization framework for memory swapping (IOSR) is proposed to enhance the performance of flash-based memory swapping for mobile devices. IOSR consists of two methods: swap I/O scheduling (SIOS) and swap I/O pattern reshaping (SIOR). SIOS is designed to schedule the swap I/O to reduce interference with other processes I/Os. SIOR is designed to reshape the swap I/O pattern with process-oriented swap slot allocation and adaptive granularity swap read-ahead. IOSR is implemented on Google Pixel 4. Experimental results show that IOSR reduces the application switching time by 31.7% and improves the swap-in bandwidth by 35.5% on average compared to the state-of-the-art.

Funder

NSFC

CCF-Huawei Populus Grove Fund

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Software

Reference41 articles.

1. 2023. All Xiaomi that will have the RAM Expansion Function. https://www.xiaomist.com/2021/07/these-are-all-xiaomi-that-can-already.html

2. 2023. AndroBench. http://www.androbench.org/wiki/AndroBench

3. 2023. Android Debug Bridge(Adb): Android Developers. https://developer.android.com/studio/command-line/adb

4. 2023. Android RAM Management Tips and Tricks. https://www.droidviews.com/android-ram-management/

5. 2023. Blktrace. https://man7.org/linux/man-pages/man8/blktrace.8.html

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3