CN107124374A - A kind of interface for lifting network interface card send and receive packets performance, method and system - Google Patents

A kind of interface for lifting network interface card send and receive packets performance, method and system Download PDF

Info

Publication number
CN107124374A
CN107124374A CN201710339319.0A CN201710339319A CN107124374A CN 107124374 A CN107124374 A CN 107124374A CN 201710339319 A CN201710339319 A CN 201710339319A CN 107124374 A CN107124374 A CN 107124374A
Authority
CN
China
Prior art keywords
module
interface card
data
queue
network interface
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
CN201710339319.0A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710339319.0A priority Critical patent/CN107124374A/en
Publication of CN107124374A publication Critical patent/CN107124374A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9063Intermediate storage in different physical parts of a node or terminal
    • H04L49/9068Intermediate storage in different physical parts of a node or terminal in the network interface card

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a kind of interface for lifting network interface card send and receive packets performance, method and system, interface includes:Queue builds module, Data write. module and queue correcting module;Wherein, the queue builds module, and the data pack buffer queue for building correspondence target network interface card in internal memory, the data pack buffer queue includes the cache blocks that at least one is sized;The Data write. module, for when the target network clamping receives a received data packet, by a cache blocks in the received data packet write-in data pack buffer queue of target network clamping receipts;The queue correcting module, for when the target network interface card sends out one and sends packet, the memory block for being used to store the transmission packet in the internal memory being emptied, and the memory block emptied is increased in the data pack buffer queue.By technical scheme, the send and receive packets performance of network interface card can be improved.

Description

