×

Apparatus and method of handling caching of persistent data

  • US 10,642,743 B2
  • Filed: 06/12/2018
  • Issued: 05/05/2020
  • Est. Priority Date: 06/28/2017
  • Status: Active Grant
First Claim
Patent Images

1. An apparatus comprising:

  • cache storage having a plurality of entries to cache data items associated with memory addresses in a non-volatile memory, the data items comprising persistent data items and non-persistent data items;

    write back control circuitry to control write back of the data items from the cache storage to the non-volatile memory; and

    cache usage determination circuitry to determine, in dependence on information indicative of capacity of a backup energy source, a subset of the plurality of entries to be used to store persistent data items;

    wherein, in response to an event causing the backup energy source to be used, the write back control circuitry is arranged to initiate write back to the non-volatile memory of the persistent data items cached in said subset of the plurality of entries;

    wherein the cache usage determination circuitry is arranged to perform a partitioning operation in order to partition the cache storage into a persistent region providing the subset of the plurality of entries to be used to store persistent data items and a non-persistent region providing entries other than the subset of the plurality of entries to be used to store persistent data items, and to generate usage control information that enables identification of the persistent region;

    wherein the apparatus further comprises;

    control storage to store the usage control information generated by the cache usage determination circuitry; and

    allocation circuitry arranged after the usage control information has been stored in the control storage, to be responsive to a subsequent request that causes a new data item to be allocated in the cache storage, to reference the control storage when determining into which entry of the cache storage the new data item is to be allocated, such that when the new data item is a persistent data item an entry within the persistent region identified by the control information is selected by the allocation circuitry as the entry into which that new data item is allocated that new data item is allocated;

    wherein, in response to said event causing the backup energy source to be used, the write back control circuitry is arranged to reference the control storage in order to determine which entries are to have their data items written back to the non-volatile memory.

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