A method and system for dynamic allocation of DRAM redundant memory block quota
By employing distributed memory channel interconnect circuits and dynamically allocating redundant memory block quotas in DRAM, the problem of uneven access channel redundant resources is solved, thereby improving resource utilization and repair efficiency.
Patent Information
- Application Number
- CN202611592953.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-14
- Publication Date
- 2026-11-27
AI Technical Summary
In traditional DRAM redundant memory block configurations, uneven allocation of redundant resources across access channels leads to insufficient resources in some channels while other channels are not fully utilized, resulting in low efficiency in the use of redundant resources.
A distributed memory channel interconnection circuit is used to form a redundant resource pool shared within the group by using redundant storage blocks managed by different storage controllers. The redundant storage block quota is dynamically allocated according to the proportion of the number of faulty storage blocks in each access channel, and access requests for faulty addresses are routed to the target redundant storage block through address remapping.
It improves the utilization rate of redundant storage resources, ensures that the redundant resource requirements of each access channel are reasonably allocated, and reduces the problems of resource idleness and insufficient repair needs.
Smart Images

Figure CN123177751A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of memory fault repair technology, specifically to a method and system for dynamic allocation of DRAM redundant memory block quotas. Background Technology
[0002] In devices such as graphics processing units (GPUs) or artificial intelligence processing chips, Dynamic Random Access Memory (DRAM) can provide data storage services through multiple access channels and multiple memory controllers. Some memory cells in DRAM may become unreadable or unwriteable due to manufacturing defects or malfunctions during use. To maintain storage functionality within the corresponding address range, redundant memory blocks can be reserved. After a faulty memory block is detected, address remapping redirects access to the faulty address to the redundant memory block.
[0003] Traditional redundant storage block replacement methods typically employ a fixed channel quota configuration, where each access channel can only use physically associated redundant storage blocks. Therefore, it's possible for one access channel to have insufficient redundant resources, while another access channel still has unused redundant resources. For example, when two access channels are each configured with 8 redundant storage blocks, uneven fault distribution can cause the repair requirements of the channel with more faults to exceed its quota.
[0004] Therefore, a redundant resource configuration method is needed to improve the utilization efficiency of redundant storage resources. Summary of the Invention
[0005] Firstly, this application provides a dynamic allocation method for DRAM redundant memory block quotas, applied to at least one management group. Each management group includes multiple access channels and multiple memory controllers connected via a distributed memory channel interconnect circuit. The redundant memory blocks managed by each memory controller form a redundant resource pool shared by the access channels within the group. For any management group, the number of faulty memory blocks corresponding to each access channel is obtained; the redundant memory block quota for each access channel is determined according to the proportion of the number of faulty memory blocks, and redundant memory blocks are allocated to each access channel from the redundant resource pool according to the quota; for any faulty memory block corresponding to an access channel, a target redundant memory block is determined from the resources allocated to that access channel, and an address remapping relationship is established between the AXI bus address originally mapped to the faulty memory block and the target redundant memory block. This allows access requests for the faulty memory block to be routed to the memory controller managing the target redundant memory block via the distributed memory channel interconnect circuit according to the address remapping relationship, thereby accessing the target redundant memory block.
[0006] In some implementations, after the built-in self-test is completed, the bad block flag generated by the built-in self-test is read, and according to the access channel corresponding to the bad block flag, the number of faulty storage blocks that need to be replaced by redundant storage blocks is counted to obtain the number of faulty storage blocks corresponding to each access channel.
[0007] In some implementations, the sum of the number of faulty storage blocks corresponding to each access channel is calculated; when the sum is greater than zero, the redundant storage block quota corresponding to each access channel is determined based on the proportion of the number of faulty storage blocks in each access channel to the sum and the total number of redundant storage blocks in the redundant resource pool, wherein each quota is a non-negative integer and their sum does not exceed the total number of redundant storage blocks.
[0008] In some implementations, when the number of faulty storage blocks corresponding to each access channel is zero, the redundant storage block quota for each access channel is determined according to a preset initial quota.
[0009] In some implementations, the proportion of the number of faulty storage blocks in each access channel to the total number of faults is multiplied by the total number of redundant storage blocks to obtain the corresponding allocation quantity; when the allocation quantity is not an integer, it is rounded up to obtain the redundant storage block quota. Among them, the non-integer allocation quantity corresponding to the access channel with the largest proportion of faulty storage blocks is rounded up, and the sum of the quotas of each access channel after rounding does not exceed the total number of redundant storage blocks.
[0010] In some implementations, the specific redundant storage blocks allocated to each access channel are determined according to the redundant storage block quota corresponding to each access channel, and the channel ownership identifier of these redundant storage blocks is set to the identifier of the access channel that is allocated the corresponding redundant storage block in the address remapping lookup table.
[0011] In some implementations, the redundant storage block quota of each access channel is compared with its original redundant storage block quota under the original static route. The redundant storage blocks corresponding to the quota-surplus channel are allocated to the quota-insufficient channel, while the usage ownership of the remaining redundant storage blocks remains unchanged. The original quota of the quota-surplus channel is greater than the corresponding new quota, and the original quota of the quota-insufficient channel is less than the corresponding new quota.
[0012] In some implementations, a target redundant storage block is selected from the redundant storage blocks that have been allocated access channels to the faulty storage block but have not yet been used for fault replacement, based on the channel ownership identifier, and the address remapping relationship between the AXI bus address originally mapped to the faulty storage block and the target redundant storage block is recorded in the address remapping lookup table.
[0013] In some implementations, the remaining quota of a corresponding access channel is determined based on the redundant storage block quota of each access channel and the number of redundant storage blocks already used for fault replacement. The remaining quota represents the number of redundant storage blocks that have been allocated to the corresponding access channel but have not yet been used for fault replacement. When the remaining quota of any access channel reaches a preset shortage condition and the remaining quota of other access channels meets a preset allocable condition, redundant storage blocks to be allocated are selected from the redundant storage blocks of access channels that meet the allocable condition but have not yet been used for fault replacement. Their usage is adjusted to the access channels that meet the shortage condition, and the redundant storage block quota and remaining quota of each access channel are adjusted accordingly according to the allocated quantity.
[0014] In some implementations, the preset insufficient condition is that the remaining quota is less than the critical quota, and the preset allocable condition is that the remaining quota is greater than or equal to 2, and after allocation, the access channel of the allocated redundant storage block retains at least one redundant storage block that has not yet been used for fault replacement.
[0015] In some implementations, when adjusting the usage ownership of a redundant storage block to be allocated, the processing of new access requests for its corresponding address range is first suspended, the channel ownership identifier of the redundant storage block to be allocated in the address remapping lookup table is set to the identifier of the access channel that has been allocated the redundant storage block, and then the access request processing for the address range is resumed after the channel ownership identifier is updated.
[0016] In some implementations, an over-quota alarm is generated when the remaining quota for each access channel corresponding to the redundant resource pool is zero and there are still faulty storage blocks that need to be replaced.
[0017] Secondly, this application provides a DRAM redundant memory block quota dynamic allocation system, including at least one management group, each management group including multiple access channels and multiple memory controllers connected by a distributed memory channel interconnect circuit, the redundant memory blocks managed by each memory controller forming a redundant resource pool shared by the access channels within the group; the system is configured to execute any of the aforementioned DRAM redundant memory block quota dynamic allocation methods.
[0018] One of the advantages of the above embodiments is that the allocation of redundant resources within a group can be adjusted according to the fault distribution and implemented in actual storage access through address remapping, thereby reducing the situation where resource idleness and repair needs cannot be met due to fixed channel quotas.
[0019] Other advantages of this application will be explained in more detail with reference to the following description and figures.
[0020] It should be understood that the above description is merely an overview of the technical solution of this application, so as to enable a clearer understanding of the technical means of this application and thus allow for its implementation in accordance with the contents of the specification. To make the above and other objects, features, and advantages of this application more apparent and understandable, specific embodiments of this application are illustrated below. Attached Figure Description
[0021] Figure 1 This is a schematic diagram of the hardware and configuration relationship of the DRAM redundant memory block quota dynamic allocation system in the embodiments of this application; Figure 2 This is a schematic diagram of the hardware structure of the A / B sides of a management group in an embodiment of this application; Figure 3 A comparative diagram showing the scenarios of static quota allocation and dynamic quota allocation based on the number of faults for two access channels under the same fault distribution. Figure 4 This is a flowchart illustrating the dynamic allocation method for DRAM redundant memory block quotas in the embodiments of this application. Figure 5 This is a schematic diagram illustrating the process of checking remaining quotas and allocating unused redundant storage blocks in the embodiments of this application. Detailed Implementation
[0022] The present application will be further described below with reference to the accompanying drawings and specific embodiments. It should be understood that the described embodiments are only used to explain the present application and are not intended to limit the scope of protection of the present application.
[0023] In this application, unless otherwise expressly defined, the terms “comprising” and “having” and any variations thereof are non-exclusive inclusions; the terms “first”, “second”, etc., are used only to distinguish objects and do not indicate order, quantity or importance.
[0024] To clearly illustrate the embodiments of this application, some concepts that may appear in subsequent embodiments will be introduced first.
[0025] Explanation of relevant concepts In Dynamic Random Access Memory (DRAM), a memory block is a memory management unit used for fault identification and redundancy replacement. In one implementation, the memory block uses a memory macro, with a single macro having a capacity of, for example, 32MB. A redundant macro is a memory macro reserved for replacing a faulty memory block.
[0026] An access channel is a pathway for passing access requests to dynamic random access memory (DRAM). In the specific implementation of this application, an AXI access channel is adopted.
[0027] The memory controller (MCC) is a circuit that controls the reading and writing of the dynamic random access memory (DRAM) storage area it manages. The access channel is connected to the memory controller through the group interconnect circuit. The request issued by the access channel can reach the redundant memory blocks managed by different memory controllers according to the address mapping result.
[0028] Redundant storage block quota is the number of redundant storage blocks allocated to an access channel, used to limit the number of redundant storage blocks that the access channel can call upon during fault replacement.
[0029] The Distributed Memory Channel Interconnect (DMCFAB) is an intra-group routing circuit that connects access channels to storage controllers, employing a cross-connect structure. The DMCFAB hardware can route requests from any access channel within the same group to different storage controllers, enabling access channels to access redundant storage blocks located on different storage controllers.
[0030] A management group is a quota management unit determined based on the interconnection range and shared redundant resources within the group. In the implementation using DMCFAB, it is called a DMCFAB management group. For example, in this application, two access channels ch_A and ch_B share a DMCFAB, accessing redundant storage blocks managed by the storage controllers on the A and B sides respectively through the DMCFAB. The eight redundant storage blocks on each side together form a resource pool of 16 redundant storage blocks, and the quota is calculated and allocated independently within this management group.
[0031] Built-in Self-Test (BIST) is a memory self-test performed by the chip's internal test circuitry to detect physical faults in DRAM memory cells. The Bad Block Flag (BAD_UNIT_FLAG) is used to indicate the test result of the fault state of the memory cell under test. In one implementation, the bad block flag is 4 bits, with each bit corresponding to a memory cell under test. Based on the set flags and their corresponding memory addresses, the faulty memory blocks that need to be replaced are determined, and the number is counted by access channel.
[0032] An Address Remapping Lookup Table (LUT) is a configuration table that stores the address remapping relationship between the AXI bus address originally mapped to the faulty memory block and the target redundant memory block. It records which access channel the redundant memory block is assigned to using a channel ownership identifier. In one specific implementation, the LUT includes a memory macrocell identifier (macro), the corresponding access channel ownership identifier (axi_ch), and a 4-bit DRAM channel identifier (dram_ch) to identify the relevant DRAM channel.
[0033] In the above lookup table implementation, after an access request enters the access channel, it is first converted to an AXI bus address by the address mapping module within the channel, and then the address remapping lookup table (LUT) is queried using this AXI bus address. If an AXI bus address originally mapped to a faulty storage block is matched, the address and routing information of the corresponding target redundant storage block are obtained, and the DMCFAB sends the request to the MCC managing that redundant storage block; otherwise, it is processed according to the normal address access path. Quota management adjusts the channel usage ownership of redundant storage blocks by updating the axi_ch field. Address mapping configuration and physical target information are used to determine the actual storage controller and storage location accessed.
[0034] In traditional fixed-quota redundancy repair schemes, each access channel calls upon redundant storage blocks according to a pre-determined usage allocation. When the number of faulty storage blocks corresponding to each access channel within the group is unevenly distributed, the replacement needs of some access channels exceed their fixed quotas, while other access channels still retain unused redundant storage blocks. As a result, the redundant resources within the group cannot be used for fault replacement according to the actual fault distribution.
[0035] To address the aforementioned issues, this application provides a method and system for dynamically allocating DRAM redundant memory block quotas. This scheme utilizes distributed memory channel interconnect circuits to group redundant memory blocks managed by different memory controllers into a shared redundant resource pool. Quotas are determined and allocated based on the proportion of faulty memory blocks corresponding to each access channel. Then, an address remapping relationship is established between the AXI bus address originally mapped to the faulty memory block and the allocated redundant memory block, enabling access requests for faulty addresses to reach the memory controller managing the target redundant memory block via the group interconnect circuits.
[0036] Therefore, the allocation of redundant storage blocks can be adjusted according to the fault distribution within the group, and redundant resources distributed on different storage controller sides can be used for fault replacement of corresponding access channels, thereby improving the utilization rate of redundant storage resources within the group.
[0037] The hardware structure and quota allocation process of this application will be further explained below with reference to the accompanying drawings.
[0038] like Figure 1 As shown, the DRAM redundant memory block quota dynamic allocation system 100 includes at least one management group 180 and a processing unit (not shown) for performing configuration processing. Each management group 180 includes multiple access channels 110, distributed memory channel interconnect circuitry 120, and multiple memory controllers 130, each memory controller managing a DRAM storage region 140. Figure 1 The diagram illustrates the hardware and configuration relationships of a management group. The system can have other management groups organized in the same way. Access channels 1, 2 through n, and storage controllers 1, 2 through n represent multiple channels and controllers, respectively.
[0039] Each DRAM storage region 140 includes storage blocks used for normal storage and reserved redundant storage blocks 141. The redundant storage blocks 141 managed by different storage controllers constitute a redundant resource pool 150 at the resource allocation level. Figure 1 The dashed lines in the resource pool represent the shared management relationship of these distributed resources. Each redundant block in the resource pool retains its physical location, and read and write operations are performed by the original storage controller.
[0040] Quota configuration is performed by the software or firmware running on the processing unit. The processing unit obtains fault information, calculates the quota for each access channel, generates resource usage attribution and remapping configurations, and applies these configurations to the address remapping lookup table 170 or the corresponding address translation configuration structure via the configuration path. The address remapping lookup table 170 is located within the address processing path of access channel 110. Access requests first pass through the address mapping module to form an AXI bus address, then the lookup table 170 is consulted, and the target address to be routed by the distributed memory channel interconnect circuit 120 is determined according to the lookup result. Figure 1 and Figure 2 This shows the implementation where lookup tables are configured within each access channel.
[0041] Specifically, the distributed memory channel interconnect circuit 120 connects the access channel 110 and the storage controller 130. The address mapping module within the access channel 110 first converts the access request into an AXI bus address, then uses the address remapping lookup table 170 to remap the AXI bus address originally mapped to the faulty storage block to the access address of the target redundant storage block. The address then reaches the storage controller managing the target redundant storage block via the interconnect circuit. The lookup table can be configured as a single master table for multiple access channels to query, or it can be distributed as multiple tables located within multiple access channels. Whether using a master table or multiple tables, the mapping relationships of each valid table entry are kept consistent to avoid conflicting replacement targets for the same access address, or the same target redundant storage block being repeatedly used to replace different faulty storage blocks.
[0042] like Figure 2 As shown, in one specific implementation, the management group 180 includes access channel A, access channel B, distributed memory channel interconnect circuit 120, A-side storage controller MCC_A, and B-side storage controller MCC_B. Access channel A and access channel B adopt AXI ch_A and AXI ch_B respectively, and the distributed memory channel interconnect circuit DMCFAB120 can support cross-interconnect routing. MCC_A manages the A-side DRAM storage area, and MCC_B manages the B-side DRAM storage area. Eight redundant storage blocks 141 are set on each side, forming a shared redundant resource pool 150 containing 16 redundant storage blocks.
[0043] Figure 2 The A and B sides in the diagram distinguish the two storage controllers and the physical storage areas they manage. DMCFAB provides intra-group routing for access channels A to MCC_A, A to MCC_B, B to MCC_A, and B to MCC_B, enabling each access channel to utilize redundant storage blocks on both sides. When the usage affiliation of redundant storage blocks is adjusted between channels, their physical location and the storage controller performing read / write operations remain unchanged. The following section, using this A / B side structure, explains the quota calculation, resource allocation, address remapping, and remaining quota allocation process.
[0044] Figure 3 Showing based on Figure 2 A scenario comparing static and dynamic quotas in hardware architecture. Assume that access channel A and access channel B have 10 and 2 faulty storage blocks respectively, with 8 redundant storage blocks on both sides. Faulty and redundant storage blocks use the same replacement granularity, with each faulty storage block being replaced by a redundant storage block.
[0045] Figure 3 Figure (a) shows the fault replacement status under a static quota configuration. Access channels A and B are each allocated 8 redundant storage blocks, with their usage affiliation remaining fixed. Of the 10 faulty storage blocks corresponding to access channel A, 8 receive replacement resources, and the remaining 2 exceed the quota for that channel. After the 2 faulty storage blocks corresponding to access channel B are replaced, 6 redundant storage blocks remain. Since the usage affiliation of these 6 redundant storage blocks is fixed to access channel B, they cannot be used for fault replacement of access channel A.
[0046] Figure 3 Figure (b) shows the fault replacement status after the quota is determined according to the proportion of faulty storage blocks. Access channel A and access channel B are allocated 14 and 2 redundant storage blocks, respectively. Access channel A uses 10 redundant storage blocks to replace its corresponding 10 faulty storage blocks, retaining 4 unused redundant storage blocks; access channel B uses 2 redundant storage blocks to replace its corresponding 2 faulty storage blocks. Thus, the 16 redundant storage blocks in the same resource pool can provide replacement resources for the current 12 faulty storage blocks.
[0047] Specifically, the 8 redundant storage blocks managed by MCC_A and the 6 redundant storage blocks managed by MCC_B are assigned to access channel A, and the remaining 2 redundant storage blocks managed by MCC_B are assigned to access channel B. When establishing mappings for the 10 faulty storage blocks in access channel A, the 8 redundant storage blocks on side A and the 2 redundant storage blocks on side B are selected as replacement targets. Requests in access channel A pointing to replacement targets on side B are routed to MCC_B via DMCFAB, and MCC_B performs access to the corresponding redundant storage blocks.
[0048] exist Figure 3 Under the given conditions, the utilization rate of the static configuration is 10 divided by 16, or 62.5%, when the number of redundant blocks used to replace faulty blocks is divided by the total number of resource pools. When the configuration is dynamically based on the number of faults, it is 12 divided by 16, or 75%, which is an increase of 12.5 percentage points.
[0049] See below. Figure 4 This describes the dynamic allocation method for DRAM redundant memory block quotas. This method is executed for any given management group; all access channels, fault counts, and redundant resource pools discussed later are based on the current management group. The processing unit performs fault statistics and configuration processing, and the distributed memory channel interconnect circuit and memory controller complete the actual access based on the effective configuration.
[0050] S1: Get the number of faulty storage blocks corresponding to each access channel.
[0051] Specifically, fault information is statistically analyzed based on access channels. For the same shared scope, the set of faulty blocks corresponding to each access channel is determined, and then the number of blocks in each set is obtained. This number represents the number of storage blocks that need to be redundantly replaced.
[0052] For example, if the same resource pool is used by both channel A and channel B, and the detection results show that 10 faulty blocks belong to the logical address range of channel A and 2 faulty blocks belong to the logical address range of channel B, then S1 will output the quantity corresponding to channel A as 10 and the quantity corresponding to channel B as 2.
[0053] In some implementations, S1 further includes S11 and S12. S11: Read the bad block flag after the built-in self-test is completed. S12: According to the access channel corresponding to the bad block flag, count the faulty storage blocks that need to be replaced with redundant storage blocks, and obtain the number of faulty storage blocks corresponding to each access channel.
[0054] Specifically, the built-in self-test BIST is used to detect DRAM read / write faults. Test results may include bad block flags such as BAD_UNIT_FLAG. Quota management generates statistics based on the memory cell address and channel relationship corresponding to the flag. If the granularity of the flag is smaller than the granularity of the memory block being replaced, the memory blocks to be replaced corresponding to these flags should be determined first, and then the number of memory blocks should be counted. This avoids counting multiple set flags within the same block as multiple redundant requirements. Thus, bad block flags are converted into the number of channel faults consistent with the actual replacement granularity, preventing the same faulty memory block from being counted repeatedly and occupying additional quotas, ensuring that subsequent quota calculations reflect the number of memory blocks that need to be replaced for each channel.
[0055] The aforementioned S1 can be applied to stages where effective fault results can be obtained, such as after mass production testing and before power-on initialization repair. For new faults detected during use, the new faults can be provided to subsequent repair and rebalancing processes.
[0056] S2: Determine the redundant storage block quota for each access channel based on the proportion of faulty storage blocks corresponding to each access channel.
[0057] Specifically, S2 characterizes the current redundancy requirement of each channel by the number of faults and determines the number of redundant blocks that each channel can use based on the shared resource scale. Quotas are counted in units of storage blocks. For redundant blocks using the same replacement granularity, the allocation result is a non-negative integer and is constrained by the total amount of allocable resources in the current resource pool. After the quota is determined, it is not yet specified which specific redundant block each fault address maps to; this correspondence will be established in subsequent processing.
[0058] In one implementation, channels with more faults receive a larger quota, while channels with fewer or zero faults receive a smaller quota. The configuration can be adjusted accordingly when the fault distribution changes. For a resource pool consisting of 16 redundant blocks, a fault count of 10 and 2 can result in a quota of 14 and 2, while a fault count of 6 and 6 can result in a quota of 8 and 8, without altering the total resource volume or physical layout.
[0059] Furthermore, S2 can include S21 and S22. S21: Calculate the sum of the number of faulty storage blocks corresponding to each access channel. S22: When the sum is greater than zero, determine the integer quota for each channel based on the proportion of the number of faulty storage blocks in each access channel to the sum and the total number of redundant storage blocks. The total quota of each channel shall not exceed the total number of resources.
[0060] Specifically, with Figure 2 Taking the management group as an example, the number of faulty storage blocks in access channel A and access channel B are denoted as N_A and N_B, respectively. The total number of allocable redundant storage blocks in the shared redundant resource pool is denoted as C, and the total number of faults is T = N_A + N_B. When T is greater than zero, the proportions of the number of faults in the two access channels are N_A / T and N_B / T, respectively, and the allocated quantities calculated proportionally are C×N_A / T and C×N_B / T, respectively. The allocated quantities that need to be rounded are processed to obtain quotas Q_A and Q_B, where Q_A and Q_B are both non-negative integers, and Q_A + Q_B does not exceed C. Thus, the quota of each access channel is determined by the proportion of its number of faults to the total number of faults in the group. When the fault distribution is uneven, it is not limited by the original fixed quota. Through non-negative integers and total quantity constraints, the allocation result can be implemented as actual usable redundant storage blocks.
[0061] Specifically, the proportion of faulty storage blocks corresponding to each access channel to the total number of faults is multiplied by the total number of redundant storage blocks to obtain the corresponding allocation quantity. When the allocation quantity is not an integer, it is rounded up; the non-integer allocation quantity corresponding to the access channel with the largest proportion of faulty storage blocks is rounded up, while ensuring that the sum of all integer quotas does not exceed the total number of redundant storage blocks in the resource pool.
[0062] For example, when N_A=10, N_B=2, and C=16, the allocation quantity for access channel A is 16×10 / 12, which is 13 and one-third. Access channel A has the largest proportion of failures, so this allocation quantity is rounded up to Q_A=14; the remaining two quotas are allocated to access channel B, resulting in Q_B=2. If the failure quantities on both sides are swapped, the non-integer allocation quantity for access channel B is rounded up, resulting in Q_B=14 and Q_A=2. Thus, the non-integer proportional allocation result is converted into an executable integer allocation quantity. The channel with the largest proportion of failures will not have its corresponding quota reduced due to rounding down, and the total quota constraint prevents the rounded quota from exceeding the resource pool capacity.
[0063] As an alternative two-channel rounding method, channel A can be pre-selected, and the result of multiplying the total number of redundant storage blocks by N_A and dividing by the total number of failures in both channels can be rounded up to obtain Q_A. Then, Q_A is subtracted from the total number of redundant storage blocks to obtain Q_B. This method ensures that the sum of the quotas for the two channels equals the total number of redundant storage blocks. When channel A happens to be the channel with the highest failure rate, the process is consistent with the aforementioned rounding up based on the highest failure rate. Pre-fixing the channel and selecting the rounding channel based on the current failure rate are different rounding strategies and can be adopted according to the specific configuration.
[0064] Furthermore, S2 can also include S23: when the number of faulty storage blocks in each access channel is zero, the quota for each channel is determined according to the preset initial quota. In the implementation with two channels and 16 redundant blocks, access channel A and access channel B can each obtain 8 quotas. At this time, the proportional calculation with the total number of faults as the denominator is not performed, and there is no need to establish a remapping relationship. Thus, the initial resource ownership of each access channel can be determined even before a fault is detected, reserving redundant resources that can be called upon for subsequent fault replacement, and avoiding the problem of undefined proportional calculation when the total number of faults is zero.
[0065] Furthermore, before obtaining the current fault statistics, an initial configuration can be prepared in advance based on the historical fault distribution of the same batch; after obtaining the number of faults in this batch, the current quota can be determined accordingly. Historical information serves as a statistical reference, while the current valid fault information is still used for the current allocation of repair resources. A safety margin can also be reserved for specific channels in the proportional allocation, but the corresponding adjustments must not cause the total quota to exceed the total available resources.
[0066] S3: Allocate redundant storage blocks from the redundant resource pool to each access channel according to the redundant storage block quota corresponding to each access channel.
[0067] Specifically, the quota quantity is obtained according to S2, and the quota quantity is determined as a specific redundant storage block in the resource pool according to S3. Under the same effective allocation state, each access channel obtains the corresponding set of redundant storage blocks; from the corresponding set, unused redundant storage blocks are selected, and address remapping relationships are established between the AXI bus address originally mapped to the faulty storage block and the selected target redundant storage block.
[0068] Specifically, S3 can further include S31 and S32. S31: Determine the redundant storage blocks allocated to each access channel according to the redundant storage block quota corresponding to each access channel. S32: In the address remapping lookup table, set the channel ownership identifier of the redundant storage blocks allocated to each access channel to the identifier of the access channel that acquired the redundant storage block. That is, first determine the resource set, then record the usage ownership of each resource in the set in the configuration, facilitating subsequent searching for available replacement resources by channel.
[0069] Specifically, the Address Remapping Lookup Table (LUT) stores the configuration information between the AXI bus address originally mapped to the faulty memory block and the target redundant memory block, and the `axi_ch` field indicates the channel usage ownership of the redundant memory block. During resource allocation, the corresponding channel identifier is written to the selected redundant block according to the quota. For the same resource pool, the configuration program can determine the set of resources available for subsequent fault replacement for a certain channel based on this ownership information. Thus, the quota no longer only represents the number of usable resources, but corresponds to a specific redundant memory block and its channel usage ownership, allowing subsequent target selection to determine the resource range belonging to the corresponding access channel.
[0070] Specifically, based on the existing static route configuration, S31 can also include S311 and S312. S311: Compare the redundant storage block quota corresponding to each access channel with its original redundant storage block quota under the original static route. S312: Allocate the surplus redundant storage blocks corresponding to channels with surplus quotas to channels with insufficient quotas, while keeping the usage ownership of the remaining redundant storage blocks unchanged. An original quota greater than the new quota indicates that there are transferable resources in the original resources of this channel; an original quota less than the new quota indicates that this channel needs to obtain resources from other channels. Here, "surplus" or "insufficient" describes the comparison relationship between the original quota and the target quota.
[0071] For example, under the original static routing, access channel A uses 8 redundant storage blocks managed by MCC_A, and access channel B uses 8 redundant storage blocks managed by MCC_B. When the target quota Q_A=14 and Q_B=2, access channel A needs to increase its quota by 6, while access channel B has 6 spare quotas. The allocation of the 8 redundant storage blocks on the A side is retained, and 6 of the 8 redundant storage blocks on the B side are selected and allocated to access channel A, with the remaining 2 still available for access channel B. By adjusting the allocation of these 6 redundant storage blocks, the target quotas of 14 and 2 are achieved, while the allocation of the remaining 10 redundant storage blocks remains unchanged.
[0072] As an optional resource allocation optimization method, the above adjustment prioritizes retaining the original allocation of redundant storage blocks, only allocating resources to the portion with insufficient target quota, and then completing cross-channel allocation with the resources corresponding to the quota difference. This eliminates the need to renumber the entire resource pool or redefine the allocation of each redundant block. In this two-channel example, the sum of the target quotas for both channels remains 16, with both increases and decreases being 6. For multiple access channels, allocation can be made between channels with surplus quotas and those requiring increased quotas, based on the quota difference for each channel, ensuring that the allocated resource quantity matches the determined target quota. Therefore, the scope of usage allocation needs to be changed to the redundant storage blocks corresponding to the quota difference; resources not involved in the difference continue to use their original allocation, reducing the number of reconfigured entries and retaining the portion in the original static configuration that still meets the target quota.
[0073] The channel ownership identifier is used to record the ownership of redundant storage blocks, while the storage controller and storage address are used to determine the physical access location of the redundant storage blocks. For example, after a redundant storage block on side B is assigned to access channel A, its channel ownership identifier corresponds to access channel A, while its physical location is still located in the DRAM storage area managed by MCC_B; access to the redundant storage block by access channel A is sent to MCC_B through DMCFAB.
[0074] In the implementation of two access channels, a single channel ownership identifier can be used to distinguish between access channel A and access channel B. For implementations with more access channels within a group, the encoding space of the channel ownership identifier is adapted to the number of access channels participating in resource sharing, and quota allocation and fault replacement are still based on the correspondence between channels and redundant storage blocks.
[0075] Resource usage ownership can also be represented by allocation records associated with address translation configurations. The allocation record identifies the set of redundant memory blocks that can be accessed by each access channel, while the address translation configuration records the correspondence between the AXI bus address originally mapped to the faulty memory block and the replacement target location. Together, they are used to determine the fault replacement resource and subsequent access path.
[0076] S4: Identify the target redundant storage block and establish an address remapping relationship so that access requests are routed to the corresponding storage controller via the distributed memory channel interconnect circuit.
[0077] Specifically, for any faulty storage block corresponding to an access channel, a target redundant storage block is determined from the redundant storage blocks allocated to that access channel, and an address remapping relationship is established between the AXI bus address originally mapped to the faulty storage block and the target redundant storage block. Requests to access the faulty address are routed to the storage controller managing the target redundant storage block via the distributed memory channel interconnect circuit, based on the mapping result. The controller then accesses the target block. Target selection is performed from the set of unused redundant resources for that channel, and the corresponding relationship and occupancy status are recorded after selection. Channels without faults can retain unused quotas without establishing fault address mappings. When the repair demand exceeds the current quota, processing continues according to the allocation or resource insufficiency handling described later.
[0078] Further, S4 can include S41 and S42. S41: Based on the channel ownership identifier, select a redundant memory block that has not yet been used for fault replacement on that channel as the target. S42: Record the address remapping relationship between the AXI bus address originally mapped to the faulty memory block and the target redundant memory block in the address remapping lookup table, so that when an access hits, it is routed to the corresponding memory controller via the interconnect circuit according to the target address.
[0079] For example, a faulty memory block in access channel A originally corresponded to the AXI bus address range F_A. R_B1, located on the B side, was selected as the replacement target from the redundant memory blocks already allocated to access channel A, and the address remapping relationship between F_A and R_B1 was recorded in the LUT. Subsequently, when an access request entered access channel A, the address mapping module converted it to obtain the AXI bus address in F_A, then queried the LUT and matched the mapping, obtaining the target address of R_B1. This was then routed to MCC_B via DMCFAB, and MCC_B accessed R_B1. The original AXI bus address corresponding to the faulty memory block remained unchanged, and subsequent accesses reached R_B1 through remapping.
[0080] Specifically, when an access request misses the fault address mapping, it can continue to access the original storage area via the normal address path; only when a match is found will the corresponding replacement target be used. The attribution information in the lookup table is used for resource management and corresponding access identification. The fault address, target address, and controller selection information together form an executable conversion relationship. Therefore, target selection is constrained by both channel attribution and unused status, avoiding the occupation of resources from other channels or the repeated use of redundant storage blocks already used for fault replacement. After recording the address remapping relationship, requests for fault addresses can reach the selected replacement target.
[0081] The above address remapping determines the access target after the faulty storage block is replaced. During the initialization and repair phase, a corresponding redundant storage block is configured for the detected faulty storage block, and subsequent access is performed according to the valid mapping. During the fault handling phase during operation, replacement resources are allocated for newly added faults based on the current valid mapping and remaining quota.
[0082] In some implementations, the system divides management groups according to the reachability of the intra-group interconnect circuits. Each management group maintains a redundant resource pool, fault statistics, and quota status. The intra-group interconnect circuits support routing between the group's access channels and the group's storage controller. Quota allocation and fault replacement are performed within the shared redundant resources of the group.
[0083] For example, when the system has 16 access channels, each pair of access channels can form a management group, resulting in a total of 8 management groups. Each group uses... Figure 2 The A / B side structure shown connects two access channels and two MCCs within the group via a DMCFAB, and executes S1 to S4 respectively. For hardware that supports interconnection within the group for more access channels, the management group can contain a corresponding number of access channels and storage controllers.
[0084] Each management group maintains its own quota allocation and address remapping configuration. Fault statistics and resource allocation adjustments for a particular management group are performed on the group's redundant resource pool, while other management groups continue to perform fault replacement and storage access according to their respective quotas and address remapping configurations.
[0085] Through S1 to S4, the number of faults is first converted into resource quotas for each channel, then determined as the allocation of specific redundant blocks, and finally a fault address mapping that can be used for actual access is formed. This process can be performed during an initial repair or in conjunction with subsequent resource consumption management. The following explains how to handle changes to remaining resources while preserving existing valid mappings.
[0086] Furthermore, such as Figure 5 As shown, the method also includes S5: determining the remaining quota based on the redundant storage block quota of each access channel and the number of redundant storage blocks already used for fault replacement.
[0087] Specifically, the remaining quota represents the number of redundant blocks that have been assigned to a channel but have not yet been used for fault replacement. When the resource pool first completes quota allocation without establishing any fault mappings, the remaining quota equals the allocated quota. Subsequently, each time a redundant block is used to replace a faulty block, the remaining number decreases by one. For phases where no attribution adjustment occurs, the remaining quota equals the initial quota minus the number already used.
[0088] For example, in Figure 3(b) After the 12 faulty storage blocks shown are replaced, the quota for access channel A is 14, the number of redundant storage blocks used for fault replacement is 10, and the remaining quota is 4; the quota for access channel B is 2, the number of redundant storage blocks used for fault replacement is 2, and the remaining quota is 0. The remaining quota is used for subsequent resource allocation judgment, and the 12 established address remapping relationships remain valid.
[0089] When it is necessary to replenish the remaining quota and there are available resources, execute S6: Select unused redundant storage blocks from the access channels that meet the allocation conditions, allocate them to the access channels that meet the insufficient conditions, and update the quota and remaining quota.
[0090] Specifically, when the remaining quota of any access channel reaches a preset shortage condition, and the remaining quota of other access channels within the same management group meets a preset allocable condition, resources to be allocated are selected from the redundant storage blocks of the access channels that meet the allocable condition but have not yet been used for fault replacement, and their usage is changed to the access channels that meet the shortage condition. For every certain number of redundant blocks allocated, the current quota and remaining quota of the channel being allocated increase by that amount, and the current quota and remaining quota of the channel being allocated decrease by that amount. When there are multiple channels that can provide resources, the configuration program records the number of allocated or transferred to each channel according to the actual selected resource set.
[0091] Redundant storage blocks to be allocated are selected from resources not yet used for failover. During allocation, the channel usage attribution of the selected resources is updated, and other redundant storage blocks already used for failover and their valid mappings are preserved. This allows for the replenishment of remaining quotas while maintaining existing failover relationships, and the allocation process does not require moving data from redundant storage blocks already used for failover. By synchronously increasing and decreasing the current and remaining quotas of the allocated and de-allocated channels, the quantity records are kept consistent with the adjusted resource attribution, preventing subsequent failovers from selecting resources based on the quotas before allocation.
[0092] Specifically, the preset shortage condition can be that the remaining quota is less than the critical quota, and the preset allocable condition can be that the remaining quota is greater than or equal to 2, and after allocation, the allocated channel retains at least one redundant block that has not yet been used for fault replacement. The remaining quota is counted as a non-negative integer. When the critical quota is 1, the remaining quota is zero, triggering the shortage condition; when the critical quota is an integer greater than 1, replenishment can be triggered before the remaining resources are exhausted. The critical quota is used to set the triggering timing and does not change the requirement that the faulty block must actually obtain a usable replacement target.
[0093] Optionally, resource checks can be triggered based on the proportion of remaining quota to allocated quota, or after a predetermined number of fault replacements have been completed. When using proportional conditions, channels with zero allocated quota are judged separately to avoid using zero as the denominator. These check methods can be used to initiate quota status assessments, but specific resource allocation still relies on the existence of available unused redundant blocks.
[0094] Figure 5 First, execute S5 to obtain the remaining quota for each channel. Then, determine if there are channels that meet the insufficient quota condition and other channels that meet the allocation condition simultaneously. If the condition is met, execute S6; otherwise, retain the current resource ownership and update the status during subsequent checks. In one specific configuration, the critical quota is set to 1. Each time, one or two unused redundant blocks are selected for allocation, and the allocated channel retains at least one unused block. For example, if there are two channels remaining, a maximum of one can be allocated this time; if there are three or more remaining, two can be allocated, but the supplementary requirement and retention condition must still be met.
[0095] For example, continue to use Figure 3 In state (b), access channel A has 4 redundant storage blocks remaining, and access channel B has 0 remaining quota. When access channel B detects a new faulty storage block that needs to be replaced, it selects 2 from the 4 redundant storage blocks allocated to access channel A that have not yet been used for fault replacement and allocates them to access channel B. After the allocation, the remaining quota for both channels is 2. After access channel B uses one of its redundant storage blocks to replace the newly added faulty storage block, its remaining quota is 1, and the effective mapping of the original 12 faulty storage blocks remains unchanged.
[0096] In the above process, before allocation, the quota, used quantity, and remaining quota of channel A were 14, 10, and 4, respectively, while those of channel B were 2, 2, and 0. After allocating 2 blocks, the three quantities of channel A became 12, 10, and 2, and those of channel B became 4, 2, and 2. After channel B used another block to repair the newly added fault, the quantities became 4, 3, and 1. The remaining quota is always calculated by subtracting the used quantity from the current quota, and the fault statistics initially used for proportional calculation can be saved as historical records. Thus, the critical quota determines the triggering time for resource replenishment. The allocable conditions and the reserved quantity after allocation jointly limit the scope of resource allocation, ensuring that while insufficient channels are replenished, the allocated channels still retain at least one redundant storage block that can be used for subsequent fault replacement.
[0097] Specifically, the allocation adjustment in S6 can include S61 to S63. S61: Suspend processing of new access requests for the address range corresponding to the redundant storage block to be allocated. S62: Set the channel ownership identifier of the redundant storage block to be allocated to the identifier of the access channel allocated to that redundant storage block. S63: After the channel ownership identifier is updated, resume processing of access requests for the address range. The channel ownership identifier is located in the corresponding resource record in the address remapping lookup table. The configuration record is synchronized with the current quota and remaining quota, and subsequent target selection uses the updated valid record.
[0098] Specifically, the scope of the paused processing is consistent with the address range corresponding to the redundant storage blocks to be allocated. New access requests within this range can be paused using address range access locks. After updating the channel ownership identifier of the relevant LUT entries, access request processing for the corresponding address range resumes, allowing subsequent accesses to be based on the updated configuration.
[0099] In one implementation, after the channel ownership identifier is updated, the redundant storage blocks to be allocated are added to the resource set available for fault replacement in the allocated channel, and the quota and remaining quota of the relevant channel are updated simultaneously. Subsequently, S4 selects the target redundant storage block based on the updated ownership information and establishes the address remapping relationship for the newly added faulty storage block. Figure 5 This demonstrates the processing relationship between remaining quota checks, resource allocation, and attribution updates. Therefore, during channel attribution identifier updates, new access requests for the relevant address range are paused, and processing resumes according to the new attribution after the update is complete. This reduces the risk of configuration inconsistencies caused by the overlap between new request processing and attribution updates; the pause is limited to the address range corresponding to the resources to be allocated, eliminating the need to pause new access requests for other address ranges solely for this attribution adjustment.
[0100] Furthermore, the method also includes S7: generating an over-quota alarm when the remaining quota for each access channel corresponding to the redundant resource pool is zero and there are still faulty storage blocks that need to be replaced. For example, in Figure 2 In the corresponding management group, all 16 redundant storage blocks have been allocated and used for fault replacement, and the remaining quotas for access channels A and B are both zero. When a new faulty storage block to be replaced is detected, an over-quota alarm is generated so that subsequent software masking processing can determine the corresponding fault address range.
[0101] Based on the same technical concept, this application provides as follows: Figure 1 The illustrated DRAM redundant memory block quota dynamic allocation system includes at least one management group. Each management group includes multiple access channels and multiple memory controllers connected via distributed memory channel interconnect circuitry. The redundant memory blocks managed by each memory controller form a redundant resource pool shared by the access channels within the group. The system is configured to execute the aforementioned dynamic allocation method.
[0102] Each of the above units can be implemented by software or firmware running on the processing unit, or by corresponding control logic. For software or firmware implementations, the processing unit reads fault information, maintains quotas, and updates mappings through the configuration interface; the interconnect circuitry and memory controller continue to perform hardware address routing and DRAM read / write operations. The specific processor type, configuration bus, and programming language can be selected according to the deployment environment without affecting the relationship between the inputs, configuration results, and access paths.
[0103] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the descriptions of the apparatus, device, and computer-readable storage medium embodiments are simplified because they are substantially similar to the method embodiments; relevant details can be found in the descriptions of the method embodiments.
[0104] The apparatus, device, and computer-readable storage medium provided in the embodiments of this application are one-to-one corresponding to the method. Therefore, the apparatus, device, and computer-readable storage medium also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the apparatus, device, and computer-readable storage medium will not be repeated here.
[0105] While the spirit and principles of this application have been described with reference to several specific embodiments, it should be understood that this application is not limited to the disclosed specific embodiments, and the division of aspects does not imply that features in these aspects cannot be combined for benefit; such division is merely for convenience of expression. This application is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims
1. A method for dynamically allocating DRAM redundant memory block quotas, characterized in that, The method is applied to at least one management group, each management group comprising multiple access channels and multiple storage controllers connected via distributed memory channel interconnect circuits, wherein redundant storage blocks managed by each storage controller constitute a redundant resource pool shared by the access channels within the group; the method for any one of the management groups includes: Obtain the number of faulty storage blocks corresponding to each of the access channels; The redundant storage block quota corresponding to each access channel is determined based on the proportion of the number of faulty storage blocks corresponding to each access channel. According to the redundant storage block quota corresponding to each access channel, redundant storage blocks are allocated from the redundant resource pool to each access channel. For any faulty storage block corresponding to any of the access channels, a target redundant storage block is determined from the redundant storage blocks allocated to the access channel, and an address remapping relationship is established between the AXI bus address originally mapped to the faulty storage block and the target redundant storage block. This allows access requests for the faulty storage block to be routed to the storage controller managing the target redundant storage block via the distributed memory channel interconnect circuit according to the address remapping relationship, so as to access the target redundant storage block.
2. The method according to claim 1, characterized in that, Obtaining the number of faulty storage blocks corresponding to each of the aforementioned access channels further includes: After the built-in self-test is completed, read the bad block flag generated by the built-in self-test; According to the access channel corresponding to the bad block flag, the number of faulty storage blocks that need to be replaced by redundant storage blocks is counted to obtain the number of faulty storage blocks corresponding to each access channel.
3. The method according to claim 1, characterized in that, Based on the proportion of faulty storage blocks corresponding to each access channel, a redundant storage block quota is determined for each access channel, further including: Calculate the sum of the number of faulty storage blocks corresponding to each of the access channels; When the sum is greater than zero, the redundant storage block quota corresponding to each access channel is determined according to the proportion of the number of faulty storage blocks corresponding to each access channel to the sum, and the total number of redundant storage blocks in the redundant resource pool. Each redundant storage block quota is a non-negative integer and its sum does not exceed the total number of redundant storage blocks.
4. The method according to claim 3, characterized in that, Based on the proportion of faulty storage blocks corresponding to each access channel, the redundant storage block quota corresponding to each access channel is determined, and the method further includes: When the number of faulty storage blocks corresponding to each access channel is zero, the redundant storage block quota corresponding to each access channel is determined according to the preset initial quota.
5. The method according to claim 3, characterized in that, When the sum is greater than zero, the redundant storage block quota corresponding to each access channel is determined based on the proportion of the number of faulty storage blocks corresponding to each access channel to the sum, and the total number of redundant storage blocks in the redundant resource pool, further including: The allocation quantity for each access channel is calculated by multiplying the proportion of the number of faulty storage blocks corresponding to each access channel to the total number of redundant storage blocks. When the allocation quantity is not an integer, the allocation quantity is rounded down to obtain the redundant storage block quota for the corresponding access channel. Specifically, the non-integer allocation quantity corresponding to the access channel with the largest proportion of faulty storage blocks is rounded up, and the sum of the redundant storage block quotas of each access channel after rounding does not exceed the total number of redundant storage blocks.
6. The method according to claim 1, characterized in that, According to the redundant storage block quota corresponding to each access channel, allocating redundant storage blocks from the redundant resource pool to each access channel further includes: Based on the redundant storage block quota corresponding to each access channel, determine the redundant storage blocks allocated to each access channel; In the address remapping lookup table, the channel ownership identifier of the redundant storage block allocated to each access channel is set to the identifier of the access channel that has been allocated the redundant storage block.
7. The method according to claim 6, characterized in that, Based on the redundant storage block quota corresponding to each access channel, determine the redundant storage blocks allocated to each access channel, further including: Compare the redundant storage block quota corresponding to each access channel with its original redundant storage block quota under the original static route. Allocate the surplus redundant storage blocks corresponding to the quota surplus channel to the quota shortage channel, and keep the usage ownership of the remaining redundant storage blocks unchanged; Wherein, the original redundant storage block quota corresponding to the quota surplus channel is greater than the corresponding redundant storage block quota, and the original redundant storage block quota corresponding to the quota shortage channel is less than the corresponding redundant storage block quota.
8. The method according to claim 6, characterized in that, Determining the target redundant storage block and establishing the address remapping relationship further includes: Based on the channel affiliation identifier, the target redundant storage block is selected from the redundant storage blocks that have been allocated access channels corresponding to the faulty storage block and have not yet been used for fault replacement. The address remapping lookup table records the address remapping relationship between the AXI bus address originally mapped to the faulty memory block and the target redundant memory block.
9. The method according to claim 1, characterized in that, The method further includes: The remaining quota for each access channel is determined based on the redundant storage block quota corresponding to each access channel and the number of redundant storage blocks already used for fault replacement; the remaining quota represents the number of redundant storage blocks that have been allocated to the corresponding access channel but have not yet been used for fault replacement. When the remaining quota of any access channel reaches the preset shortage condition, and the remaining quota of other access channels meets the preset allocable condition, select redundant storage blocks to be allocated from the redundant storage blocks of the access channels that meet the preset allocable condition that have not yet been used for fault replacement, adjust their usage assignment to the access channels that meet the preset shortage condition, and adjust the redundant storage block quota and remaining quota of each access channel accordingly according to the allocation quantity.
10. The method according to claim 9, characterized in that, The preset insufficient condition is that the remaining quota is less than the critical quota, and the preset allocable condition is that the remaining quota is greater than or equal to 2, and after allocation, the access channel of the allocated redundant storage block retains at least one redundant storage block that has not yet been used for fault replacement.
11. The method according to claim 9, characterized in that, Adjusting the allocation of the redundant storage block to be allocated to an access channel that meets the preset insufficient conditions further includes: Suspend the processing of new access requests to the address range corresponding to the redundant storage block to be allocated; Set the channel ownership identifier corresponding to the redundant storage block to be allocated in the address remapping lookup table as the identifier of the access channel that is allocated the redundant storage block to be allocated; After the channel ownership identifier is updated, the access request processing for the address range is resumed.
12. The method according to claim 9, characterized in that, The method further includes: An over-quota alarm is generated when the remaining quota for each access channel corresponding to the redundant resource pool is zero and there are still faulty storage blocks that need to be replaced.
13. A dynamic allocation system for redundant DRAM memory block quotas, characterized in that, include: At least one management group, each management group comprising multiple access channels and multiple storage controllers connected via distributed memory channel interconnect circuitry, wherein redundant storage blocks managed by each storage controller constitute a redundant resource pool shared by the access channels within the group; the system is configured to perform the method as described in any one of claims 1 to 12.
