用於採快閃記憶體多感測器物聯網裝置內資料索引之輕量級檢查點機制

Lightweight Checkpoint Support for Data Indexing on Flash-Based, Multi-Sensor IoT Devices

檔案

日期

2023

類型

語言

英文

摘要

Energy-harvesting devices have become increasingly popular for their advantages over battery-based ones, as they are free from battery replacement and their energy storage are much smaller than standard batteries. However, unstable energy harvested from ambient environments may result in occasional power interruption, resulting in the loss of computation progress. To ensure correct task execution across unexpected power events, the concept of intermittent computation has been proposed. Based on this technology, a sensor device may continuously collect data from multiple sensors, producing data records with multiple sensor values in addition to the timestamp. Instead of using file system for the management of such multidimensional data, in this study, we advocate to employ multidimensional key-value (KV) store to better handle event-based or value-based local queries on these sensor devices. This research aims to achieve two primary goals: to support efficient insertion and point/range queries for sensor data and to ensure correct program execution across power events. Our approach is based on the quadtree design for minimizing flash writes without tree re-balancing, and for checkpointing, we propose a rollback-based mechanism for NOR flash memory that exploits the unique capability of byte-level overwriting on NOR flash memory. Experimental results demonstrate that our design obtains a significant reduction of 46\% and 90\% in the total execution under an insertion-oriented workload with periodic checkpointing operations compared with Write-Ahead Logging (WAL) and Copy-On-Write (COW), respectively.
能源收集設備變得越來越受歡迎,相較於使用電池的設備,能源收集設備具有些優勢,它們不需要更換電池,而且其能源存儲的體積遠遠小於標準電池。然而,從環境中收集的能源不穩定,所以可能會導致偶發的電力中斷,失去計算進度。為了確保出現意外的斷電也能確實地完成工作,間歇計算的概念被提出。基於這項技術,感測器設備可以持續收集來自多個感測器的數據,生成具有多個感測器數值以及時間戳記的數據紀錄。在這項研究中,我們主張採用多維鍵值存儲來更好地處理感測器設備上基於事件或基於值的本地查詢,而不是使用檔案系統來管理這種多維數據。這項研究旨在實現兩個主要目標:支持高效率的插入和點/範圍查詢感測器數據,以及確保在電力事件發生時程序的正確執行。我們的方法基於四叉樹設計,在不用重新平衡樹的情況下最小化快閃記憶體的寫入,對於檢查點,我們提出了一種基於NOR快閃記憶體的轉返機制,並善加利用NOR快閃記憶體上的位元組級覆寫的獨特能力。實驗結果表明,在具有定期檢查點操作的插入導向工作負荷下,與預寫式日誌(WAL)和寫入時複製(COW)相比,我們的設計分別減少了46\%和90\%的總執行時間。
顯示完整詮釋資料 統計資料

引用此條目

Chen, Y.-H. (2023). Lightweight Checkpoint Support for Data Indexing on Flash-Based, Multi-Sensor IoT Devices. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/373

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/373