期刊文献+

内核多线程直接存储PCIE驱动设计 被引量:3

DESIGNING KERNEL MULTITHREAD DIRECT STORAGE PCIE DRIVER
下载PDF
导出
摘要 在Linux系统中,高速存储驱动会将大量数据从内核空间复制到用户空间进行存储,这将导致存储速度下降和剧烈波动。针对该问题,结合自行设计开发的PCIE接口高速图像存储系统,分析Linux下PCIE驱动的一般组成及实现,提出一种在驱动中实现多线程多缓存直接存储的方法。首先图像数据乒乓DMA传输到双DMA缓存中,然后将数据乒乓转存到内核空间双大缓存中,最后由内核线程直接写入SSD。经该方法优化后的SSD存储速度达到100MB/s以上,比常规方法提升了65%以上。在实际工程中,输入512×512@200Hz的14位灰度图像能够实现稳定存储,避免了原来的丢帧现象,且性能稳定,取得了良好的优化效果。 In Linux system, high-speed storage drive will copy large amounts of data from kernel space to user space for storage, and this results in the decrease of storage speed and sharp volatility. Aiming at the problem, in combination with the self-designed and developed PCIE interface high-speed image storage system, we analyse the general composition of PCIE drive under Linux and its implementation, and put forward a method to realise multithread multi-buffer direct storage in driver. First, it transfers the ping-pong DMA of image data to double DMA buffer, then it saves the data ping-pong to double big buffer of kernel space, and finally directly writes them to SSD by kernel thread. After optimised with this method, SSD storage speed reaches more than 100 MB/s and gains over 65% improvement compared with conventional methods. In practical projects, by inputting 14 bits gray image with 512 × 512 @ 200 Hz, SSD can achieve stable storage, this avoids previous phenomenon of frame loss, the performance is stable as well, and achieves good optimisation result.
出处 《计算机应用与软件》 CSCD 2016年第9期235-237,263,共4页 Computer Applications and Software
基金 国防实验基金项目(YJ14K015)
关键词 图像存储 PCIE DMA LINUX 驱动 多线程 Image storage PCIE DMA Linux Drive Multithread
  • 相关文献

参考文献7

二级参考文献29

  • 1韩红霞,郭劲,曹立华,耿爱辉.利用光纤进行多路数据与视频图像信息混合传输[J].光学精密工程,2005,13(z1):30-33. 被引量:11
  • 2何慧颖,胡越明,蒋嫣枫.基于DSP的PCI总线数据传输的实现[J].计算机工程,2004,30(B12):497-498. 被引量:8
  • 3HECHTJ.光纤光学[M].北京:人民邮电出版社,2004.
  • 4王攀科.图像处理中高速接口互联技术研究[D]. 北京:中国科学院,2009.
  • 5富,谭笑,蒋慧娟. 光纤通信系统原理与实验教程[M]. 北京:电子工业出版社,2004.
  • 6Xilinx. Rocket IO Transceiver User Guide[Z].2004.6.
  • 7Xilinx. Virtex-II Pro and Virtex-II Pro X Platform FPGA: Complete Data Sheet [Z].2005.10.
  • 8Xilinx. Virtex-II Pro and Virtex-II Pro XFPGA User Guide [Z]. 2007.11.
  • 9Camera Link committee. Camera Link Specifications[Z]. 2000.10.
  • 10姜立冬.VHDL语言程序设计及应用[M].北京:北京邮电大学出版社,2001..

共引文献52

同被引文献37

引证文献3

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部