This application relates to a SSD back-end performance analysis method, device, computer equipment and storage medium, in which the method includes: first, obtaining the SSD back-end performance analysis request; calculating the total number of downloaded descriptors according to the SSD back-end performance analysis request; determining whether the total number of downloaded descriptors is greater than the total number of recycled descriptors; and if the total number of downloaded descriptors is required; The execution time of the descriptor is recorded when the total number of recovery descriptors is not greater. Data transmission rate is calculated according to the execution time of the descriptor and the data size of the descriptor operation to analyze the performance of SSD backend. The invention realizes the back-end module completely, which is used to analyze the limit performance of the hardware IP of the SSD back-end module separately. In addition, by comparing the performance of the invention and the theoretical performance of the back-end module, the bottleneck of the system's software and hardware performance can be better analyzed, and the reference and direction for improving the performance of the whole system can be provided.
【技术实现步骤摘要】
SSD后端性能分析方法、装置、计算机设备和存储介质
本专利技术涉及固态硬盘性能分析
,特别是涉及一种SSD后端性能分析方法、装置、计算机设备和存储介质。
技术介绍
目前,SSD(SolidStateDisk固态硬盘)全系统是由多个模块组成,常见的系统性能分析通常是针对整个系统的性能进行分析。常见的SSD性能测试软件CrystalDiskMark、PCMArk等,这些软件只对整体性能进行分析,无法得出各模块的性能。在传统技术中,通常都是利用CrystalDiskMark对整个系统进行测试,代码是基于FPGA平台的。对整个系统的性能进行测试,意味着将所有模块包括Controller,DRAM以及FLASH,而控制器主要有PCIe,NVMe,DPM,FTL,NFC,DDR,Platform模块等为一个整体进行性能分析。因此,当系统性能较低需要优化时,这种测试方法很难知道系统各模块的性能,也无法定位系统的性能瓶颈所在。
技术实现思路
基于此,有必要针对上述技术问题,提供一种可以实现单独分析SSD后端性能的SSD后端性能分析方法、装置、计算机设备和存储介质。一种SSD后端 ...
【技术保护点】
1.一种SSD后端性能分析方法,所述方法包括:获取SSD后端性能分析请求;根据所述SSD后端性能分析请求计算需下发描述符的总数;判断所述需下发描述符的总数是否大于回收描述符的总数;若所述需下发描述符的总数不大于回收描述符的总数,则记录描述符执行时间;根据所述描述符执行的时间和描述符操作的数据大小计算数据传输速率以实现对SSD后端性能进行分析。
【技术特征摘要】
1.一种SSD后端性能分析方法,所述方法包括:获取SSD后端性能分析请求;根据所述SSD后端性能分析请求计算需下发描述符的总数;判断所述需下发描述符的总数是否大于回收描述符的总数;若所述需下发描述符的总数不大于回收描述符的总数,则记录描述符执行时间;根据所述描述符执行的时间和描述符操作的数据大小计算数据传输速率以实现对SSD后端性能进行分析。2.根据权利要求1所述的SSD后端性能分析方法,其特征在于,在判断所述需下发描述符的总数是否大于回收描述符的总数的步骤之后还包括:若所述需下发描述符的总数大于回收描述符的总数,则按die下发描述符;判断NFC中的cdmachannelfifo是否已满;若所述NFC中的cdmachannelfifo已满,则根据die的编号获取对应的描述符,并检查所述对应的描述符的状态;判断所述描述符是否执行成功;若所述描述符执行成功,则回收描述符的计数加1;若所述描述符未执行成功,则重置NFC中的cdmachannel,直至所述描述符执行成功。3.根据权利要求2所述的SSD后端性能分析方法,其特征在于,在判断NFC中的cdmachannelfifo是否已满的步骤还包括:若所述NFC中的cdmachannelfifo未满,则继续按die下发描述符直至所述NFC中的cdmachannelfifo已满。4.根据权利要求1-3任一项所述的SSD后端性能分析方法,其特征在于,所述根据所述SSD后端性能分析请求计算需下发描述符的总数的步骤包括:获取下发描述符所使用的NAND的die的个数、NAND的block的个数以及NAND的page的个数;根据所述NAND的die的个数、NAND的block的个数以及NAND的page的个数计算需下发描述符的总数。5.一种SSD后端性能分析装置,其特征在于,所述SSD后端性能分析装置包括:获取模块,所述获取模块用于获取SSD后端性能分析请求;第一计算模块,所述第一计算模块用于根据所述SSD后端性能分析请求计算需下发描述符的总数;第一判断模块,所...
【专利技术属性】
技术研发人员:周晨杰,冯元元,周强,
申请(专利权)人:深圳忆联信息系统有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。