CN-122019425-A - HBF chip multichannel parallel access control method and device
Abstract
The invention relates to the field of chip access control, in particular to a multi-channel parallel access control method and device for an HBF chip. The method comprises the steps of collecting real-time access data streams of all storage sections of an HBF chip, carrying out access change analysis to obtain a dynamic access change rule, carrying out access competition situation analysis based on the dynamic access change rule, marking high-conflict access request events, obtaining access load state parameters of all channels, constructing a bandwidth readjustment strategy, carrying out feasibility assessment on the high-conflict access request events based on the bandwidth readjustment strategy, and determining whether delay cost of candidate channels is lower than cost of conflict resolution, if so, distributing the high-conflict access request events to the candidate channels. The invention relieves access conflict, reduces waiting time, improves access concurrency, and obviously improves the parallel access efficiency and quality of chips.
Inventors
- GAO WEI
Assignees
- 联和存储科技(江苏)有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20251225
Claims (8)
- 1. The HBF chip multichannel parallel access control method is characterized by comprising the following steps: Collecting real-time access data streams of all storage sections of the HBF chip, and performing access change analysis to obtain a dynamic access change rule; Analyzing access competition situation based on a dynamic access change rule, and marking high-conflict access request events; acquiring access load state parameters of each channel, and constructing a bandwidth readjustment strategy; And carrying out feasibility evaluation on the high-conflict access request event based on the bandwidth reallocation strategy, determining whether the delay cost of the candidate channel is lower than the cost of conflict resolution, and if so, distributing the high-conflict access request event to the candidate channel.
- 2. The HBF chip multichannel parallel access control method according to claim 1, wherein said collecting the real-time access data stream of each storage segment of HBF chip, and performing access change analysis, the specific steps of obtaining dynamic access change rule are: collecting real-time access data streams of all storage sections of the HBF chip by deploying real-time monitoring nodes; performing self-adaptive monitoring time window cutting on the real-time access data stream to obtain a multi-time window data stream; Calculating the access frequency of the multi-time window data stream, carrying out time distribution analysis, and generating an access hot spot distribution map; Short-term aggregation and long-term migration identification are carried out according to the access hotspot distribution, and short-term hotspot aggregation areas and long-term cold and hot migration trends are obtained; And carrying out deep access change trend analysis based on the short-term hot spot aggregation area and the long-term cold and hot migration trend to obtain a dynamic access change rule.
- 3. The HBF chip multichannel parallel access control method according to claim 1, wherein said performing access contention situation analysis based on dynamic access change rules, marking high conflict access request event specifically comprises the steps of: based on a dynamic access change rule, carrying out future access data quantity prediction calculation to obtain parallel access data quantity in a future time period; determining a current access wait queue based on the real-time access data volume; The access target of the current access waiting queue is identified, and the access overlapping degree is calculated according to the access target to obtain the queue access overlapping degree; carrying out multichannel access competition situation analysis according to the parallel access data volume and the queue access overlap graph to obtain a multichannel competition situation; And carrying out high-conflict risk identification based on the multichannel competition situation, extracting an access target address, a time stamp and a priority, and marking a high-conflict access request event.
- 4. The HBF chip multi-channel parallel access control method according to claim 1, wherein said obtaining access load state parameters of each channel, constructing a bandwidth reallocation policy comprises the specific steps of: Calculating the depth of a request queue, the data throughput rate, the bandwidth occupation proportion and idle calculation resources according to the access load state parameters to obtain multidimensional load state characteristics of each channel; Carrying out inter-channel load unbalance calculation according to the multidimensional load state characteristics to obtain a load unbalance index; Quantifying resource allocation difference coefficients among channels according to the load unbalance index; and carrying out dynamic bandwidth resource reallocation processing based on the resource allocation difference coefficient to obtain a bandwidth reallocation strategy.
- 5. The HBF chip multi-channel parallel access control method according to claim 1, wherein the performing the feasibility evaluation on the high-conflict access request event based on the bandwidth reconfiguration policy determines whether the delay cost of the candidate channel is lower than the cost of conflict resolution, if so, distributes the high-conflict access request event to the candidate channel, and if not, suspends the high-conflict access request event to wait for access, which comprises the following specific steps: Performing idle channel planning processing on the high-conflict access request event based on a bandwidth reallocation strategy to obtain candidate channels; Calculating the bandwidth capacity, the expected waiting delay and the switching cost of the candidate channel and the original channel to obtain a channel switching matching coefficient; Carrying out feasibility assessment based on the channel switching matching coefficient, determining whether the delay cost of the candidate channel is lower than the cost of conflict resolution, and if so, distributing a high-conflict access request event to the candidate channel; If not, suspending the high conflict access request event to wait for access; and performing delay compensation processing on the real-time access data stream.
- 6. The HBF chip multichannel parallel access control method according to claim 5, wherein said specific steps of performing delay compensation processing on the real-time access data stream are: Extracting full link access time stamps according to the real-time access data stream; determining the time stamps of all access links based on the full link access time stamp; Calculating the time delay of each link according to the time stamps of all the access links, wherein the time delay comprises request enqueue delay, queue waiting delay, transmission delay, storage access delay and result return delay; Performing delay feature identification of each link on the time delay, performing delay attribution analysis, and generating link delay attribution; and performing refined delay compensation processing based on the link delay attribution.
- 7. The HBF chip multi-channel parallel access control method according to claim 6, wherein said detailed delay compensation processing based on link delay attribution comprises the specific steps of: performing full link delay mapping on the link delay attribute to generate a full link delay mapping diagram; performing delay deviation trend analysis based on the full-link delay map, and identifying high-delay requests and low-delay requests; the access request processing is sent in advance for the high-delay request, and the access timing adjustment processing is performed for the low-delay request.
- 8. A HBF chip multichannel parallel access control device for executing the HBF chip multichannel parallel access control method according to claim 1, comprising: The access change analysis module is used for collecting real-time access data streams of all storage sections of the HBF chip, and carrying out access change analysis to obtain a dynamic access change rule; The access situation analysis module is used for carrying out access competition situation analysis based on a dynamic access change rule and marking high-conflict access request events; The bandwidth allocation module is used for acquiring the access load state parameters of each channel and constructing a bandwidth re-allocation strategy; And the channel distribution module is used for carrying out feasibility evaluation on the high-conflict access request event based on the bandwidth reconfiguration strategy, determining whether the delay cost of the candidate channel is lower than the cost of conflict resolution, and if so, distributing the high-conflict access request event to the candidate channel.
Description
HBF chip multichannel parallel access control method and device Technical Field The invention relates to the field of chip access control, in particular to a multi-channel parallel access control method and device for an HBF chip. Background Along with the continuous development of semiconductor technology and integrated circuit design, HBF (High Bandwidth Memory Friendly) chips as a high-bandwidth and high-performance memory interface scheme have been widely used in the fields of high-performance computing, artificial intelligence accelerators, graphics processors and the like. With the rapid increase of data processing demands, a multichannel parallel access technology becomes a key means for improving the overall throughput and response speed of a chip. The HBF chip can support simultaneous operation of a plurality of access requests through multi-channel design, thereby greatly improving data access efficiency and system performance. However, as the scale of multi-channel parallel access continues to expand, the complexity of access control also increases significantly. Because of the problems of resource competition, access conflict, data consistency and the like among the channels, if the access requests of the multiple channels cannot be effectively managed and coordinated, the access delay is increased, the data conflict is frequent, and even the system instability and the performance bottleneck are caused. Particularly in a high concurrency access environment, the traditional access control mechanism is difficult to meet the requirements of real-time performance and fine management, and the performance exertion of the HBF chip is limited. The existing multichannel access control method depends on a fixed scheduling strategy and a simple priority rule, and lacks intelligent perception of a dynamic access mode and system load, so that resource allocation is uneven and access efficiency is low. In addition, when facing complex access conflict and multi-task concurrency, the conventional method often cannot realize real-time adjustment and optimization, and is difficult to guarantee dual targets of high bandwidth utilization and low-delay access. Disclosure of Invention The invention provides a multi-channel parallel access control method and device for an HBF chip to solve at least one technical problem. In order to achieve the above purpose, the present invention provides a multi-channel parallel access control method for HBF chips, comprising the steps of: Collecting real-time access data streams of all storage sections of the HBF chip, and performing access change analysis to obtain a dynamic access change rule; Analyzing access competition situation based on a dynamic access change rule, and marking high-conflict access request events; acquiring access load state parameters of each channel, and constructing a bandwidth readjustment strategy; And carrying out feasibility evaluation on the high-conflict access request event based on the bandwidth reallocation strategy, determining whether the delay cost of the candidate channel is lower than the cost of conflict resolution, and if so, distributing the high-conflict access request event to the candidate channel. In this specification, there is provided an HBF chip multi-channel parallel access control apparatus for performing the HBF chip multi-channel parallel access control method described above, including: The access change analysis module is used for collecting real-time access data streams of all storage sections of the HBF chip, and carrying out access change analysis to obtain a dynamic access change rule; The access situation analysis module is used for carrying out access competition situation analysis based on a dynamic access change rule and marking high-conflict access request events; The bandwidth allocation module is used for acquiring the access load state parameters of each channel and constructing a bandwidth re-allocation strategy; And the channel distribution module is used for carrying out feasibility evaluation on the high-conflict access request event based on the bandwidth reconfiguration strategy, determining whether the delay cost of the candidate channel is lower than the cost of conflict resolution, and if so, distributing the high-conflict access request event to the candidate channel. The method has the advantages that the access condition of each storage section of the chip is monitored in real time, the use dynamics of storage resources are comprehensively mastered, and performance bottlenecks caused by centralized access hot spots are prevented. The analysis of the dynamic access rule provides a data basis for the subsequent access conflict prediction and bandwidth regulation, and the visualization and the controllability of the access behavior are realized. The method is beneficial to identifying the high-frequency hot spot of storage access, is convenient for optimizing resource allocation in a targeted manner, and