Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2020 Apr 11;20(8):2159.
doi: 10.3390/s20082159.

A Durable Hybrid RAM Disk with a Rapid Resilience for Sustainable IoT Devices

Affiliations

A Durable Hybrid RAM Disk with a Rapid Resilience for Sustainable IoT Devices

Sung Hoon Baek et al. Sensors (Basel). .

Abstract

Flash-based storage is considered to be a de facto storage module for sustainable Internet of things (IoT) platforms under a harsh environment due to its relatively fast speed and operational stability compared to disk storage. Although their performance is considerably faster than disk-based mechanical storage devices, the read and write latency still could not catch up with that of Random-access memory (RAM). Therefore, RAM could be used as storage devices or systems for time-critical IoT applications. Despite such advantages of RAM, a RAM-based storage system has limitations in its use for sustainable IoT devices due to its nature of volatile storage. As a remedy to this problem, this paper presents a durable hybrid RAM disk enhanced with a new read interface. The proposed durable hybrid RAM disk is designed for sustainable IoT devices that require not only high read/write performance but also data durability. It includes two performance improvement schemes: rapid resilience with a fast initialization and direct byte read (DBR). The rapid resilience with a fast initialization shortens the long booting time required to initialize the durable hybrid RAM disk. The new read interface, DBR, enables the durable hybrid RAM disk to bypass the disk cache, which is an overhead in RAM-based storages. DBR performs byte-range I/O, whereas direct I/O requires block-range I/O; therefore, it provides a more efficient interface than direct I/O. The presented schemes and device were implemented in the Linux kernel. Experimental evaluations were performed using various benchmarks at the block level till the file level. In workloads where reads and writes were mixed, the durable hybrid RAM disk showed 15 times better performance than that of Solid-state drive (SSD) itself.

Keywords: IoT; direct byte read; hybrid RAM disk; operating system; secondary storage; sustainability.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
Software stack for the durable hybrid RAM disk (DHRD) with direct byte read (DBR).
Figure 2
Figure 2
Software stack for the durable hybrid RAM disk (DHRD) with direct byte read(DBR).
Figure 3
Figure 3
The three primitive operations of the durable hybrid RAM disk; read, write and initialization.
Figure 4
Figure 4
Three write cases during initialization. DHRD ensures data integrity with proper policy for each case.
Figure 5
Figure 5
Software stack of DHRD for the cases of redundant memory copy and direct byte read.
Figure 6
Figure 6
The results of block-level benchmark evaluation. It plots throughputs of random read and random write workloads at block level.
Figure 7
Figure 7
SPC traces: It plots two I/O traces from online transaction processing (OLTP) applications running at two large financial institutions and three I/O traces from a popular search engine.
Figure 8
Figure 8
The results of file-level benchmark evaluation. It plots throughputs of sequential I/O, random read, random write, and mixed random read and write workloads at file level.
Figure 9
Figure 9
A benchmark using Filebench with fileserver workloads.
Figure 10
Figure 10
A generic SSHD and a DHRD-based SSHD.
Figure 11
Figure 11
The results of tiered storage in hybrid storage device. It plots I/O throughputs of tiered storage assuming that SSD, DHRD, and DBR DHRD are used as a cache tiered in a tiered storage.
Figure 12
Figure 12
A result of reading and writing for video files.

References

    1. Bagatin M., Gerardin S., Paccagnella A., Beltrami S., Camerlenghi E., Bertuccio M., Costantino A., Zadeh A., Ferlet-Cavrois V., Santin G., et al. Effects of heavy-ion irradiation on vertical 3-D NAND flash memories. IEEE Trans. Nucl. Sci. 2017;65:318–325. doi: 10.1109/TNS.2017.2777887. - DOI
    1. Fedorchenko A., Kotenko I.V., Chechulin A. Integrated Repository of Security Information for Network Security Evaluation. JoWUA. 2015;6:41–57.
    1. Android Things. [(accessed on 10 April 2020)]; Available online: https://developer.android.com/things.
    1. Ninglekhu J., Krishnan R., John E., Panday M. Securing Implantable Cardioverter Defibrillators Using Smartphones. J. Internet Serv. Inf. Secur. (JISIS) 2015;5:47–64.
    1. Jo H., Kang J.U., Park S.Y., Kim J.S., Lee J. FAB: Flash-aware buffer management policy for portable media players. IEEE Trans. Consum. Electron. 2006;52:485–493.