摘要 |
<p>PROBLEM TO BE SOLVED: To improve packet processing efficiency while reducing buffer quantity by terminating the use of resources insured for a packet when time defined by a packet processor passes from when the reception of the packet is started or when the reception is completed. SOLUTION: A packet inputting part 102 identifies the boundary of a packet and gives a packet ID. A resource managing part 103 allocates resources such as a CPU and a memory register which are needed for packet processing in a packet processing part 105 and their use time limit in every packet ID and writes them in a management table 104. The resource use time limit is set by such a manner that the packet inputting part 102 monitors the point of time when the front of the packet arrives, the size of the packet is obtained from a lower layer, the point of time when the end of the packet arrives is calculated based on it and fixed clock is added to it. When the use time limit comes, the packet processing part is inhibited from using the resources of the packet.</p> |