A kind of interface for lifting network interface card send and receive packets performance, method and system
Technical field
The present invention relates to field of computer technology, more particularly to a kind of interface for lifting network interface card send and receive packets performance, method and System.
Background technology
With continuing to develop for information technology, the application of network interface card is widely popularized, between different communication equipments Packet can be received or sent by the network interface card set respectively inside it, so as to realize the communication between different communication equipment.
At present, network interface card is triggered by hard break first during received data packet, and corresponding network interface card receiving queue is fitted Orchestration is mounted in CPU queue, receives the receiving queue of poll network interface card in traps in network, the packet received is released DMA map, then distributes new internal memory DMA map to network interface card packet receiving queue.Network interface card send packet during, be in into Journey context, after the packet that Upper Level Network Protocol is transmitted is sent, can trigger network and send traps, in transmission is soft The internal memory of packet can be discharged in disconnected or the packet for sending failure is resend away.
It can be seen that, in above-mentioned technical proposal, when network interface card frequently receives or sends packet, then need frequently to apply and Releasing memory, influences the send and receive packets performance of network interface card.
The content of the invention
The embodiments of the invention provide a kind of interface for lifting network interface card send and receive packets performance, method and system, network interface card can be lifted Send and receive packets performance.
In a first aspect, the invention provides a kind of interface for lifting network interface card send and receive packets performance, including:
Queue builds module, Data write. module and queue correcting module;Wherein,
The queue builds module, the data pack buffer queue for building correspondence target network interface card in internal memory, the number Include at least one cache blocks being sized according to bag buffer queue;
The Data write. module, for when the target network clamping receives a received data packet, by the target The cache blocks that the received data packet that network interface card is received is write in the data pack buffer queue;
The queue correcting module, for when the target network interface card sends out one and sends packet, by the internal memory In be used to store the memory block of the transmission packet and empty, and the memory block emptied is increased into the data pack buffer In queue.
Preferably,
Also include:Detection module and memory allocating module;Wherein,
The detection module, for when the target network clamping receives a received data packet, detecting the packet Whether there is at least one free buffer block in buffer queue, when there is at least one free buffer block, triggering the data Writing module;Otherwise, the memory allocating module is triggered;
The Data write. module, under the triggering of the detection module, by described in target network clamping receipts The free buffer block that received data packet is write in the data pack buffer queue;In touching for the memory allocating module Give, the newly-increased internal memory that the received data packet that the target network clamping is received is write in the data pack buffer queue Block;
The memory allocating module, connects for being distributed under the triggering of the detection module in the internal memory described in correspondence The newly-increased memory block of packet is received, the newly-increased memory block is increased into the data pack buffer queue, and trigger the data Writing module.
Preferably, in addition to:
Monitor processing module, it is described monitoring for monitoring whether the target network interface card receives target operation instruction When target network clamping receives the target operation instruction, the data pack buffer queue is discharged.
Preferably, the target operation instruction includes:Data package size revision directive and out code.
The interface of any described lifting network interface card send and receive packets performance is carried in second aspect, a kind of utilization first aspect of the invention The method for rising network interface card send and receive packets performance, including:
The data pack buffer queue that module builds correspondence target network interface card in internal memory is built using queue, the packet delays Depositing queue includes at least one cache blocks being sized;
Using Data write. module when the target network clamping receives a received data packet, by the target network clamping The cache blocks that the received data packet received is write in the data pack buffer queue;
Using queue correcting module when the target network interface card sends out one and sends packet, it will be used in the internal memory The storage memory block for sending packet is emptied, and the memory block emptied is increased into the data pack buffer queue In.
Preferably,
One write in the received data packet for receiving the target network clamping in the data pack buffer queue Before individual cache blocks, in addition to:
Using detection module when the target network clamping receives a received data packet, the data pack buffer team is detected It whether there is at least one free buffer block in row, if it is, performing step A1;Otherwise, step A2 and A3 are performed;
A1:The received data packet for being received the target network clamping using Data write. module is write the packet and delayed Deposit a free buffer block in queue;
A2:The newly-increased memory block of the correspondence received data packet is distributed in the internal memory using memory allocating module, will The newly-increased memory block increases to the data pack buffer queue;
A3:The received data packet for being received the target network clamping using Data write. module is write the packet and delayed Deposit the newly-increased memory block in queue.
Preferably, in addition to:
Monitor whether the target network interface card receives target operation instruction using monitor processing module, monitoring the mesh When mark network interface card receives the target operation instruction, the data pack buffer queue is discharged.
Preferably, the target operation instruction includes:Data package size revision directive and out code.
The third aspect, the embodiments of the invention provide a kind of system for lifting network interface card send and receive packets performance, including:
Network interface card, and the interface as described in any in above-mentioned first aspect;Wherein, the network interface card, for receiving and sending Packet.
The embodiments of the invention provide a kind of interface for lifting network interface card send and receive packets performance, method and system, the interface includes There is queue to build module, Data write. module and queue correcting module, queue builds module can build correspondence target in internal memory The data pack buffer queue of network interface card, the data pack buffer queue includes the cache blocks that at least one is sized;On the one hand, when Target network is stuck in when receiving a received data packet, and the received data packet that Data write. module can then receive network interface card is directly write Enter a cache blocks in data pack buffer queue, and extra application memory block carrys out the reception of caching of target network interface card no longer from internal memory 's;On the other hand, after network interface card, which sends out one, sends packet, queue correcting module can be sent being used to store in internal memory The memory block of packet is emptied, and the memory block emptied is increased in data pack buffer queue, no longer the memory block to emptying Directly discharged.As fully visible, when network interface card is received and sends packet, frequently application and releasing memory, lifting can be avoided Network interface card send and receive packets performance.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of structural representation of the interface for lifting network interface card send and receive packets performance that one embodiment of the invention is provided;
Fig. 2 is the structural representation of the interface for another lifting network interface card send and receive packets performance that one embodiment of the invention is provided;
Fig. 3 is the structural representation of the interface for another lifting network interface card send and receive packets performance that one embodiment of the invention is provided;
Fig. 4 is a kind of method flow diagram for lifting network interface card send and receive packets performance that one embodiment of the invention is provided;
Fig. 5 is the flow chart of the method for another lifting network interface card send and receive packets performance that one embodiment of the invention is provided.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of interface for lifting network interface card send and receive packets performance, including:
Queue builds module 101, Data write. module 102 and queue correcting module 103;Wherein,
The queue builds module 101, the data pack buffer queue for building correspondence target network interface card in internal memory, described Data pack buffer queue includes the cache blocks that at least one is sized;
The Data write. module 102, for when the target network clamping receives a received data packet, by the mesh Mark a cache blocks in the received data packet write-in data pack buffer queue that network interface card is received;
The queue correcting module 103, will be described interior for when the target network interface card sends out one and sends packet Emptied in depositing for storing the memory block of the transmission packet, and the memory block emptied is increased into the packet and delayed Deposit in queue.
In the above embodiment of the present invention, the interface of lifting network interface card send and receive packets performance includes queue structure module, data and write Enter module and queue correcting module, queue builds module can build the data pack buffer queue of correspondence target network interface card in internal memory, The data pack buffer queue includes the cache blocks that at least one is sized;On the one hand, one is received when target network is stuck in During received data packet, Data write. module can then write direct the received data packet that network interface card is received in data pack buffer queue One cache blocks, and extra application memory block carrys out the reception of caching of target network interface card no longer from internal memory;On the other hand, when network interface card is sent out Send out after a transmission packet, queue correcting module can will be used to store transmission packet memory block in internal memory be emptied, And increase to the memory block emptied in data pack buffer queue, no longer the memory block emptied is directly discharged.To sum up may be used See, when network interface card is received and sends packet, frequently application and releasing memory can be avoided, network interface card send and receive packets performance is lifted.
When further, in order to prevent that idle cache blocks are not present in data pack buffer queue, the reception that network interface card is received Packet influences the send and receive packets performance of network interface card because that can not be written into time to corresponding internal memory, as shown in Fig. 2 the present invention one In embodiment, in addition to:Detection module 201 and memory allocating module 202;Wherein,
The detection module 201, for when the target network clamping receives a received data packet, detecting the data Whether there is at least one free buffer block in bag buffer queue, when there is at least one free buffer block, triggering the number According to writing module 102;Otherwise, the memory allocating module 202 is triggered;
The Data write. module 102, under the triggering of the detection module 201, the target network clamping to be received A free buffer block writing in the data pack buffer queue of the received data packet;In the Memory Allocation mould Under the triggering of block 202, the institute that the received data packet that the target network clamping is received is write in the data pack buffer queue State newly-increased memory block;
The memory allocating module 202, for distributing correspondence institute in the internal memory under the triggering of the detection module The newly-increased memory block of received data packet is stated, the newly-increased memory block is increased into the data pack buffer queue, and trigger described Data write. module 102.
Further, as shown in figure 3, in one embodiment of the invention, in addition to:Monitor processing module 301, for monitoring Whether the target network interface card receives target operation instruction, and the target operation instruction is received monitoring the target network clamping When, discharge the data pack buffer queue.
Specifically, in one embodiment of the invention, the target operation instruction includes:Data package size revision directive and pass Close instruction.
In the above embodiment of the present invention, when target network clamping receives data package size revision directive, illustrate that network interface card is received The size of packet will change, each cache blocks in the data pack buffer queue of structure are not enough to store target network Block each received data packet that will receive, in order to avoid because cache blocks are not enough to store the packet that target network clamping receives and shadow The integrality of the packet received is rung, releasably falls the data pack buffer queue of structure.It should be appreciated that dischargeing structure Data pack buffer queue after, correspondingly sized memory block can be applied for again in internal memory come store target network clamping receipts number According to bag.
In the above embodiment of the present invention, when target network clamping receives out code, illustrate that target network interface card will stop connecing Packet is received and sent, the data pack buffer queue to structure carries out release processing, can avoid occurring RAM leakage.
As shown in figure 4, the embodiments of the invention provide a kind of interface using described in any one embodiment of the invention The method for lifting network interface card send and receive packets performance, including:
Step 401, the data pack buffer queue that module builds correspondence target network interface card in internal memory is built using queue, it is described Data pack buffer queue includes the cache blocks that at least one is sized;
Step 402, using Data write. module when the target network clamping receives a received data packet, by the mesh Mark a cache blocks in the received data packet write-in data pack buffer queue that network interface card is received;
Step 403, will be described interior using queue correcting module when the target network interface card sends out one and sends packet Emptied in depositing for storing the memory block of the transmission packet, and the memory block emptied is increased into the packet and delayed Deposit in queue.
Preferably,
One write in the received data packet for receiving the target network clamping in the data pack buffer queue Before individual cache blocks, in addition to:
Using detection module when the target network clamping receives a received data packet, the data pack buffer team is detected It whether there is at least one free buffer block in row, if it is, performing step A1;Otherwise, step A2 and A3 are performed;
A1:The received data packet for being received the target network clamping using Data write. module is write the packet and delayed Deposit a free buffer block in queue;
A2:The newly-increased memory block of the correspondence received data packet is distributed in the internal memory using memory allocating module, will The newly-increased memory block increases to the data pack buffer queue;
A3:The received data packet for being received the target network clamping using Data write. module is write the packet and delayed Deposit the newly-increased memory block in queue.
Preferably, in addition to:
Monitor whether the target network interface card receives target operation instruction using monitor processing module, monitoring the mesh When mark network interface card receives the target operation instruction, the data pack buffer queue is discharged.
Preferably, the target operation instruction includes:Data package size revision directive and out code.
In order to more clearly illustrate technical scheme and advantage, in conjunction with specific embodiments to the technology of the present invention Scheme is described further, as shown in figure 5, a kind of utilize provided in an embodiment of the present invention lifts connecing for network interface card send and receive packets performance The method that cause for gossip now lifts network interface card performance, can include each following step:
Step 501, the data pack buffer queue that module builds correspondence target network interface card in internal memory is built using queue.
For example, the size for each received data packet that network interface card will be received is 52K, then one can be constructed in internal memory It is individual to should target network card data pack buffer queue, data pack buffer queue can include several continuous cache blocks, and The size of each cache blocks is 52K, it is ensured that a cache blocks in data pack buffer queue can be used in full storage mesh Mark the received data packet that network interface card is received.
Step 502, using detection module when target network clamping receives a received data packet, data pack buffer team is detected It whether there is at least one free buffer block in row, if it is, performing step 503;Otherwise, step 504 is performed.
Step 503, the received data packet received target network clamping using Data write. module writes data pack buffer queue In a free buffer block.
For example, so that the buffer queue of structure includes cache blocks A, B, C that three sizes are 52K as an example, when slow When there are at least one cache blocks in counterfoil A, B, C for free buffer block, such as when cache blocks A is free buffer block, that is, cache When block A does not store other packets, then the received data packet write-in free buffer block A that target network clamping can be received.
Step 504, the newly-increased memory block of correspondence received data packet is distributed in internal memory using memory allocating module, will be newly-increased Memory block increases to data pack buffer queue.
Step 505, the received data packet received target network clamping using Data write. module writes data pack buffer queue In newly-increased memory block.
For example, so that the buffer queue of structure includes cache blocks A, B, C that three sizes are 52K as an example, when slow , i.e., then can be when free buffer block is not present in data pack buffer queue when storing other packets in counterfoil A, B, C Apply for the newly-increased memory block D of a 52K size in internal memory, and the newly-increased memory block D of application increased into data pack buffer queue, Then received data packet target network clamping received is written to the newly-increased memory block D in data pack buffer queue.
Step 506, it will be used for using queue correcting module when target network interface card sends out one and sends packet in internal memory The memory block that storage sends packet is emptied, and the memory block emptied is increased in data pack buffer queue.
For example, when the memory block that caching transmission packet is originally used in internal memory is that a size is 52K memory blocks E, memory block E after the transmission packet cached on memory block E is sent by target network interface card, then can be emptied, that is, deleted The transmission packet stored on cache blocks E, then again increases to cache blocks E in data pack buffer queue, subsequent process, target The memory block E that the received data packet that network interface card is received can be then write direct in data pack buffer queue.
Step 507, target operation instruction whether is received using monitor processing module monitoring objective network interface card, is monitoring mesh When mark network interface card receives target operation instruction, data pack buffer queue is discharged.
Specifically, target operation instruction can include data package size revision directive and out code.
It should be appreciated that release data pack buffer queue, that is, discharge each internal memory in current data packet buffer queue Block.
In the embodiment of the present invention, when target network clamping receives data package size revision directive, illustrate the number that network interface card is received It will be changed according to the size of bag, each cache blocks in the data pack buffer queue of structure are not enough to storage target network interface card i.e. By each received data packet of reception, in order to avoid influenceing to connect because cache blocks are not enough to the packet that the clamping of storage target network is received The integrality of the packet of receipts, releasably falls the data pack buffer queue of structure.It should be appreciated that dischargeing the number of structure After bag buffer queue, correspondingly sized memory block can be applied for again in internal memory to store the data of target network clamping receipts Bag.
In the embodiment of the present invention, when target network clamping receives out code, illustrate target network interface card will stop receive and Packet is sent, the data pack buffer queue to structure carries out release processing, can avoid occurring RAM leakage.
The embodiments of the invention provide a kind of system for lifting network interface card send and receive packets performance, including:Network interface card, and the present invention appoint The interface of lifting network interface card send and receive packets performance described in one embodiment of anticipating;Wherein, the network interface card, for receiving and sending data Bag.
In summary, each embodiment of the invention at least has the advantages that:
1st, in one embodiment of the invention, the interface of lifting network interface card send and receive packets performance includes queue structure module, data and write Enter module and queue correcting module, queue builds module can build the data pack buffer queue of correspondence target network interface card in internal memory, The data pack buffer queue includes the cache blocks that at least one is sized;On the one hand, one is received when target network is stuck in During received data packet, Data write. module can then write direct the received data packet that network interface card is received in data pack buffer queue One cache blocks, and extra application memory block carrys out the reception of caching of target network interface card no longer from internal memory;On the other hand, when network interface card is sent out Send out after a transmission packet, queue correcting module can will be used to store transmission packet memory block in internal memory be emptied, And increase to the memory block emptied in data pack buffer queue, no longer the memory block emptied is directly discharged.To sum up may be used See, when network interface card is received and sends packet, frequently application and releasing memory can be avoided, network interface card send and receive packets performance is lifted.
2nd, in one embodiment of the invention, when in the buffer queue that detection module detects structure be not present free buffer block When, memory allocating module can distribute the newly-increased memory block of correspondence received data packet under the triggering of detection module in internal memory, After the data pack buffer queue that newly-increased memory block is increased to structure, then continue the received data packet by Data write. module The newly-increased memory block being written in data pack buffer queue, when preventing that free buffer block is not present in data pack buffer queue, The received data packet that network interface card is received influences the send and receive packets performance of network interface card because that can not be written into time to corresponding internal memory.
3rd, in one embodiment of the invention, when target network clamping receives data package size revision directive, illustrate that network interface card is received The size of packet will change, each cache blocks in the data pack buffer queue of structure are not enough to store target network Block each received data packet that will be received, now discharge the data pack buffer queue of structure, can avoid because cache blocks are not enough The integrality of packet received is influenceed to store the packet of target network clamping receipts.
4th, in one embodiment of the invention, when target network clamping receives out code, illustrate that target network interface card will stop connecing Packet is received and sent, the data pack buffer queue to structure carries out release processing, can avoid occurring RAM leakage.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation makes a distinction with another entity or operation, and not necessarily require or imply exist between these entities or operation Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non- It is exclusive to include, so that process, method, article or equipment including a series of key elements not only include those key elements, But also other key elements including being not expressly set out, or also include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, by sentence, " including the key element that a 〃 " is limited is not arranged Except also there is other identical factor in the process including the key element, method, article or equipment.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, the skill of the present invention is merely to illustrate Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention, Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.

