Heuristic cache tuning
AssigneeSun Microsystems, Inc.
InventorAkara Sucharitakul
Life of this patent
Estimating the term…
Abstract
In some embodiments, a computer system comprises a cache configured to cache data. The computer system is configured to monitor the cache and data that is potentially cacheable in the cache to accumulate a plurality of statistics useable to identify which of a plurality of data lifecycle patterns apply to the data. The computer system is also configured to modify a cache configuration of the cache dependent on which of the plurality of data lifecycle patterns apply to the data.
Claims17
A computer accessible storage medium comprising a plurality of instructions which, when executed:
- monitor a cache and data that is potentially cacheable in the cache to accumulate a plurality of statistics usable to identify which of a plurality of data lifecycle patterns apply to the data;
- identify two or more of the plurality of data lifecycle patterns that occur concurrently;
- and
- modify a cache configuration of the cache dependent on which of the plurality of data lifecycle patterns apply to the data and further dependent on whether or not resources that would be consumed by the cache configuration are available for caching, and wherein the resources that would be consumed by the cache configuration are not currently consumed according to a current configuration of the cache and wherein, in response to identifying the two or more of the plurality of data lifecycle patterns that occur concurrently, modifying the cache configuration comprises modifying the cache configuration with a combination of modifications, each of the modifications corresponding to one of the concurrently identified data lifecycle patterns, and wherein modifying the cache with the combination of modifications comprises partitioning the cache into partitions, each partition corresponding to one of the two or more of the plurality of data lifecycle patterns and configured according to the one of the two or more of the plurality of data lifecycle patterns.
A method comprising:
- monitoring a cache and data that is potentially cacheable in the cache to accumulate a plurality of statistics usable to identify which of a plurality of data lifecycle patterns apply to the data;
- identify two or more of the plurality of data lifecycle patterns that occur concurrently;
- and
- modifying a cache configuration of the cache dependent on which of the plurality of data lifecycle patterns apply to the data and further dependent on whether or not resources that would be consumed by the cache configuration are available for caching, and wherein the resources that would be consumed by the cache configuration are not currently consumed according to a current configuration of the cache and wherein, in response to identifying the two or more of the plurality of data lifecycle patterns that occur concurrently, modifying the cache configuration comprises modifying the cache configuration with a combination of modifications, each of the modifications corresponding to one of the concurrently identified data lifecycle patterns, and wherein modifying the cache with the combination of modifications comprises partitioning the cache into partitions, each partition corresponding to one of the two or more of the plurality of data lifecycle patterns and configured according to the one of the two or more of the plurality of data lifecycle patterns.
A computer system comprising a cache configured to cache data, wherein the computer system is configured to monitor the cache and data that is potentially cacheable in the cache to accumulate a plurality of statistics usable to identify which of a plurality of data lifecycle patterns apply to the data, and wherein the computer system is configured to identify two or more of the plurality of data lifecycle patterns that occur concurrently, and wherein the computer system is configured to modify a cache configuration of the cache dependent on which of the plurality of data lifecycle patterns apply to the data and further dependent on whether or not resources that would be consumed by the cache configuration are available for caching, and wherein the resources that would be consumed by the cache configuration are not currently consumed according to a current configuration of the cache and wherein, in response to identifying the two or more of the plurality of data lifecycle patterns that occur concurrently, modifying the cache configuration comprises modifying the cache configuration with a combination of modifications, each of the modifications corresponding to one of the concurrently identified data lifecycle patterns, and wherein modifying the cache with the combination of modifications comprises partitioning the cache into partitions each partition corresponding to one of the two or more of the plurality of data lifecycle patterns and configured according to the one of the two or more of the plurality of data lifecycle patterns.
Dependencies are inferred from the claim text.