Method and system for using and managing shared buffer space of multi-queue data
A technology for sharing cache and cache space, applied in the field of systems that manage multi-queue data storage, and can solve problems such as inability to fully utilize storage space, large data changes, and increased processing delays.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0108] The method for using the multi-queue data shared storage space provided by the embodiment of the present invention, and the application in the switching system, the embodiment is as follows:
[0109] On the one hand, it is the design method of network coding data and pointer storage space in OLT. Its characteristics mainly include: establishing a cache space system, mainly including subspaces for storing valid data, subspace pointers for recording subspace information, and queues for recording multi-queue information Pointers, through the records of subspace pointers and queue pointers, make the subspaces belong to different queues; after initializing the cache space, write or read data in the subspace, and update the subspace pointer and queue pointer, so that the Add or delete subspaces in the queue, and complete the management of multiple queues sharing all subspaces.
[0110] Step 201, establishing a cache space, mainly including a subspace K for storing valid data,...
Embodiment 2
[0244] The embodiment of the present invention provides a system for managing the shared buffer space of multi-queue data, and the embodiment is as follows: the system for managing the shared buffer space of multi-queue data has a structure as shown in the figure, and the system includes:
[0245] The data storage unit 410 is used to store data that needs to be cached, and is divided into several subspaces in a block manner.
[0246] The data storage pointer unit 420 is used for storing pointer information of the data storage unit 410 , and has a fixed corresponding relationship with the data storage unit 410 .
[0247] The logical queue pointer unit 430 is used to store pointer information of data queues and idle queues, and can store pointer information of time queues.
[0248] The initialization unit 440 is configured to initialize the data storage unit 410 and the data storage pointer unit 420 , and initialize the logical queue pointer unit 430 .
[0249] The data writing...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


