Claims
- 1. In a computer system including a plurality of processors, a main memory and a cache memory, a method for managing the cache memory comprising the steps of:(a) dividing said cache memory into a plurality of regions; (b) associating each of said processors with a different one of said regions; (c) generating an access address to said main memory that contains data desired by one of said processors; (d) determining if a copy of said data resides in said cache memory; (e) providing access to said copy of said data residing in said cache memory if said copy of said data resides in any region within said cache memory; and (f) copying said data from said main memory into the region of said cache memory associated with said one of said processors if a copy of said data does not reside in any region within said cache memory.
- 2. The method of claim 1, wherein said step of copying said data further comprising the step of:mapping a block of said main memory containing said access address into the region of said cache memory associated with said one of said processors.
- 3. The method of claim 2, said region of said cache memory associated with said one of said processors contains a plurality of slots, wherein said step of mapping maps said block into at least one slot of said region of said cache memory associated with said one of said processors.
- 4. The method of claim 3, wherein said mapping step uses associative mapping.
- 5. The method of claim 3, wherein said mapping step uses set-associative mapping.
- 6. An apparatus for accelerating the access speed of a main memory, comprising:(a) a cache memory including a plurality of regions, said cache memory is shared by a plurality of processors, each of said processors is associated with one of said regions; (b) means for generating an access address that contains data desired by one of said processors; and (c) means for determining if a copy of said data resides in said cache memory; (e) means for providing access to said copy of said data residing in said cache memory if said copy of said data resides in any region within said cache memory; and (f) means for copying said data from said main memory into the region of said cache memory associated with said one of said processors if a copy of said data does not reside in any region within said cache memory.
- 7. The apparatus of claim 6, further comprising:means for mapping a block of said main memory containing said access address into said region of said cache memory associated with said one of said processors.
- 8. The apparatus of claim 7, said region of said cache memory associated with said one of said processors containing a plurality of slots, wherein said mapping means maps said block into at least one slot of said region of said cache memory associated with said one of said processors.
- 9. The apparatus of claim 8, wherein said mapping means maps said block into said at least one slot of said region of said cache memory associated with said one of said processors by using associative mapping.
- 10. The apparatus of claim 8, wherein said mapping means maps said block into said at least one slot of said region of said cache memory associated with said one of said processors by using set-associative mapping.
Parent Case Info
This is a continuation of application Ser. No. 08/569,335, filed on Dec. 8, 1995 now abandoned.
US Referenced Citations (26)
Continuations (1)
|
Number |
Date |
Country |
Parent |
08/569335 |
Dec 1995 |
US |
Child |
08/869878 |
|
US |