Cargando…
A New NVM Device Driver for IoT Time Series Database
Numerous IoT devices in IoT systems collect data concurrently, which brings great challenges to IoT time series databases to store and manage these data. NVM device has high read–write speed compared with HDD and Flash-based SSD, and it is a possible way to solve the storage bottleneck. However, the...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8954946/ https://www.ncbi.nlm.nih.gov/pubmed/35334677 http://dx.doi.org/10.3390/mi13030385 |
_version_ | 1784676218269859840 |
---|---|
author | Cai, Tao Ma, Yueming Liu, Peiyao Niu, Dejiao Li, Lei |
author_facet | Cai, Tao Ma, Yueming Liu, Peiyao Niu, Dejiao Li, Lei |
author_sort | Cai, Tao |
collection | PubMed |
description | Numerous IoT devices in IoT systems collect data concurrently, which brings great challenges to IoT time series databases to store and manage these data. NVM device has high read–write speed compared with HDD and Flash-based SSD, and it is a possible way to solve the storage bottleneck. However, there are some limitations that should be solved such as the overhead of the I/O software stack for NVM devices and the lack of optimization for IoT time series databases in a Linux environment. By analyzing the characteristics of IoT time series databases and NVM devices, we optimized the device driver of NVM in Linux and provide a new structure of a NVM device driver for IoT time series databases. A multi-queue management strategy and a lightweight load balance mechanism based on frequency were designed to improve the concurrency and efficiency of NVM device drivers. The prototype of an IoT-oriented NVM device driver named TS-PMEM was implemented based on an open-source NVM device driver. Six prototypes were used for evaluation with YCSB-TS, a test tool for time series databases. Results showed that TS-PMEM can improve write throughput of the time series databases by 18.6%, query throughput by 10.6%, and reduce the write latency by 8.3% and query latency by 6.4%. |
format | Online Article Text |
id | pubmed-8954946 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-89549462022-03-26 A New NVM Device Driver for IoT Time Series Database Cai, Tao Ma, Yueming Liu, Peiyao Niu, Dejiao Li, Lei Micromachines (Basel) Article Numerous IoT devices in IoT systems collect data concurrently, which brings great challenges to IoT time series databases to store and manage these data. NVM device has high read–write speed compared with HDD and Flash-based SSD, and it is a possible way to solve the storage bottleneck. However, there are some limitations that should be solved such as the overhead of the I/O software stack for NVM devices and the lack of optimization for IoT time series databases in a Linux environment. By analyzing the characteristics of IoT time series databases and NVM devices, we optimized the device driver of NVM in Linux and provide a new structure of a NVM device driver for IoT time series databases. A multi-queue management strategy and a lightweight load balance mechanism based on frequency were designed to improve the concurrency and efficiency of NVM device drivers. The prototype of an IoT-oriented NVM device driver named TS-PMEM was implemented based on an open-source NVM device driver. Six prototypes were used for evaluation with YCSB-TS, a test tool for time series databases. Results showed that TS-PMEM can improve write throughput of the time series databases by 18.6%, query throughput by 10.6%, and reduce the write latency by 8.3% and query latency by 6.4%. MDPI 2022-02-27 /pmc/articles/PMC8954946/ /pubmed/35334677 http://dx.doi.org/10.3390/mi13030385 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Cai, Tao Ma, Yueming Liu, Peiyao Niu, Dejiao Li, Lei A New NVM Device Driver for IoT Time Series Database |
title | A New NVM Device Driver for IoT Time Series Database |
title_full | A New NVM Device Driver for IoT Time Series Database |
title_fullStr | A New NVM Device Driver for IoT Time Series Database |
title_full_unstemmed | A New NVM Device Driver for IoT Time Series Database |
title_short | A New NVM Device Driver for IoT Time Series Database |
title_sort | new nvm device driver for iot time series database |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8954946/ https://www.ncbi.nlm.nih.gov/pubmed/35334677 http://dx.doi.org/10.3390/mi13030385 |
work_keys_str_mv | AT caitao anewnvmdevicedriverforiottimeseriesdatabase AT mayueming anewnvmdevicedriverforiottimeseriesdatabase AT liupeiyao anewnvmdevicedriverforiottimeseriesdatabase AT niudejiao anewnvmdevicedriverforiottimeseriesdatabase AT lilei anewnvmdevicedriverforiottimeseriesdatabase AT caitao newnvmdevicedriverforiottimeseriesdatabase AT mayueming newnvmdevicedriverforiottimeseriesdatabase AT liupeiyao newnvmdevicedriverforiottimeseriesdatabase AT niudejiao newnvmdevicedriverforiottimeseriesdatabase AT lilei newnvmdevicedriverforiottimeseriesdatabase |