CN102780642A - Multichannel network message transmission method - Google Patents

Multichannel network message transmission method Download PDF

Info

Publication number
CN102780642A
CN102780642A CN2012103013413A CN201210301341A CN102780642A CN 102780642 A CN102780642 A CN 102780642A CN 2012103013413 A CN2012103013413 A CN 2012103013413A CN 201210301341 A CN201210301341 A CN 201210301341A CN 102780642 A CN102780642 A CN 102780642A
Authority
CN
China
Prior art keywords
message
network
multichannel
sending
transmission method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012103013413A
Other languages
Chinese (zh)
Inventor
丁兆南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN UTOPIA SYSTEM INTEGRATION CO Ltd
Original Assignee
SHENZHEN UTOPIA SYSTEM INTEGRATION CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN UTOPIA SYSTEM INTEGRATION CO Ltd filed Critical SHENZHEN UTOPIA SYSTEM INTEGRATION CO Ltd
Priority to CN2012103013413A priority Critical patent/CN102780642A/en
Publication of CN102780642A publication Critical patent/CN102780642A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a multichannel network message transmission method, comprising the following steps of: respectively mapping each network card message buffer queue to a user space by using multiqueue network card hardware, wherein each thread of application program or multiple application programs can simultaneously and respectively operate corresponding queue; respectively carrying out DMA (Direct Memory Access) on the message into the corresponding buffer queue by using the performance of host multicore CPU (Central Processing Unit); and then informing the network card to carry out sending process through a flow control mechanism. The multichannel network message transmission method has the following beneficial effects that the whole transmission process realizes the zero participation of the CPU in the network message sending process, and high-efficient wire speed sending is carried out in Gbit/10Gbit network environment; therefore, the method alleviates the load of a multichannel message sending system and improves the performance of system sending message.

Description

The multichannel network message transmitting method
Technical field
The present invention relates to the network communications technology, particularly a kind of multichannel network message transmitting method of multichannel zero-copy
Background technology
In network security, the network detecting, fields such as network test, the data transmission method for uplink of high-speed and high-efficiency is the problem of industry primary study.In existing technology; Transmitted data on network is realized through protocol stack; Though this method can guarantee the versatility in the general operation system; But because data transmission procedure need send through kernel, the low and waste system resource of the speed of giving out a contract for a project prior art in current Gbit and following 10Gbit Ethernet can not satisfy current application demand.
Summary of the invention
The technical problem that the present invention solved provide a kind of in the network message process of transmitting zero the participating in of central processing unit, alleviated the load of multichannel transmitting system, improved system and sent the multichannel network message transmitting method of the performance of message.
For solving the problems of the technologies described above, multichannel network message transmitting method provided by the invention is following:
The a plurality of message buffering formations of NIC driver application are used for sending and receiving message;
Utilize many formations characteristic of polycaryon processor network interface card hardware, be mapped to user's space to each network interface card packet buffer formation respectively, each thread of application program or a plurality of application programs can be operated corresponding queues simultaneously respectively.Utilize the performance of main frame multi-core CPU, respectively message DMA in its corresponding cache formation.
Send processing through a kind of flow-control mechanism notice network interface card then.
The good effect that the present invention had is: whole transmission course realizes zero participation of central processing unit in the network message process of transmitting; In the network environment of Gbit/10Gbit, carrying out efficiently linear speed gives out a contract for a project; Alleviate the load of multichannel transmitting system, improved the performance that system sends message
Description of drawings
Below in conjunction with accompanying drawing and embodiment the present invention is done further detailed explanation.
Fig. 1 is a multichannel network message transmitting method schematic diagram of the present invention;
Fig. 2 is a multichannel network message transmitting method FB(flow block) of the present invention.
Embodiment
Like Fig. 1, shown in Figure 2, multichannel network message transmitting method provided by the invention is following:
The a plurality of message buffering formations of NIC driver application are used for sending and receiving message;
Utilize many formations network interface card hardware, be mapped to user's space to each network interface card packet buffer formation respectively, each thread of application program or a plurality of application programs can be operated corresponding queues simultaneously respectively.Utilize the performance of main frame multi-core CPU, respectively message DMA in its corresponding cache formation.
Send processing through a kind of flow-control mechanism notice network interface card then.

Claims (1)

1. multichannel network message transmitting method, it is characterized in that: said multichannel network message transmitting method is:
The a plurality of message buffering formations of NIC driver application are used for sending and receiving message;
Utilize many formations network interface card hardware, be mapped to user's space to each network interface card packet buffer formation respectively, each thread of application program or a plurality of application programs can be operated corresponding queues simultaneously respectively;
Utilize the performance of main frame multi-core CPU, respectively message DMA in its corresponding cache formation;
Send processing through a kind of flow-control mechanism notice network interface card then.
CN2012103013413A 2012-08-23 2012-08-23 Multichannel network message transmission method Pending CN102780642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103013413A CN102780642A (en) 2012-08-23 2012-08-23 Multichannel network message transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103013413A CN102780642A (en) 2012-08-23 2012-08-23 Multichannel network message transmission method

