Method of cache management to store information in particular regions of the cache according to information-type
First Claim
1. A cache comprising:
- a plurality of congruence classes that each contain a plurality of sets;
a directory that indicates, for each of the plurality of congruence classes, which of a plurality of information types each of the plurality of sets can store, wherein at least one set of at least one congruence class can store fewer than all of said plurality of information types and at least one set can store multiple ones of said plurality of information types, wherein said directory includes a plurality of information type fields that each indicate which of the plurality of information types a respective set can store; and
a cache controller that, in response to receipt by said cache of information to be stored, said information having a particular information type among said plurality of information types, stores said information into one of the plurality of sets indicated by said directory as capable of storing said particular information type.
1 Assignment
0 Petitions
Accused Products
Abstract
A set associative cache includes a number of congruence classes that each contain a plurality of sets, a directory, and a cache controller. The directory indicates, for each congruence class, which of a plurality of information types each of the plurality of sets can store. At least one set in at least one of the congruence classes is restricted to storing fewer than all of the information types and at least one set can store multiple information types. When the cache receives information to be stored of a particular information type, the cache controller stores the information into one of the plurality of sets indicated by the directory as capable of storing that particular information type. By managing the sets in which sets information is stored according to information type, an awareness of the characteristics of the various information types can easily be incorporated into the cache'"'"'s allocation and victim selection policies.
-
Citations
21 Claims
-
1. A cache comprising:
-
a plurality of congruence classes that each contain a plurality of sets;
a directory that indicates, for each of the plurality of congruence classes, which of a plurality of information types each of the plurality of sets can store, wherein at least one set of at least one congruence class can store fewer than all of said plurality of information types and at least one set can store multiple ones of said plurality of information types, wherein said directory includes a plurality of information type fields that each indicate which of the plurality of information types a respective set can store; and
a cache controller that, in response to receipt by said cache of information to be stored, said information having a particular information type among said plurality of information types, stores said information into one of the plurality of sets indicated by said directory as capable of storing said particular information type. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A data processing system, comprising:
-
a processor; and
a cache, coupled to said processor, that includes;
a plurality of congruence classes that each contain a plurality of sets;
a directory that indicates, for each of the plurality of congruence classes, which of a plurality of information types each of the plurality of sets can store, wherein at least one set of at least one congruence class can store fewer than all of said plurality of information types and at least one set can store multiple ones of said plurality of information types, wherein said directory includes a plurality of information type fields that each indicate which of the plurality of information types a respective set can store; and
a cache controller that, in response to receipt by said cache of information to be stored, said information having a particular information type among said plurality of information types, stores said information into one of the plurality of sets indicated by said directory as capable of storing said particular information type. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A method of managing the storage of information in a set associative cache having a plurality of congruence classes that each contain a plurality of sets, said method comprising:
-
for each of the plurality of congruence classes, specifying which of a plurality of information types each of the plurality of sets can store by setting a respective one of a plurality of information type fields for each of said plurality of sets, wherein at least one set can store fewer than all of said plurality of information types and at least one set can store multiple ones of said plurality of information types; and
in response to receipt by said set associative cache of information to be stored, said information having a particular information type among said plurality of information types, storing said information into a set that is able to store said particular information type. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification