Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Submission method of descriptor of network interface card (NIC) based on mixing of PIO (process input output) and DMA (direct memory access)

A network interface card and descriptor technology, applied in the field of high-speed interconnection network of high-performance computers, can solve the problems of transmission bottleneck, low startup overhead, limited capacity, etc., achieve capacity expansion, improve submission efficiency and data communication efficiency, and reduce startup delayed effect

Active Publication Date: 2014-03-05
NAT UNIV OF DEFENSE TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the limitation of hardware resources, the capacity of the hardware send queue is limited, for example, it is fixed to be able to receive 512 8-byte data, which may cause a problem: when the hardware send queue is full and the user process still needs descriptors When writing, the user process needs to query the status of the hardware send queue to determine whether new descriptor data can be written to the hardware send queue
[0024] As mentioned above, the DMA method submits the descriptor to increase the startup overhead, and the advantage is that the capacity is large; the PIO method submits the descriptor to obtain a lower startup overhead, but the disadvantage is that the capacity is small, and it will become a transmission bottleneck in some application backgrounds.

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
  • Submission method of descriptor of network interface card (NIC) based on mixing of PIO (process input output) and DMA (direct memory access)
  • Submission method of descriptor of network interface card (NIC) based on mixing of PIO (process input output) and DMA (direct memory access)
  • Submission method of descriptor of network interface card (NIC) based on mixing of PIO (process input output) and DMA (direct memory access)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] like image 3 As shown, the implementation steps of the method for submitting the network interface card descriptor in this embodiment are as follows:

[0068] 1) Establish a hardware send queue for storing descriptors and doorbell data written in PIO mode in the network interface card, and establish a main memory send queue for storing descriptors in the main memory; the hardware send queue and the main memory send The read pointer of the queue is maintained by the network interface card, and the write pointer of the hardware send queue and the main memory send queue is maintained by the user process;

[0069] 2) Initially generate the descriptor to be sent according to the user's communication request, and the type of the initialized generated descriptor is a normal descriptor without data or an immediate descriptor with data;

[0070] 3) Determine the type of the descriptor to be sent. If the descriptor to be sent is an immediate descriptor, write it into the hardwa...

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 submission method of a descriptor of an NIC based on mixing of PIO and DMA. The implementation steps are as follows: 1) a hardware transmit queue is built in an NIC, and a main store transmit queue is built in a main store; 2) a descriptor is initialized; and 3) a consumer process accesses the NIC directly to write the descriptor into the hardware transmit queue directly in a PIO manner, or the descriptor is submitted to the main transmit queue, while door-bell data is written into the hardware transmit queue; when the NIC processes the data of the hardware transmit queue sequentially, current data type is judged, if the current data is the descriptor, and read-back processing is performed from the hardware transmit queue according to the value of a length field; and if the current data is the door-bell data, the current data is retaken and then processed from the main store transmit queue, and a process that the NIC implements the DMA to read a next descriptor and a process of processing the current descriptor are overlapped. The submission method has the advantages that the message start delay is small, the capacity of the transmit queue is large, and data are processed simply and efficiently.

Description

technical field [0001] The invention relates to the field of high-speed interconnection network of high-performance computers, in particular to a PIO- and DMA-based network interface card descriptor submission method. Background technique [0002] A high-performance computer is connected to a large number of main processor nodes (hereinafter referred to as nodes), such as computing nodes, storage nodes, and dedicated processing nodes. Any of these nodes can be used as an end node, which is defined herein as a device in a high-performance computer that produces or ultimately consumes messages. Each node includes a network interface card (NIC) that connects the node to a high-speed interconnection network. The NIC is connected to the node by a general I / O bus such as a PCIE bus. [0003] The user process of the node interacts with the NIC through the port to complete various user-level communication operations. Ports send and receive messages using queue pairs. Each queue ...

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 Patents(China)
IPC IPC(8): G06F13/28H04L12/863
Inventor 徐炜遐刘路王永庆沈胜宇曹继军张鹤颖张磊肖灿文庞征斌王克非伍楠戴艺高蕾
Owner NAT UNIV OF DEFENSE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products