Dynamic sharing device of physical queue based on the stream queue
A technology of dynamic sharing and physical queues, applied in the field of computer networks, can solve problems such as lack of scalability, high-speed broadband network, consumption, multi-processing time, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0089] The write module is responsible for the writing of the arriving packet. First, request the dynamic sharing module for the corresponding physical queue that is currently in the offload, and then according to the result returned by the dynamic sharing module, obtain the end-of-line write address of the physical queue from the RAM management module, and write the data packet into the address corresponding to the RAM.
[0090] To facilitate management, the RAM management module usually divides the data packet storage space into storage blocks of fixed size. However, data packets of variable length are transmitted on the network, so the packets need to be cut into fixed-size units called Data Units (DUs). These DUs are reassembled into original variable lengths before leaving the forwarding device. Data grouping. The size of the storage block into which the RAM is divided is the same as that of the DU, so one DU occupies exactly one storage block.
[0091] In the data packet mem...
Embodiment 2
[0108] The writing module works in the same way as the first embodiment.
[0109] The RAM management module works in the same way as in the first embodiment.
[0110] The scheduling module works in the same way as in Embodiment 1.
[0111] The dynamic shared list also follows Picture 9 The hash method of the method is divided into different sub-tables, and each sub-table is organized in a binary search tree manner to reduce the time overhead on the sub-tables. Each node on the binary search tree also contains the active stream number and the corresponding physical queue number. An example of a binary search tree is as follows Picture 11 As shown, for the convenience of presentation, only the numerical value of the corresponding stream number is given on each node. The characteristic of a binary search tree is that the value of the left subtree is less than the value of the root node, and the value of the right subtree is greater than the value of the root node.
[0112] If you w...
Embodiment 3
[0116] The writing module works in the same way as the first embodiment.
[0117] The RAM management module works in the same way as in the first embodiment.
[0118] The scheduling module works in the same way as in Embodiment 1.
[0119] The dynamic shared list also follows Picture 9 The hash method of the method is divided into different sub-tables, but each sub-table is organized in a balanced binary search tree. The difference between it and the binary search tree is that the depth difference between the left and right subtrees of each node does not exceed 1. The search process of the balanced binary search tree is the same as the search process of the binary search tree in Embodiment 2. When inserting an entry into the balanced binary search tree, the search process of the binary search tree in Embodiment 2 is the same, and then the generated binary search tree is adjusted so that the depth difference between the left and right subtrees does not exceed 1. When a balanced bi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 