SWAM:重新审视Swap与OOMK以提升移动设备上的应用响应性
SWAM: Revisiting Swap and OOMK for Improving Application Responsiveness on Mobile Devices
AI总结:
针对移动设备现有内存回收策略影响应用响应的问题,提出集成内存管理技术SWAM,结合自适应交换、OOM清理与EOOM终止机制,显著减少应用被杀数量并提升启动与响应速度。
摘要:
移动设备上现有的内存回收策略可能已不再适用,因为它们会对运行中应用的响应时间产生负面影响。本文提出了SWAM,这是一种新型集成内存管理技术,可弥补移动设备中交换机制与终止进程机制的不足,提升应用响应性。SWAM包含三个部分:(1)自适应交换(Adaptive Swap),在动态管理交换空间的同时,自适应地将数据交换到内存或存储设备中;(2)OOM清理器(OOM Cleaner),回收交换空间中的共享对象页,以保障可用内存与存储空间;(3)EOOM终止器(EOOM Killer),在最坏情况下终止进程,同时优先选择初始化成本最低的应用作为受害进程。实验结果表明,与传统方案相比,SWAM大幅减少了被OOMK(内存不足终止器)杀死的应用数量(降低6.5倍),并将应用启动时间提升了36%,响应时间提升了41%。
英文摘要:
Existing memory reclamation policies on mobile devices may be no longer valid because they have negative effects on the response time of running applications. In this paper, we propose SWAM, a new integrated memory management technique that complements the shortcomings of both the swapping and killing mechanism in mobile devices and improves the application responsiveness. SWAM consists of (1) Adaptive Swap that performs swapping adaptively into memory or storage device while managing the swap space dynamically, (2) OOM Cleaner that reclaims shared object pages in the swap space to secure available memory and storage space, and (3) EOOM Killer that terminates processes in the worst case while prioritizing the lowest initialization cost applications as victim processes first. Experimental results demonstrate that SWAM significantly reduces the number of applications killed by OOMK (6.5x lower), and improves application launch time (36% faster) and response time (41% faster), compared to the conventional schemes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。