A method for reconfiguring a cache memory is provided. The method in one
aspect may include analyzing one or more characteristics of an execution
entity accessing a cache memory and reconfiguring the cache based on the
one or more characteristics analyzed. Examples of analyzed characteristic
may include but are not limited to data structure used by the execution
entity, expected reference pattern of the execution entity, type of an
execution entity, heat and power consumption of an execution entity, etc.
Examples of cache attributes that may be reconfigured may include but are
not limited to associativity of the cache memory, amount of the cache
memory available to store data, coherence granularity of the cache
memory, line size of the cache memory, etc.