Claims (9)

1. a kind of interface for lifting network interface card send and receive packets performance, it is characterised in that including:
Queue builds module, Data write. module and queue correcting module;Wherein,
The queue builds module, the data pack buffer queue for building correspondence target network interface card in internal memory, the packet Buffer queue includes the cache blocks that at least one is sized;
The Data write. module, for when the target network clamping receives a received data packet, by the target network interface card The cache blocks that the received data packet received is write in the data pack buffer queue;
The queue correcting module, for when the target network interface card sends out one and sends packet, will be used in the internal memory Emptied in storing the memory block for sending packet, and the memory block emptied is increased into the data pack buffer queue In.
2. interface according to claim 1, it is characterised in that
Also include:Detection module and memory allocating module;Wherein,
The detection module, for when the target network clamping receives a received data packet, detecting the data pack buffer Whether there is at least one free buffer block in queue, when there is at least one free buffer block, triggering the data write-in Module;Otherwise, the memory allocating module is triggered;
The Data write. module, under the triggering of the detection module, by the reception of target network clamping receipts The free buffer block that packet is write in the data pack buffer queue;In the triggering of the memory allocating module Under, the newly-increased internal memory that the received data packet that the target network clamping is received is write in the data pack buffer queue Block;
The memory allocating module, for distributing correspondence the reception number in the internal memory under the triggering of the detection module According to the newly-increased memory block of bag, the newly-increased memory block is increased into the data pack buffer queue, and trigger the data write-in Module.
3. interface according to claim 1 or 2, it is characterised in that also include:
Monitor processing module, for monitoring whether the target network interface card receives target operation instruction, is monitoring the target When network interface card receives the target operation instruction, the data pack buffer queue is discharged.
4. interface according to claim 3, it is characterised in that the target operation instruction includes:Data package size amendment Instruction and out code.
5. the interface lifting network interface card send and receive packets of any described lifting network interface card send and receive packets performance in a kind of utilization Claims 1-4 4 The method of performance, it is characterised in that including:
The data pack buffer queue that module builds correspondence target network interface card in internal memory, the data pack buffer team are built using queue Row include at least one cache blocks being sized;
Using Data write. module when the target network clamping receives a received data packet, the target network clamping is received The cache blocks that the received data packet is write in the data pack buffer queue;
Using queue correcting module when the target network interface card sends out one and sends packet, it will be used to store in the internal memory The memory block for sending packet is emptied, and the memory block emptied is increased in the data pack buffer queue.
6. method according to claim 5, it is characterised in that
One in the received data packet write-in data pack buffer queue for receiving the target network clamping is delayed Before counterfoil, in addition to:
Using detection module when the target network clamping receives a received data packet, detect in the data pack buffer queue With the presence or absence of at least one free buffer block, if it is, performing step A1;Otherwise, step A2 and A3 are performed;
A1:The received data packet for being received the target network clamping using Data write. module writes the data pack buffer team A free buffer block in row;
A2:The newly-increased memory block of the correspondence received data packet is distributed in the internal memory using memory allocating module, will be described Newly-increased memory block increases to the data pack buffer queue;
A3:The received data packet for being received the target network clamping using Data write. module writes the data pack buffer team The newly-increased memory block in row.
7. the method according to claim 5 or 6, it is characterised in that also include:
Monitor whether the target network interface card receives target operation instruction using monitor processing module, monitoring the target network When clamping receives the target operation instruction, the data pack buffer queue is discharged.
8. method according to claim 7, it is characterised in that the target operation instruction includes:Data package size amendment Instruction and out code.
9. a kind of system for lifting network interface card send and receive packets performance, it is characterised in that including:
Network interface card, and the interface as described in any in above-mentioned Claims 1-4;Wherein, the network interface card, for receiving and sending Packet.
CN201710339319.0A 2017-05-15 2017-05-15 A kind of interface for lifting network interface card send and receive packets performance, method and system Pending CN107124374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710339319.0A CN107124374A (en) 2017-05-15 2017-05-15 A kind of interface for lifting network interface card send and receive packets performance, method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710339319.0A CN107124374A (en) 2017-05-15 2017-05-15 A kind of interface for lifting network interface card send and receive packets performance, method and system

