Kernel multithreading direct-access drive implementation method

An implementation method and multi-threading technology, applied in the direction of instrumentation, electrical digital data processing, etc., can solve the problems of decreased response speed of the operating system, low storage speed, and low real-time performance, and achieve high speed stability, fast storage speed, Strong real-time effects

Active Publication Date: 2015-07-15
INST OF OPTICS & ELECTRONICS - CHINESE ACAD OF SCI
View PDF2 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The whole process must be completed by the cooperation of the application program and the driver. At the same time, a large amount of data needs to be copied from the kernel space to the user space. The operation needs to be completed in the application program, and the real-time performance is not high. These factors will inevitably lead to low storage speed and large fluctuations

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Kernel multithreading direct-access drive implementation method
  • Kernel multithreading direct-access drive implementation method
  • Kernel multithreading direct-access drive implementation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In a storage device of the Institute of Optoelectronics Technology of the Chinese Academy of Sciences, this method was actually adopted and produced ideal results.

[0026] In this device, the FPGA (Virtex6xc6vlx240t) of XILINX Company is used to implement the DMA controller of the PCIE interface. DDMACR is the control status register, and the D1 bit is defined as the ready to start storage bit, and the D2 bit is the data ready bit. Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. This embodiment is carried out on the premise of the technical solution of the present invention, and the detailed implementation and specific operation process are given, but the protection scope of the present invention is not limited to the following embodiments.

[0027] The present invention is based on a kernel multi-thread direct storage drive implementation method, the input image is a 14-bit grayscale image of 512x51...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a kernel multithreading direct-access drive implementation method which is mainly used for improving the storage speed and speed stability of a memory system and realizing continuous high-speed DMA (Direct Memory Access). Compared with a traditional data access drive implementation method, the kernel multithreading direct-access drive implementation method has the advantages that all data operations are in a kernel, so that an operation of copying a great deal of data from a kernel space to a user space through a copy-to-user function is avoided, and frequent switching between a kernel mode and a user mode is avoided; in addition, a kernel thread has a relatively high priority, so that the data transmission speed is relatively stable, the speed is relatively high, and the real-time performance is relatively high; multiple times of DAM data are cached into a large internal memory, so that an operation of frequently writing small files into a hard disk is avoided, and the storage speed of the hard disk is improved.

Description

technical field [0001] The present invention relates to a method for implementing kernel multi-thread direct storage drive, in particular to a multi-level ping-pong buffer in the kernel, combining multiple DMAs into larger data blocks, and then calling the kernel layer file operation function in the kernel to convert the data The driving realization method of directly storing in the hard disk is mainly used in image acquisition and storage systems and network high-speed storage systems. The invention belongs to the technical field of high-speed data stream storage in high-speed storage systems. Background technique [0002] In the image high-speed acquisition system and network high-speed storage system, a large amount of data is sent to the data receiving hardware module at a certain frequency or irregular high speed. In order to balance the rate mismatch between data input and transmission storage, the data receiving hardware module generally includes a data input buffer....

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/24
Inventor 王仕明徐智勇傅承毓
Owner INST OF OPTICS & ELECTRONICS - CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products