Queuing delay control method and device for DPDK data packet processing
The invention discloses a queuing delay control method and device for DPDK data packet processing, and the method comprises the steps: carrying out the polling of a receiving queue of a network card, and determining the state of the receiving queue according to the current number of DPDK data packet...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a queuing delay control method and device for DPDK data packet processing, and the method comprises the steps: carrying out the polling of a receiving queue of a network card, and determining the state of the receiving queue according to the current number of DPDK data packets in the receiving queue; if the state of the receiving queue is an idle state, the PAUSE instruction is executed circularly, a time slice is obtained, and when the time slice is not used up, the current number of the DPDK data packets in the receiving queue is obtained again; and if the current number exceeds the preset threshold, switching the state of the receiving queue from an idle state to a busy state, and processing the DPDK data packet. According to the method, the receiving queue can be controlled to be switched between the idle state and the busy state, the queuing delay of the data packets in the receiving queue is prevented from being too long, the power consumption of the CPU is reduced by using the P |
---|