×

Predictive sequential prefetching for data caching

  • US 8,473,689 B2
  • Filed: 07/27/2010
  • Issued: 06/25/2013
  • Est. Priority Date: 07/27/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method for prefetching memory in caching systems, comprising:

  • receiving a request for a memory line having an associated address;

    in response to a request for a memory line determining whether the memory line is stored in a prefetch buffer, the prefetch buffer having a plurality of prefetch buffer entries, each prefetch buffer entry including a data field for storing a corresponding memory line, an address field for storing an address corresponding to the memory line and an prefetch indicator field for storing an indication whether a memory line next adjacent to the corresponding memory line is stored in the prefetch buffer;

    if the requested memory line is stored in the prefetch buffer supplying the requested memory line from the prefetch buffer;

    if the requested memory line is not stored in the prefetch bufferrequesting the requested memory line from a next level memory, andsupplying the requested memory line;

    following supply of the requested memory line, accessing the prefetch indicator field of the prefetch entry allocated to the requested memory line to determine whether the next adjacent memory line has been prefetched; and

    in response to a determination of the accessed prefetch indicator field that indicates the next adjacent memory has not been prefetchedprefetching the next adjacent memory line from the next level memory,allocating a prefetch buffer entry to the next adjacent memory line, andstoring the prefetched next adjacent memory line in the allocated prefetch buffer entry by storing in the data field the prefetched next adjacent memory line, storing in the address field the associated address and storing in the prefetch indicator field an indication that the memory line next adjacent to the corresponding memory line is not stored in the prefetch buffer, andstoring an indication in the prefetch indicator field of the prefetch buffer entry associated with the requested memory line that the next adjacent memory line has been prefetched.

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