| CPC H04L 67/1008 (2013.01) [H04L 67/1021 (2013.01)] | 17 Claims |

|
1. A method for load balancing of a network processing unit (NPU), performed by a central processing unit (CPU), wherein the CPU is coupled to the NPU and the NPU comprises a plurality of cores, the method comprising:
reassigning a data stream processed by a first core in the NPU, which is under a high load, to a second core in the NPU, which is under a low load, wherein the low load is lower than the high load,
wherein the data stream is defined by a quintuple, and the quintuple is composed of a source Internet Protocol (IP) address, a source port, a destination IP address, a destination port and a protocol type,
wherein an NPU cost of the data stream is lower than a sharable load of the second core,
wherein the NPU cost of the data stream is calculated based on a data rate of the data stream.
|