Cargando…

A New Embedded Key–Value Store for NVM Device Simulator

The non-volatile memory (NVM) device is a useful way to solve the memory wall in computers. However, the current I/O software stack in operating systems becomes a performance bottleneck for applications based on NVM devices, especially for key–value stores. We analyzed the characteristics of key–val...

Descripción completa

Detalles Bibliográficos
Autores principales: Cai, Tao, He, Qingjian, Niu, Dejiao, Chen, Fuli, Wang, Jie, Li, Lei
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7761609/
https://www.ncbi.nlm.nih.gov/pubmed/33276585
http://dx.doi.org/10.3390/mi11121075
_version_ 1783627608547655680
author Cai, Tao
He, Qingjian
Niu, Dejiao
Chen, Fuli
Wang, Jie
Li, Lei
author_facet Cai, Tao
He, Qingjian
Niu, Dejiao
Chen, Fuli
Wang, Jie
Li, Lei
author_sort Cai, Tao
collection PubMed
description The non-volatile memory (NVM) device is a useful way to solve the memory wall in computers. However, the current I/O software stack in operating systems becomes a performance bottleneck for applications based on NVM devices, especially for key–value stores. We analyzed the characteristics of key–value stores and NVM devices and designed a new embedded key–value store for an NVM device simulator named PMEKV. The embedded processor in NVM devices was used to manage key–value pairs to reduce the data transfer between NVM devices and key–value applications. Meanwhile, it also cut down the data copy between the user space and the kernel space in the operating system to alleviate the I/O software stacks on the efficiency of key–value stores. The architecture, data layout, management strategy, new interface and log strategy of PMEKV are given. Finally, a prototype of PMEKV was implemented based on PMEM. We used YCSB to test and compare it with Redis, MongDB, and Memcache. Meanwhile, the Redis for PMEM named PMEM-Redis and PMEM-KV were also used to test and compared with PMEKV. The results show that PMEKV had the advantage of throughput and adaptability compared with the current key–value stores.
format Online
Article
Text
id pubmed-7761609
institution National Center for Biotechnology Information
language English
publishDate 2020
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-77616092020-12-26 A New Embedded Key–Value Store for NVM Device Simulator Cai, Tao He, Qingjian Niu, Dejiao Chen, Fuli Wang, Jie Li, Lei Micromachines (Basel) Article The non-volatile memory (NVM) device is a useful way to solve the memory wall in computers. However, the current I/O software stack in operating systems becomes a performance bottleneck for applications based on NVM devices, especially for key–value stores. We analyzed the characteristics of key–value stores and NVM devices and designed a new embedded key–value store for an NVM device simulator named PMEKV. The embedded processor in NVM devices was used to manage key–value pairs to reduce the data transfer between NVM devices and key–value applications. Meanwhile, it also cut down the data copy between the user space and the kernel space in the operating system to alleviate the I/O software stacks on the efficiency of key–value stores. The architecture, data layout, management strategy, new interface and log strategy of PMEKV are given. Finally, a prototype of PMEKV was implemented based on PMEM. We used YCSB to test and compare it with Redis, MongDB, and Memcache. Meanwhile, the Redis for PMEM named PMEM-Redis and PMEM-KV were also used to test and compared with PMEKV. The results show that PMEKV had the advantage of throughput and adaptability compared with the current key–value stores. MDPI 2020-12-02 /pmc/articles/PMC7761609/ /pubmed/33276585 http://dx.doi.org/10.3390/mi11121075 Text en © 2020 by the authors. 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 (http://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Cai, Tao
He, Qingjian
Niu, Dejiao
Chen, Fuli
Wang, Jie
Li, Lei
A New Embedded Key–Value Store for NVM Device Simulator
title A New Embedded Key–Value Store for NVM Device Simulator
title_full A New Embedded Key–Value Store for NVM Device Simulator
title_fullStr A New Embedded Key–Value Store for NVM Device Simulator
title_full_unstemmed A New Embedded Key–Value Store for NVM Device Simulator
title_short A New Embedded Key–Value Store for NVM Device Simulator
title_sort new embedded key–value store for nvm device simulator
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7761609/
https://www.ncbi.nlm.nih.gov/pubmed/33276585
http://dx.doi.org/10.3390/mi11121075
work_keys_str_mv AT caitao anewembeddedkeyvaluestorefornvmdevicesimulator
AT heqingjian anewembeddedkeyvaluestorefornvmdevicesimulator
AT niudejiao anewembeddedkeyvaluestorefornvmdevicesimulator
AT chenfuli anewembeddedkeyvaluestorefornvmdevicesimulator
AT wangjie anewembeddedkeyvaluestorefornvmdevicesimulator
AT lilei anewembeddedkeyvaluestorefornvmdevicesimulator
AT caitao newembeddedkeyvaluestorefornvmdevicesimulator
AT heqingjian newembeddedkeyvaluestorefornvmdevicesimulator
AT niudejiao newembeddedkeyvaluestorefornvmdevicesimulator
AT chenfuli newembeddedkeyvaluestorefornvmdevicesimulator
AT wangjie newembeddedkeyvaluestorefornvmdevicesimulator
AT lilei newembeddedkeyvaluestorefornvmdevicesimulator