Online memory compression for embedded systems

Author:

Yang Lei1,Dick Robert P.1,Lekatsas Haris2,Chakradhar Srimat2

Affiliation:

1. Northwestern University

2. NEC Laboratories America

Abstract

Memory is a scarce resource during embedded system design. Increasing memory often increases packaging costs, cooling costs, size, and power consumption. This article presents CRAMES, a novel and efficient software-based RAM compression technique for embedded systems. The goal of CRAMES is to dramatically increase effective memory capacity without hardware or application design changes, while maintaining high performance and low energy consumption. To achieve this goal, CRAMES takes advantage of an operating system's virtual memory infrastructure by storing swapped-out pages in compressed format. It dynamically adjusts the size of the compressed RAM area, protecting applications capable of running without it from performance or energy consumption penalties. In addition to compressing working data sets, CRAMES also enables efficient in-RAM filesystem compression, thereby further increasing RAM capacity. CRAMES was implemented as a loadable module for the Linux kernel and evaluated on a battery-powered embedded system. Experimental results indicate that CRAMES is capable of doubling the amount of RAM available to applications running on the original system hardware. Execution time and energy consumption for a broad range of examples are rarely affected. When physical RAM is reduced to 62.5% of its original quantity, CRAMES enables the target embedded system to support the same applications with reasonable performance and energy consumption penalties (on average 9.5% and 10.5%), while without CRAMES those applications either may not execute or suffer from extreme performance degradation or instability. In addition to presenting a novel framework for dynamic data memory compression and in-RAM filesystem compression in embedded systems, this work identifies the software-based compression algorithms that are most appropriate for use in low-power embedded systems.

Funder

Division of Computer and Network Systems

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Software

Reference25 articles.

1. A lazy buddy system bounded by two coalescing delays

2. Bell T. C. Cleary J. G. and Witten I. H. 1990. Text Compression. Prentice Hall. Bell T. C. Cleary J. G. and Witten I. H. 1990. Text Compression. Prentice Hall.

3. Bovet D. P. and Cesati M. 2002. Understanding the Linux Kernel 2nd Ed. O'Reilly & Associates Inc. Bovet D. P. and Cesati M. 2002. Understanding the Linux Kernel 2nd Ed. O'Reilly & Associates Inc.

4. Heap compression for memory-constrained Java environments

Cited by 13 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Prediction-Guided Performance Improvement on Compressed Memory Swap;2022 IEEE International Conference on Consumer Electronics (ICCE);2022-01-07

2. Data Compression and Re-computation Based Performance Improvement in Multi-Core Architectures;2020 10th Annual Computing and Communication Workshop and Conference (CCWC);2020-01

3. Modeling the Power Consumption of Function-Level Code Relocation for Low-Power Embedded Systems;Applied Sciences;2019-06-08

4. Context-aware energy optimization for perpetual IoT-based safe communities;Sustainable Computing: Informatics and Systems;2019-06

5. $ezswap$ : Enhanced Compressed Swap Scheme for Mobile Devices;IEEE Access;2019

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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