Managing high-coherence-miss cache lines in multi-processor computing environments
First Claim
1. A method for cache management in a multi-processor computing environment, the computing environment including a cache configured to hold a plurality of cache lines, each cache line configurable with a coherency mode, the method comprising:
- accessing a first cache line in a full-line coherency mode, wherein cache control logic associated with the cache is configured to operate or manage the first cache line in the full-line coherency mode with a full-line granularity, the accessing the first cache line resulting in a coherence request, wherein based on the accessing, incrementing a counter in an entry in a coherence miss detection table, the entry associating the counter with the first cache line;
determining that the first cache line is a high-coherence-miss cache line, wherein the determining that the first cache line is the high-coherence-miss cache line comprises determining that the incremented counter satisfies a high-coherence-miss criterion; and
based on the determining, placing the first cache line in a sub-line coherency mode, wherein the cache control logic is configured to operate or manage a plurality of sub-cache line portions of the first cache line in the sub-line coherency mode.
8 Assignments
0 Petitions
Accused Products
Abstract
Cache lines in a multi-processor computing environment are configurable with a coherency mode. Cache lines in full-line coherency mode are operated or managed with full-line granularity. Cache lines in sub-line coherency mode are operated or managed as sub-cache line portions of a full cache line. A high-coherence-miss cache line may be placed in sub-line coherency mode. A cache line may be associated with a counter in a coherence miss detection table that is incremented whenever an access of the cache line results in a coherence request. The cache line may be a high-coherence-miss cache line when the counter satisfies a high-coherence-miss criterion, such as reaching a threshold value. The cache line may be returned to full-line coherency mode when a reset criterion is satisfied.
41 Citations
17 Claims
-
1. A method for cache management in a multi-processor computing environment, the computing environment including a cache configured to hold a plurality of cache lines, each cache line configurable with a coherency mode, the method comprising:
-
accessing a first cache line in a full-line coherency mode, wherein cache control logic associated with the cache is configured to operate or manage the first cache line in the full-line coherency mode with a full-line granularity, the accessing the first cache line resulting in a coherence request, wherein based on the accessing, incrementing a counter in an entry in a coherence miss detection table, the entry associating the counter with the first cache line; determining that the first cache line is a high-coherence-miss cache line, wherein the determining that the first cache line is the high-coherence-miss cache line comprises determining that the incremented counter satisfies a high-coherence-miss criterion; and based on the determining, placing the first cache line in a sub-line coherency mode, wherein the cache control logic is configured to operate or manage a plurality of sub-cache line portions of the first cache line in the sub-line coherency mode. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer system for cache management in a multi-processor computing environment, the computing environment including a cache configured to hold a plurality of cache lines, each cache line configurable with a coherency mode, the computer system comprising:
-
a memory; and a processor in communication with the memory, wherein the computer system is configured to perform a method, the method comprising; accessing a first cache linein a full-line coherency mode, wherein cache control logic associated with the cache is configured to operate or manage the first cache line in the full-line coherency mode with a full-line granularity, the accessing the first cache line resulting in a coherence request, wherein based on the accessing, incrementing a counter in an entry in a coherence miss detection table, the entry associating the counter with the first cache line; determining that the first cache line is a high-coherence-miss cache line, wherein the determining that the first cache line is the high-coherence-miss cache line comprises determining that the incremented counter satisfies a high-coherence-miss criterion; and based on the determining, placing the first cache line in a sub-line coherency mode, wherein the cache control logic is configured to operate or manage a plurality of sub-cache line portions of the first cache line in the sub-line coherency mode. - View Dependent Claims (7, 8, 9, 10, 11, 12)
-
-
13. A computer program product for cache management in a multi-processor computing environment, the computing environment including a cache configured to hold a plurality of cache lines, each cache line configurable with a coherency mode, the computer program product comprising:
a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method, the method comprising; accessing a first cache linein a full-line coherency mode, wherein cache control logic associated with the cache is configured to operate or manage the first cache line in the full-line coherency mode with a full-line granularity, the accessing the first cache line resulting in a coherence request, wherein based on the accessing, incrementing a counter in an entry in a coherence miss detection table, the entry associating the counter with the first cache line; determining that the first cache line is a high-coherence-miss cache line, wherein the determining that the first cache line is the high-coherence-miss cache line comprises determining that the incremented counter satisfies a high-coherence-miss criterion; and based on the determining, placing the first cache line in a sub-line coherency mode, wherein the cache control logic is configured to operate or manage a plurality of sub-cache line portions of the first cache line in the sub-line coherency mode. - View Dependent Claims (14, 15, 16, 17)
Specification