Patent ID: 7483325

Claim:
A method of operating a cache system comprising dynamic storage having an array of cells, the method comprising: refreshing, at a refresh interval, the array of cells of the cache by reading the cache and writing back to the cache; determining whether an error is found in the cache at the refresh interval; if no error is found in the cache, repeatedly increasing the refresh interval by a predetermined amount until the error is found in the cache; if the error is found in the cache, recovering from the error in the cache; determining if a number of line deletions for the cache is a maximum number of line deletions for the cache; if the maximum number of line deletions for the cache is not attained, deleting a line having the error from the cache and increasing the number of line deletions for the cache; and if the maximum number of line deletions for the cache is attained, decreasing the refresh interval for refreshing by the predetermined amount.