Wanju Doh;Seoyoung Ko;Michael Jaemin Kim;Jung Ho Ahn
{"title":"Hechi: A Hybrid Approach for Efficient Memory Reclamation Techniques in Mobile Systems","authors":"Wanju Doh;Seoyoung Ko;Michael Jaemin Kim;Jung Ho Ahn","doi":"10.1109/LES.2024.3494854","DOIUrl":null,"url":null,"abstract":"Application startup time, the time it takes for an application to become visible to the user from startup, is a crucial factor affecting user experience in mobile systems. The startup time of applications switching from the background (switching time) depends largely on the number of pages read from storage. When an application starts for the first time or reloads after being killed, it suffers from longer startup time (cold-launch time) as it begins from scratch. To mitigate this, minimizing application kills while retaining essential data in main memory can help, but it involves a tradeoff: reclaiming more file-backed pages (<monospace>file</monospace> pages) slows down switching due to the overhead of fetching them from storage, while reclaiming more anonymous pages (<monospace>anon</monospace> pages) that not associated with any file risks app termination due to limited swap space. Hechi addresses this tradeoff using a hybrid memory reclamation approach. By deprioritizing the reclamation of essential file pages and dynamically adjusting the reclamation ratio of the two types of pages based on the system states, Hechi improves startup time by up to 17%.","PeriodicalId":56143,"journal":{"name":"IEEE Embedded Systems Letters","volume":"17 3","pages":"192-195"},"PeriodicalIF":1.7000,"publicationDate":"2024-11-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Embedded Systems Letters","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10750026/","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
Application startup time, the time it takes for an application to become visible to the user from startup, is a crucial factor affecting user experience in mobile systems. The startup time of applications switching from the background (switching time) depends largely on the number of pages read from storage. When an application starts for the first time or reloads after being killed, it suffers from longer startup time (cold-launch time) as it begins from scratch. To mitigate this, minimizing application kills while retaining essential data in main memory can help, but it involves a tradeoff: reclaiming more file-backed pages (file pages) slows down switching due to the overhead of fetching them from storage, while reclaiming more anonymous pages (anon pages) that not associated with any file risks app termination due to limited swap space. Hechi addresses this tradeoff using a hybrid memory reclamation approach. By deprioritizing the reclamation of essential file pages and dynamically adjusting the reclamation ratio of the two types of pages based on the system states, Hechi improves startup time by up to 17%.
期刊介绍:
The IEEE Embedded Systems Letters (ESL), provides a forum for rapid dissemination of latest technical advances in embedded systems and related areas in embedded software. The emphasis is on models, methods, and tools that ensure secure, correct, efficient and robust design of embedded systems and their applications.