Load Balancing Method for Multi-Thread Forwarding and Related Apparatus

    公开(公告)号:US20240106754A1

    公开(公告)日:2024-03-28

    申请号:US18533886

    申请日:2023-12-08

    CPC classification number: H04L47/125 H04L47/626 H04L49/70 H04L49/9068

    Abstract: A load balancing method for multi-thread forwarding includes determining a first thread and a second thread from a plurality of threads, where the plurality of threads are all used to process data packets in virtual network interface card queues, wherein a load of the first thread is greater than a first threshold, wherein a load of the second thread is less than a second threshold, and wherein the first threshold is greater than the second threshold; determining a first queue from a plurality of virtual network interface card queues corresponding to the first thread, where the first thread is used to process data packets in the plurality of virtual network interface card queues; and switching the first queue to the second thread, so that the second thread processes a data packet in the first queue.

Patent Agency Ranking