The invention relates to the technical field of SOC chips, and discloses an efficient
memory management method and
system based on an SOC
chip, which are used for constructing a complete
topological graph and calculating access
delay distribution by comprehensively analyzing an internal
physical structure of the
chip. According to the method, the memory access behavior of each
processing core is monitored in real time, dynamic memory partitioning is executed according to the access characteristics and the physical topological structure, and the optimal access area is distributed for the
processing core. And when an access hot spot is detected, triggering a
data migration mechanism to copy hot spot data to a relatively close memory area. According to the method, a
memory address space is recombined by adopting a topology-aware
address mapping algorithm, a multi-level cache
collaboration mechanism is established, and the working mode of a
memory controller is dynamically adjusted according to an application type. Through load balancing monitoring and periodic memory recombination, the memory access
delay is effectively reduced, the
bandwidth utilization rate is improved, and the overall memory access performance of the SOC
chip is optimized.