Publications (1)

Publication Number Publication Date
CN107124374A true CN107124374A (en) 2017-09-01

Family

ID=59728243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710339319.0A Pending CN107124374A (en) 2017-05-15 2017-05-15 A kind of interface for lifting network interface card send and receive packets performance, method and system

Country Status (1)

Country Link
CN (1) CN107124374A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114490459A (en) * 2022-01-27 2022-05-13 重庆物奇微电子有限公司 Data transmission method, device, equipment, receiver and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094183A (en) * 2007-07-25 2007-12-26 杭州华三通信技术有限公司 Buffer memory management method and device
CN101702688A (en) * 2009-11-24 2010-05-05 武汉绿色网络信息服务有限责任公司 Data package transmit-receive method
CN102436421A (en) * 2010-09-29 2012-05-02 腾讯科技(深圳)有限公司 Data caching method
CN102638412A (en) * 2012-05-04 2012-08-15 杭州华三通信技术有限公司 Cache management method and device
CN103490939A (en) * 2012-06-11 2014-01-01 中兴通讯股份有限公司 Data packet processing method and data packet processing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094183A (en) * 2007-07-25 2007-12-26 杭州华三通信技术有限公司 Buffer memory management method and device
CN101702688A (en) * 2009-11-24 2010-05-05 武汉绿色网络信息服务有限责任公司 Data package transmit-receive method
CN102436421A (en) * 2010-09-29 2012-05-02 腾讯科技(深圳)有限公司 Data caching method
CN102638412A (en) * 2012-05-04 2012-08-15 杭州华三通信技术有限公司 Cache management method and device
CN103490939A (en) * 2012-06-11 2014-01-01 中兴通讯股份有限公司 Data packet processing method and data packet processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114490459A (en) * 2022-01-27 2022-05-13 重庆物奇微电子有限公司 Data transmission method, device, equipment, receiver and storage medium

