Method and apparatus for dynamically adjusting storage space, electronic device, and storage medium

By dynamically adjusting the switch's storage space, the problem of inconsistent switch storage space in the stacking system was solved, ensuring that MAC valid entries are stored normally and achieving FDB consistency.

CN116545964BActive Publication Date: 2026-07-07SUZHOU CENTEC COMM CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SUZHOU CENTEC COMM CO LTD
Filing Date
2023-05-06
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

In a stacked system, due to the fast hardware learning speed, the switch generates a large number of Mac cache entries, which leads to the occupation of adjustable storage space and the failure of some Mac valid entries to be stored, resulting in FDB inconsistency.

Method used

By dynamically adjusting the storage space of the switch, utilizing the remaining storage space, adjustment range, and maximum storage space of the target switch, the storage space of the target switch and other switches can be expanded or reduced to ensure FDB consistency.

Benefits of technology

When multiple switching chips receive large traffic simultaneously, it prevents the storage space from being quickly filled by Mac cache entries, ensures that Mac valid entries are stored normally, and achieves FDB consistency among switches in the stacked system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116545964B_ABST
    Figure CN116545964B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a method and device for dynamically adjusting storage space, electronic equipment and storage medium, relating to the technical field of network communication, the method comprising: determining storage information of a target switch, determining the remaining storage space, the maximum storage space, the minimum storage space, the first adjustment amplitude and the second adjustment amplitude of the target switch in the storage information, and expanding or reducing the storage space of the switch based on the remaining storage space, the maximum storage space, the minimum storage space, the first adjustment amplitude and the second adjustment amplitude. In a stacking scenario, when multiple switch chips simultaneously receive a large flow of non-repeated source macs, the storage space of the switch is dynamically adjusted, which can prevent the storage space of the switch from being quickly filled by Mac cache entries, allowing Mac valid entries to be normally stored, and thus making the FDB of each switch in the stacking system consistent.
Need to check novelty before this filing date? Find Prior Art