×

Cache memory architecture and policies for accelerating graph algorithms

  • US 10,417,134 B2
  • Filed: 02/23/2017
  • Issued: 09/17/2019
  • Est. Priority Date: 11/10/2016
  • Status: Active Grant
First Claim
Patent Images

1. An apparatus, comprising:

  • a cache memory configured to store a plurality of lines that include data and metadata; and

    a circuit configured to;

    determine a respective number of edges associated with vertices of a plurality of vertices included in a graph data structure;

    sort the graph data structure using the respective number of edges associated with the vertices of the plurality of vertices to generate a sorted graph;

    determine a reuse value for a particular vertex of the plurality of vertices using results of a comparison of a respective address associated with the particular vertex in the sorted graph to a plurality of address ranges associated with corresponding addresses of the plurality of vertices, wherein the reuse value is indicative of a frequency with which a particular line of the plurality of lines associated with the particular vertex is accessed in the cache memory; and

    store, in the cache memory, data and metadata associated with the particular vertex of the plurality of vertices in the particular line, wherein the metadata includes at least the reuse value for the particular vertex and a list of edges connected to the particular vertex.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×