Publications (1)

Publication Number Publication Date
CN102780642A true CN102780642A (en) 2012-11-14

Family

ID=47125403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103013413A Pending CN102780642A (en) 2012-08-23 2012-08-23 Multichannel network message transmission method

Country Status (1)

Country Link
CN (1) CN102780642A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015149374A1 (en) * 2014-04-04 2015-10-08 华为技术有限公司 Method and system for distributing network data in many-core processor
CN108111558A (en) * 2016-11-25 2018-06-01 中兴通讯股份有限公司 A kind of high-speed packet disposal method, apparatus and system
US10305823B2 (en) 2014-10-31 2019-05-28 Huawei Technologies Co., Ltd. Network interface card configuration method and resource management center

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6714516B1 (en) * 1999-04-30 2004-03-30 Alcatel Congestion control mechanism for SSCOP protocol
CN101146034A (en) * 2007-04-18 2008-03-19 中兴通讯股份有限公司 A SMN packet control method
CN102497322A (en) * 2011-12-19 2012-06-13 曙光信息产业(北京)有限公司 High-speed packet filtering device and method realized based on shunting network card and multi-core CPU (Central Processing Unit)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6714516B1 (en) * 1999-04-30 2004-03-30 Alcatel Congestion control mechanism for SSCOP protocol
CN101146034A (en) * 2007-04-18 2008-03-19 中兴通讯股份有限公司 A SMN packet control method
CN102497322A (en) * 2011-12-19 2012-06-13 曙光信息产业(北京)有限公司 High-speed packet filtering device and method realized based on shunting network card and multi-core CPU (Central Processing Unit)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015149374A1 (en) * 2014-04-04 2015-10-08 华为技术有限公司 Method and system for distributing network data in many-core processor
CN105164980A (en) * 2014-04-04 2015-12-16 华为技术有限公司 Method and system for distributing network data in many-core processor
CN105164980B (en) * 2014-04-04 2019-01-08 华为技术有限公司 The distribution method and system of many-core lower network data
US10305823B2 (en) 2014-10-31 2019-05-28 Huawei Technologies Co., Ltd. Network interface card configuration method and resource management center
CN108111558A (en) * 2016-11-25 2018-06-01 中兴通讯股份有限公司 A kind of high-speed packet disposal method, apparatus and system

Similar Documents

Publication Publication Date Title
US10868767B2 (en) Data transmission method and apparatus in optoelectronic hybrid network
WO2017020722A1 (en) Virtual machine based data transmission method, device and system
CN104281493A (en) Method for improving performance of multiprocess programs of application delivery communication platforms
CN108366018B (en) DPDK-based network data packet processing method
US10609125B2 (en) Method and system for transmitting communication data
CN103051716A (en) Method and system for redirecting network-oriented serial device
CN102609307A (en) Multi-core multi-thread dual-operating system network equipment and control method thereof
CN105868000B (en) A kind of expansible data processing method of parallelization for network I/O virtualization
CN101719872B (en) Zero-copy mode based method and device for sending and receiving multi-queue messages
CN102780642A (en) Multichannel network message transmission method
CN106789099B (en) PCIE-based high-speed network isolation method and terminal
CN103049421A (en) Method and device for data transmission between central processing unit (CPU) and co-processors
US10554368B2 (en) Wireless data-acknowledgement communication using frame aggregation
CN104753813A (en) DMA (Direct Memory Access) message transfer method
CN107493574B (en) Wireless controller equipment, parallel authentication processing method, system and networking device
US11044350B1 (en) Methods for dynamically managing utilization of Nagle's algorithm in transmission control protocol (TCP) connections and devices thereof
CN103353750A (en) Multi-bus microwave metallurgical control system and method
US11477304B2 (en) Conversion to an internet protocol stream
CN102904964A (en) Mass concentrator concurrent processing method based on completion port model
KR20140125311A (en) Apparatus and method for processing traffic using network interface card with multi-core
WO2019015487A1 (en) Data retransmission method, rlc entity and mac entity
JP4627290B2 (en) Rate control method, server, and program using TCP
Jang et al. Design of a lightweight TCP/IP protocol stack with an event-driven scheduler
TW201421420A (en) Graphic processing unit virtual apparatus, graphic processing unit host apparatus, and graphic processing unit program processing methods thereof
Tian et al. Rxio: Design and implementation of high performance rdma-capable gridftp

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121114