Cache system using mask bits to recorder the sequences for transfers of data through cache to system memory
First Claim
1. Apparatus for controlling a transfer of data involving a data cache and memory of a computer system, comprising:
- a bus connecting the computer system memory and the computer system data cache;
means for transferring data into the computer system data cache;
at least one data unit in the computer system data cache, the at least one data unit comprising a plurality of groups of bits;
a plurality of mask bits, wherein each of the plurality of mask bits is associated with one of the plurality of groups of bits;
means for relating a given state of each of the plurality of mask bits bit to changes in the group of bits associated with that mask bit; and
means for transferring data from the computer system memory to the computer system data cache in response to the given states of the plurality of mask bits.
1 Assignment
0 Petitions
Accused Products
Abstract
Apparatus and method for improving the rate of transfer of data in the context of a system memory operated in conjunction with a cache. In one form, mask bits in a mask bit register are associated to bytes of cache. The mask bits are changed in state when the corresponding byte in the cache is written. The mask bits are used in a reordered operating sequence to selectively write data from system memory into the cache after a write into cache. Data transfer performance is improved significantly in that the selective writing of data from system memory to cache can be completely eliminated when the mask bits indicate that a whole unit of the cache, typically a cache line, has been written during the data transfer into the cache.
53 Citations
8 Claims
-
1. Apparatus for controlling a transfer of data involving a data cache and memory of a computer system, comprising:
-
a bus connecting the computer system memory and the computer system data cache; means for transferring data into the computer system data cache; at least one data unit in the computer system data cache, the at least one data unit comprising a plurality of groups of bits; a plurality of mask bits, wherein each of the plurality of mask bits is associated with one of the plurality of groups of bits; means for relating a given state of each of the plurality of mask bits bit to changes in the group of bits associated with that mask bit; and means for transferring data from the computer system memory to the computer system data cache in response to the given states of the plurality of mask bits. - View Dependent Claims (2, 3)
-
- 4. The apparatus recited in claim 4, wherein the at least one data unit comprises a cache line.
-
6. A method of operating a computer system to perform a data transfer between a data cache of the computer system and a computer system memory, comprising the steps of:
-
transferring data into the computer system data cache, wherein the data comprises at least one data unit which comprises a plurality of groups of bits; generating a plurality of mask bits, wherein each of the plurality of mask bits is associated with one of the plurality of groups of bits; and selectively transferring data from the computer system memory to the computer system data cache based upon given states of the plurality of mask bits. - View Dependent Claims (7, 8)
-
Specification