一种面向嵌入式NVMe存储设备的对齐优化设计  被引量:1

An Alignment Optimization Design for Embedded NVMe Storage Device

在线阅读下载全文

作  者:王冬 任晓瑞[1] 杨琼[1] 张鹏[1] 朱双四 赵艾琦 WANG Dong;REN Xiao-rui;YANG Qiong;ZHANG Peng;ZHU Shuang-si;ZHAO Ai-qi(Xi′an Aeronautics Computing Technique Research Institute,AVIC,Xi′an 710000,China)

机构地区:[1]航空工业西安航空计算技术研究所,陕西西安710000

出  处:《航空计算技术》2024年第1期103-106,共4页Aeronautical Computing Technique

基  金:国家重点研发计划项目资助(2017YFB1301100)。

摘  要:嵌入式领域的软件存储栈较为精简,嵌入式文件系统等上层软件在使用NVMe驱动时没有专门的块设备管理层处理缓冲区不对齐,导致发生操作失败、数据内容不一致等问题。文章提出了一种对齐优化设计,当用户读、写缓冲区不满足对齐要求时,动态维护对齐链式缓冲池,以完成针对NVMe控制器的数据中转,同时按照通道数目建立了多链表对齐缓冲池,并使用计数信号量保证NVMe驱动的并发性能。通过这种优化设计能够以较小的性能损耗,解决嵌入式NVMe驱动因对齐导致的不可用问题。The software storage stack in the embedded field is relatively streamlined,when upper level software such as embedded file system using NVMe driver,there is no dedicated fast device management layer to handle buffer misalignment,causing operational failure,inconsistent data content,and other issues.This article proposes an alignment optimization design to address this issue,when the user′s read/write buffer does not meet the alignment requirement,dynamic maintenance of aligned chain buffer pool,to complete data transfer for NVMe controller.Simultaneously established a multi linked list alignment buffer pool based on the number of channels,and use counting semaphore to ensure the concurrency performance of NVMe driver.Through this optimization design,the issue of unavailability caused by alignment in embedded NVMe driver can be solved with minimal performance loss.

关 键 词:对齐优化 链式缓冲池 并发性能 嵌入式NVMe驱动 

分 类 号:TP316[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象