LUNAR: A Native Table Engine for Embedded Devices

Xiaopeng Fan, Song Yan, Yuchen Huang, Chuliang Weng*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

Embedded systems have evolved tremendously in recent years. We perform a study on SQLite and find that the multiple layers of abstraction drastically reduce bandwidth utilization. To minimize the bandwidth loss in the I/O path, we propose Lunar, a novel native table storage engine. Lunar performs a cross-layer design across the database and file system to avoid the pitfalls of multi-layer abstraction while providing SQL-compatible APIs. It employs a type-aware storage layout that considers the access patterns of different data types. Then, Lunar designs a variable-size allocator to reduce fragmentation and optimize RAM and I/O bandwidth usage. Further, considering the limited resources on embedded devices, Lunar employs a modular architecture that enables selecting modules on demand. It also offers optional consistency modes to make a trade-off between resource consumption and consistency. Experiments show that Lunar achieves higher bandwidth utilization, outperforming state-of-the-art approaches while consuming fewer resources.

Original languageEnglish
Title of host publicationLCTES 2023 - Proceedings of the 24th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, and Tools for Embedded Systems
EditorsBernhard Egger, Dongyoon Lee
PublisherAssociation for Computing Machinery
Pages122-133
Number of pages12
ISBN (Electronic)9798400701740
DOIs
StatePublished - 13 Jun 2023
Event24th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, and Tools for Embedded Systems, LCTES 2023 - Orlando, United States
Duration: 18 Jun 2023 → …

Publication series

NameProceedings of the ACM SIGPLAN Conference on Languages, Compilers, and Tools for Embedded Systems (LCTES)

Conference

Conference24th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, and Tools for Embedded Systems, LCTES 2023
Country/TerritoryUnited States
CityOrlando
Period18/06/23 → …

Keywords

  • consistency
  • embedded devices
  • modularity
  • storage management

Fingerprint

Dive into the research topics of 'LUNAR: A Native Table Engine for Embedded Devices'. Together they form a unique fingerprint.

Cite this