Processing method and device for queue operation

A processing method and a technology in operation, applied in the Internet field, which can solve the problems of high power consumption, impact, and the inability of Cache to support large capacity and large read and write bandwidth at the same time.

Active Publication Date: 2018-06-29
SANECHIPS TECH CO LTD
View PDF7 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are three problems in this method. First, the read and write bandwidth of CAM cannot be expanded arbitrarily. When writing to CAM frequently, the queue number maintained by CAM changes frequently, which will inevitably affect the efficiency of CAM retrieval; second, The CAM with the same capacity occupies a larger area and consumes more power than the Cache. The CAM cannot support enough QD tags at the same time, so the number of QDs placed in the Cache will be affected by the CAM capacity; third, high-speed high-performance traffic management requires a large On-chip QD storage with large capacity and operating bandwidth, Cache cannot support large capacity and large read and write bandwidth at the same time
It can be seen that in the queue operation, this method requires frequent access to Cache and DRAM to obtain QD, which leads to low access efficiency of QD
[0005] Therefore, in order to solve the problem of low QD access efficiency in queue operations, it is urgent to find a processing method in queue operations

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Processing method and device for queue operation
  • Processing method and device for queue operation
  • Processing method and device for queue operation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0082] The processing method in the queue operation provided by the embodiment of the present invention is mainly applied to a system with an integrated queue management function, and queries the storage location and storage address of the QD corresponding to the queue number of the queue to which the message information to be processed belongs through the Map table ; According to the storage location and storage address of the QD, thereby obtaining the QD, moving the QD to Reg, and updating the storage location of the QD corresponding to the queue number in the Map as Reg and the storage address as being in Reg Corresponding address; perform queue operation on the message information to be processed according to the QD, and update the QD according to the QD, the updated storage location and storage address of the QD after performing the queue operation, and can Improve the access efficiency of QD in the queue operation, and realize the fast access of QD.

[0083] The realizat...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a processing method for a queue operation. The method includes the following steps: obtaining a queue number of a queue to which message information to be processed belongs; querying storage location information and address information of a queue descriptor corresponding to the queue number in a mapping table; obtaining the queue descriptor according to the storage locationinformation and the address information of the queue descriptor, moving the queue descriptor to a register, and updating the storage location information and the address information of the queue descriptor corresponding to the queue number in the mapping table; and performing a queue operation on the message information to be processed according to the queue descriptor, and updating the queue descriptor according to the queue descriptor and the updated storage location information and address information of the queue descriptor after the queue operation is performed. The invention also discloses a processing device for the queue operation at the same time.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a processing method and device in queue operation. Background technique [0002] In a network device, such as a network processor (Network Processor, NP), a switching access (Fabric Access Processor, FAP), a switch, a bridge, or a traffic management chip, all integrate a queue management function, and packets are processed according to queues. With the growth of business, the number of queues that network devices need to support increases exponentially, and has reached 512K or even more than 1M queues. The difficulty of queuing management for a large number of high-density queues increases accordingly. Queues and queue identifiers That is, the storage of the queue descriptor (Queue Descriptor, QD) needs to occupy a large amount of storage capacity. On the premise of ensuring the performance, reducing the cost of the chip must be considered. [0003] In the prior art...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/861
CPCH04L49/90H04L47/50H04L47/627
Inventor 赵培培王闯闫振林孟雄飞
Owner SANECHIPS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products