具能量模擬的間歇計算裝置的增強型快閃記憶體轉換層

Enhanced Flash Translation Layer for Intermittent Computing Devices with Energy Emulation

檔案

日期

2022

類型

語言

中文

摘要

能源收集系統使小型嵌入式裝置能夠利用環境中的能源運行,但是由於環境能源不
穩定的特性使裝置容易遭遇頻繁的斷電,雖然可藉由執行時備份系統狀態至可位元存
取的非揮發性記憶體以實現間歇式計算,但是昂貴的價格使它不適合用於大量資料儲
存,因此採用快閃記憶體 (Flash) 做為資料儲存裝置。這種以 FRAM 作為工作記憶體並
以 NORFlash 作為資料及程式碼儲存裝置的混和式記憶體架構在斷電恢復時會產生記憶
體狀態不一致的狀況,先前採用擦除回撤及同時採用擦除回撤及棄置回撤方法的混合
式回撤解決,這篇研究調查這兩種方法後發現在輸入循序資料時若遭遇頻繁斷電則原
先具有優勢的混合式回撤效能將急遽下降,我們發現這是因為回撤時有效資料與無效
資料混和造成,我們將這種狀況稱為死活混和,並提出基於預測的棄置方法藉由在檢
查點時預測接下來到下個檢查點前是否會斷電來分離資料,在只額外使用一個塊的情
況下使執行時間減少 30%,除此之外先前斷電事件的觸發使用的時間驅動斷電無法考
慮到裝置耗電及各部件耗電不一致的情形,因此這篇研究也試圖建立一個能源偵測架
構,使系統能利用能源驅動斷電事件,雖然開發版上的 EnergyTrace 能偵測耗能但無法
直接傳遞給裝置韌體,因此在這個架構中透過一個位於 PC 端的遠端程式取得耗能資料
後再回送至裝置韌體當中,但是由於資料傳遞延遲會使裝置韌體誤判剩餘能量,因此
我們透過資料來回時間以及不間斷傳送資料此兩種方法估計出最大的可能延遲時間,
另外使用互斥運算的特性確保傳遞資料的可靠性。
Energy harvesting systems enable embedded devices to utilize energy from the environment,
however, due to the unstable nature of environmental energy, the device is prone to frequent
power failures. Although intermittent computing can be achieved by backing up the system
state to FRAM at runtime, but the high price makes it unsuitable for large amounts of storage, therefore, we use flash memory as the data storage. This hybrid memory architecture uses
FRAM as the working memory and NORFlash as the data and code storage device, resulting
in inconsistent memory status when restored. Previously solved using Erase Undo and Hybrid
Undo. This study investigates these two methods and finds that the previously HybridUndo
performance decreases if frequent power failures are encountered during sequential workload,
We found that this is due to valid and invalid data mixture during undo operation, we call this
Alive-Dead mixture.We propose Prediction-based undo to separate data by predict at checkpoint
whether the power failure before the next checkpoint. Reduces execution time by 30% when
only one additional block is used. In addition to the previous power failure event triggered by
time-driven power failure can not take into account the device power consumption, therefore,
this study also establishes an energy detection framework, enabling the system to use energydriven drive power failure. Although the EnergyTrace on the development board can detect energy consumption but cannot directly transfer energy events to the device firmware.Therefore, in
this architecture, energy consumption data is obtained through a remote program on the PC and
then sent back to the device firmware. However, the delay in data transfer may cause the device
firmware to misjudge the remaining energy. We estimate the maximum possible delay time by
using the two methods of data return time and uninterrupted data transmission. In addition, the
reliability of the transferred data is ensured by the use of mutually exclusive operations.
顯示完整詮釋資料 統計資料

引用此條目

呂柏勳 (2022). 具能量模擬的間歇計算裝置的增強型快閃記憶體轉換層. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/80356

BibTeX RIS

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

分享

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