Skip to content
Open access

Experimental evaluation of compression algorithms for memory-constrained embedded systems

Sep 2026 · Frontiers of Computer Science · 0 citations · 29 references

TL;DR

Evaluating the suitability of several lossless compression algorithms for resource-constrained embedded platforms and how data representation influences compression performance demonstrates significant trade-offs between compression ratio, execution speed, and memory requirements in embedded environments.

Abstract

Embedded systems are constrained by limited flash memory, RAM (random access memory), and processing power, making efficient local data storage and transmission challenging. This study evaluates the suitability of several lossless compression algorithms for resource-constrained embedded platforms and assesses how data representation influences compression performance. LZW, Heatshrink, LZ4, FastLZ, and Miniz were evaluated directly on an STM32U575ZI microcontroller (Arm Cortex-M33, 160 MHz). A 104,067-byte sensor dataset comprising repetitive time-series measurements of soil and ambient temperature, humidity, battery voltage, timestamps, and identifiers was used as the test workload. The dataset was stored in three formats: CSV (comma-separated values) (104,067 bytes), binary (33,576 bytes), and bit-packed binary (26,581 bytes). Compression ratio, execution time, and total application RAM consumption, including input and output buffers, were measured. Miniz achieved the highest compression efficiency, reducing the 33,576-byte binary dataset to 11,352 bytes (33.81% of the original size). The fastest compression was obtained with LZ4 configured with acceleration = 16, which compressed the bit-packed representation in 9.437 ms and produced a 25,692-byte output. Among configurations selected for minimum compressed output, FastLZ achieved the shortest execution time at 31.653 ms. When total RAM consumption was evaluated consistently, including all required buffers, LZ4 operating on the bit-packed representation required the least memory among the minimum-output configurations, consuming 58,496 bytes. The results demonstrate significant trade-offs between compression ratio, execution speed, and memory requirements in embedded environments. Data representation substantially influences compression effectiveness, with binary and bit-packed formats generally improving efficiency over CSV. The findings provide practical guidance for selecting compression algorithms in resource-constrained embedded systems, where minimizing storage, execution time, or memory usage may be prioritized depending on application requirements.

Read PDF

Similar papers

Open access Sep 2026

Workload-Aware Performance Profiling of IoT Microcontrollers: A Cross-Architecture Benchmark Across Compression, Cryptography and Signal Processing

This study compares active-computation energy and latency for twelve compression, security/integrity and signal-processing workloads on ESP32, RP2040 and STM32F446. Common scalar C kernels process fixed 2048-byte inputs on one application core under two operating profiles: maximum nominal CPU clocks of 240, 200 and 180...

Nicoleta-Alexandra Trancă, Noela-Elena Pîrleci, Dumitru-Cristian Trancă et al. · 0 citations
Book Open access Sep 2026

A Low-Overhead, Lightweight, Lossless GPU Compression Algorithm for Numerical Simulations

HPC (High Performance Computing) applications such as numerical simulations are memory-intensive. As memory grows scarce compared to compute power, compression could alleviate hardware demands by reducing memory footprint at runtime, especially on GPU. Existing compression algorithms for scientific data are not specifi...

T. Hovi, François Letierce, L. Lucas · 0 citations

The KV Cache Is the New Memory Wall

Autoregressive LLM inference at long context is bounded by memory bandwidth, not arithmetic throughput, and the binding resource shifts from model weights to the Key-Value (KV) cache as sequence length grows. For Llama-3-70B in BF16, the 140 GB weight footprint exceeds the 80 GB HBM of a single accelerator, and one 128...

Tejinder Singh · 0 citations
Open access Aug 2026

Sense-Now Reconstruct-Later : An Analog In-memory Compression and Non-volatile Storage Paradigm for Always-ON Sensing

In this paper, we describe a system-on-chip (SoC) architecture that can be used to address both the information and energy bottlenecks for in-sensor compute platforms. The architecture is based on a sense-now reconstruct-later paradigm, where compression and non-volatile storage of sparse events are achieved using an a...

Subhankar Bose, Darshit Mehta, Ramchandra reddy Atigadda et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.