摘要 |
PROBLEM TO BE SOLVED: To improve processing speed of packet processing including a band control.SOLUTION: A packet processing apparatus includes: a packet processing unit that performs a packet output process; an extraction unit that extracts information about each packet before the packet is inputted to the packet processing unit; and a contention handling unit that performs processes for avoiding occurrence of contention between/among predetermined processes before the packet is inputted in the packet processing unit, the contention being predicted based on the information about the packet. As a process avoiding contention among series of processes including, for example, processes performed by the packet processing unit to read an amount of transmission rights from a storage unit, do subtraction, and write the amount of transmission rights back into the storage unit, the contention handling unit detects packets belonging to a same flow from information about predetermined number of successive packets and reports the information to the packet processing unit on a flow by flow basis. |