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

Data sending method and computer

A data sending method and computer technology, applied in the field of computing, to achieve the effect of improving the efficiency of sending packets and increasing the speed

Inactive Publication Date: 2012-07-04
SUGON INFORMATION IND
View PDF8 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the problem in the related art that data transmission cannot be efficiently realized under the requirement of large flow, the present invention proposes a data transmission method and a computer, which can effectively increase the rate of data packet transmission, improve the efficiency of packet transmission, and can cope with high-speed packet transmission such as 10 Gigabit network cards. scene

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
  • Data sending method and computer
  • Data sending method and computer
  • Data sending method and computer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] According to an embodiment of the present invention, a data sending method is provided, which is used to realize data sending in a multi-CPU environment.

[0023] like figure 1 As shown, the data sending method according to the embodiment of the present invention includes:

[0024] Step S101, for each CPU, the CPU stores the data to be sent in the storage area corresponding to the CPU;

[0025] In step S103, multiple CPUs send the data stored in the corresponding storage areas to the network card, and the network card sends the data.

[0026] The method may further include: mapping the data in the storage area corresponding to each CPU to the application corresponding to the data, so that when the data in the storage area changes (for example, is modified), the application can directly Layers are reflected, allowing operators to see these data changes clearly and intuitively.

[0027] In addition, each CPU maps its corresponding storage area as a queue, and the CPU p...

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 data sending method and a computer. The data sending method comprises the following steps: each of a plurality of CPUs (central processing unit) stores the data to be sent in data storage areas which correspond to the CPUs, the plurality of CPUs send the data stored in the corresponding data storage areas to a network card, and the network card sends the data. Because each CPU core accesses the respective data storage area and writes in the data, the processing capacity of the multi-core CPUs can be fully utilized, parallel transmission of data packets is realized, the data packet transmission speed can be effectively increased, the data packet transmission efficiency can be improved, and the situation of high-speed transmission of the data packets by Gigabit network cards and the like can be handled.

Description

technical field [0001] The present invention relates to the computing field, and in particular, to a data sending method and a computer. Background technique [0002] At present, the zero-copy technology of gigabit network cards is mainly implemented based on traditional intel gigabit network cards. [0003] Usually, during the transmission of network data packets, the application program needs to interact with the NIC packet buffer in the kernel by copying. This copying process will inevitably reduce performance and speed, and cannot be used in large-traffic scenarios. Moreover, the current gigabit zero-copy is implemented based on single-queue technology. However, in the case of 10-gigabit access, the data packet rate per unit time will increase by about 10 times, while a single gigabit network card There will be a high performance loss in the transmission queue and buffer interaction, so the traditional technology will not be able to cope with such a high data rate, whic...

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
IPC IPC(8): G06F15/16
Inventor 万伟刘兴彬王泼刘铁陈科朱春屹王清李云华李博文董建珊杨锦涛孙一鸣范玉峰曹振南邵宗有
Owner SUGON INFORMATION IND
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