Efficient External Sorting for Memory-Constrained Embedded Devices with Flash Memory

被引:2
|
作者
Jackson, Riley [1 ]
Gresl, Jonathan [1 ]
Lawrence, Ramon [1 ]
机构
[1] Univ British Columbia, 3187 Univ Way, Kelowna, BC V1V 1V7, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
Sorting; Arduino; embedded; performance; Internet of Things;
D O I
10.1145/3446976
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Embedded devices are ubiquitous in areas of industrial and environmental monitoring, health and safety, and consumer appliances. A common use case is data collection, processing, and performing actions based on data analysis. Although many Internet of Things (IoT) applications use the embedded device simply for data collection, there are benefits to having more data processing done closer to data collection to reduce network transmissions and power usage and provide faster response. This work implements and evaluates algorithms for sorting data on embedded devices with specific focus on the smallest memory devices. In devices with less than 4 KB of available RAM, the standard external merge sort algorithm has limited application as it requires a minimum of three memory buffers and is not flash-aware. The contribution is a memory-optimized external sorting algorithm called no output buffer sort (NOBsort) that reduces the minimum memory required for sorting, has excellent performance for sorted or near-sorted data, and sorts on external memory such as SD cards or raw flash chips. When sorting large datasets, no output buffer sort reduces I/O and execution time by between 20% to 35% compared to standard external merge sort.
引用
收藏
页数:21
相关论文
共 50 条
  • [1] Adaptive Flash Sorting for Memory-Constrained Embedded Devices
    Lawrence, Ramon
    [J]. 36TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2021, 2021, : 321 - 326
  • [2] Efficient Flash Indexing for Time Series Data on Memory-constrained Embedded Sensor Devices
    Fazackerley, Scott
    Ould-Khessal, Nadir
    Lawrence, Ramon
    [J]. PROCEEDINGS OF THE 10TH INTERNATIONAL CONFERENCE ON SENSOR NETWORKS (SENSORNETS), 2021, : 92 - 99
  • [3] A Metadata Encoding for Memory-Constrained Devices
    Ali, Farha
    Feaster, Yvon
    Wahba, Sally K.
    Hallstrom, Jason O.
    [J]. PROCEEDINGS OF THE 49TH ANNUAL ASSOCIATION FOR COMPUTING MACHINERY SOUTHEAST CONFERENCE (ACMSE '11), 2011, : 191 - 196
  • [4] Garbage collector assisted memory offloading for memory-constrained devices
    Chen, DQ
    Messer, A
    Milojicic, D
    Dwarkadas, S
    [J]. FIFTH IEEE WORKSHOP ON MOBILE COMPUTING SYSTEMS & APPLICATIONS, PROCEEDINGS, 2003, : 54 - 63
  • [5] FlexNN: Efficient and Adaptive DNN Inference on Memory-Constrained Edge Devices
    Li, Xiangyu
    Li, Yuanchun
    Li, Yuanzhe
    Cao, Ting
    Liu, Yunxin
    [J]. PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON MOBILE COMPUTING AND NETWORKING, ACM MOBICOM 2024, 2024, : 709 - 723
  • [6] Middleware specialization for memory-constrained networked embedded systems
    Subramonian, V
    Xing, GL
    Gill, C
    Lu, CY
    Cytron, R
    [J]. RTAS 2004: 10TH IEEE REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM, PROCEEDINGS, 2004, : 306 - 313
  • [7] Anomaly Prediction Based on k-means Clustering for Memory-constrained Embedded Devices
    Kitagawa, Yuto
    Ishigoka, Tasuku
    Azumi, Takuya
    [J]. 2017 16TH IEEE INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND APPLICATIONS (ICMLA), 2017, : 26 - 33
  • [8] A new face authentication system for memory-constrained devices
    Lee, K
    Byun, H
    [J]. IEEE TRANSACTIONS ON CONSUMER ELECTRONICS, 2003, 49 (04) : 1214 - 1222
  • [9] Flexible Intrusion Detection Systems for Memory-Constrained Embedded Systems
    Tabrizi, Farid Molazem
    Pattabiraman, Karthik
    [J]. 2015 ELEVENTH EUROPEAN DEPENDABLE COMPUTING CONFERENCE (EDCC), 2015, : 1 - 12
  • [10] Tracking Recurrent Concepts Using Context in Memory-constrained Devices
    Bartolo Gomes, Joao
    Menasalvas, Ernestina
    Sousa, Pedro A. C.
    [J]. UBICOMM 2010: THE FOURTH INTERNATIONAL CONFERENCE ON MOBILE UBIQUITOUS COMPUTING, SYSTEMS, SERVICES AND TECHNOLOGIES, 2010, : 446 - 451