The application discloses a graph
processing system cache method, a controller and a
system for a BFS
algorithm, belongs to the technical field of performance optimization of a graph
processing system, and comprises the following steps: based on the relationship between the access heat of a
cache page and the number of unvisited vertices in the BFS
algorithm, more accurate heat grading management is implemented on the
cache page, when the cache is full, the page with low access potential is effectively eliminated, and the
cache hit rate is improved; fragmented effective edge data is extracted from the
cache page and separately stored in a cache managed in a fine
granularity; by acquiring the proportion of the edge
list of the vertex in the BFS
algorithm task
queue that has been resident in the cache, and in combination with the vertex out-degree and other attributes, the scheduling order of the vertex in the task
queue is adjusted, and the data that has been resident in the cache is maximally utilized. The application can effectively improve the
cache hit rate of the graph
processing system when processing the BFS algorithm task, and further realizes the improvement of the access performance of the graph processing system.