Similar Documents

Publication Publication Date Title
CN103714016B (en) Method for cleaning, device and the client of caching
CN104376036B (en) Socket management with the packet transaction for reducing time delay
CN104038439B (en) Message flow control method and system
CN108366111A (en) A kind of data packet low time delay buffer storage and method for switching equipment
CN101707565B (en) Method and device for transmitting and receiving zero-copy network message
CN107197050A (en) The method and system that file writes in a kind of distributed memory system
CN101188560B (en) Method and device for dynamically detecting forward capability
CN102611611A (en) Log caching system and method
CN101557348A (en) Message forwarding method and device based on token bucket
CN103377043B (en) Message queue realize method and system, message queue process system
US8775749B2 (en) Demand based memory management of non-pagable data storage
CN110780823A (en) Small object memory management method and device, electronic equipment and computer readable medium
CN101877666A (en) Method and device for receiving multi-application program message based on zero copy mode
CN107302499A (en) The NFV protocol massages receiving/transmission methods of packet buffer need not be copied
CN109660468A (en) A kind of port congestion management method, device and equipment
CN106330760A (en) Method and device of buffer management
CN101789908A (en) Fragmental message receiving and processing method and device
CN101158936A (en) Data-transmission system between nodes, and device and method
CN111177025A (en) Data storage method and device and terminal equipment
CN109656836A (en) A kind of data processing method and device
CN107124374A (en) A kind of interface for lifting network interface card send and receive packets performance, method and system
CN101150525B (en) Release method, system and logic module for buffered address
CN101022414B (en) Message retransmitting method and apparatus
CN109286584A (en) Fragmentation and reassembly method, device and equipment in a kind of multiple nucleus system
CN107851065A (en) Advance buffered destributer

Legal Events

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

Application publication date: 20170901