Switch Circuit Dynamic Packet Buffer Allocation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In modern switch technology, the increasing speed and number of input/output ports lead to inefficiencies in packet buffer usage due to constraints on memory expansion, necessitating a method to dynamically manage memory to optimize packet forwarding.

Innovation Solution

A circuit within the switch dynamically configures a packet buffer with a first area providing minimum guaranteed storage for each egress queue and a second shared area, adjusting the size based on the number of egress queues packets are forwarded to, using parameters to manage and optimize storage space.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If the packet buffer is increased in large amount to accommodate increasing input/output ports, then the storage capacity is improved, but the cost increases

Engineering Contradiction:
Improvestorage capacityVSAvoidcost
Core Design Contradiction:
Quantity of substanceVSEase of manufacture

Solution Approach 1:

The patent implements dynamic buffer allocation where the shared buffer area is flexibly adjusted based on real-time traffic conditions and egress queue requirements. The control circuit continuously monitors packet forwarding needs and reallocates buffer space between guaranteed and shared areas, enabling the system to adapt to varying traffic patterns without requiring excessive buffer capacity, thus reducing cost while maintaining adequate storage.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameter of buffer allocation from static to dynamic by introducing a control circuit that adjusts the size of the shared buffer area based on the number of active egress queues and traffic demand. This parameter change allows the system to optimize buffer utilization efficiency, ensuring adequate storage capacity is provided only when needed, thereby avoiding the cost of over-provisioning buffer memory.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If the packet buffer is allocated statically to ensure fair distribution, then the reliability is improved, but the productivity decreases

Engineering Contradiction:
Improvefair distributionVSAvoidbuffer utilization efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the packet buffer into two distinct areas: a guaranteed buffer area that provides minimum guaranteed storage space for each egress queue, and a shared buffer area that can be dynamically allocated. This segmentation ensures that each egress queue receives fair and reliable minimum buffer allocation while allowing the shared area to be flexibly distributed based on actual traffic needs, thus maintaining both fairness and high utilization efficiency.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The shared buffer area serves multiple egress queues simultaneously and can be dynamically allocated to different queues based on their current traffic demands. This multi-functional design allows the same buffer resources to be efficiently utilized across multiple queues, improving overall productivity while the guaranteed buffer area maintains reliability through fair distribution.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Productivity

If the shared buffer area is increased to handle multicast transmissions, then the productivity is improved, but the loss of substance increases

Engineering Contradiction:
Improvemulticast handling capabilityVSAvoidbuffer space waste
Core Design Contradiction:
ProductivityVSLoss of substance

Solution Approach 1:

The control circuit implements a feedback mechanism that continuously monitors the number of active egress queues and the traffic patterns. Based on this feedback, it dynamically adjusts the size of the shared buffer area allocated to multicast transmissions. When multicast activity increases, more buffer space is allocated; when it decreases, the space is reduced or reallocated, thereby improving multicast handling capability while minimizing buffer space waste through continuous adaptation to actual usage patterns.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11388115B2Circuit within switch and method for managing memory within switch
Publication Date: 2022.07.12 REALTEK SEMICON CORP
  • US11388115B2 patent drawing
  • US11388115B2 patent drawing
  • US11388115B2 patent drawing

AI summary

The present invention provides a circuit within a switch, wherein the circuit includes a memory and a control circuit. The memory includes at least a first area and a second area, the first area is used to provide a minimum guaranteed storage space for each of a plurality of egress queues, the second area is used to provide a shared space of the plurality of egress queues. The control circuit is coupled to the memory, and when an input port of the switch receives an input packet and stores the input packet into the memory, the control circuit dynamically determines a size of the second area according to a number of the egress queues that the input packet is forwarded to.