Patent ID: 9733991
Date: 2017-08-15
CPC Classifications: G06F

Claim:
1. A method for data management in a multi-core computing storage environment by a processor device, comprising: batching data operations, requiring a lock, into a set of operations to be performed on a per-core basis; establishing a Least Recently Used (LRU) data list; batching identification information of a portion of LRU data pursuant to a data hit, to be placed at a Most Recently Used (MRU) end of the LRU data list, as to determine whether data associated with the LRU data list should be demoted within the storage environment; performing a demotion scan using a demote-ready list, the demote-ready list indicating data to be demoted within the storage environment due to no active data users; periodically acquiring a global lock for the set of operations, performing the set of operations, and freeing the global lock so as to avoid excessive duty cycling of lock and unlock operations in the computing storage environment; pursuant to batching the data operations, configuring at least one per-core array with each of a predetermined number of control blocks, and a flag associated with each of the predetermined number of control blocks; and pursuant to batching the data operations, determining, in a first foreground process, if a batched array of the at least one per-core array is full, wherein: in a background process, flushing the at least one per-core array, including the batched array; wherein the background process increments a 2 bit counter of the at least one per-core array once every predetermined time interval while a second foreground process zeros the 2 bit counter each time the at least one per-core array, including the batched array, is flushed.