The invention provides a cache sharing management method and device of a
distributed switching chip and
electronic equipment, the switching
chip comprises a plurality of switching units, the method comprises the following steps: the plurality of switching units are divided into at least one sharing domain, each domain comprises a plurality of adjacent switching units, and the sharing domain is divided into at least one sharing domain; the local input cache of each switching unit comprises a private cache and a shared cache, and the shared caches of all switching units in the same shared domain form a shared cache
pool of the shared domain; for any switching unit, sensing a dynamic demand of at least one upstream
virtual channel on a shared cache resource in a shared cache
pool of the switching unit through a credit
signal in an existing credit-based flow control mechanism on an RCA
multiplexing switching
chip corresponding to the switching unit; and in response to the dynamic demand, sharing credit from the shared cache
pool is dynamically allocated to each upstream
virtual channel through the RCA, and the sharing credit is used for controlling the upstream
virtual channel data flow to access the shared cache pool. According to the invention, the overall cache
utilization rate of the switch chip is improved.