Chapter 6: Allison Hamann, Chris Barile: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
(→‎Sector Cache: Started drafting content. Need to add reference section to page and possibly archive papers.)
(→‎Sector Cache: Adding paragraph about cache loading)
Line 13: Line 13:
C. Advantages
C. Advantages


Sector Caches are organized into sectors and subsectors. A sector is a collection of smaller subsectors. Subsectors are similar to lines in a direct-mapped cache. Each subsector has a "validity bit" which tells whether or not that subsector has been loaded into cache from the main memory.
Sector Caches are organized into sectors and subsectors. A sector is a collection of smaller subsectors. Subsectors are similar to lines in a direct-mapped cache. Each subsector has a "validity bit" which tells whether or not that subsector has been loaded into cache from the main storage.
 
When a process requests data that is not in the cache, a cache sector is assigned to the sector on the main storage device where the requested data is stored. Then a portion of that sector, known as the subsector, is loaded into the cache. The subsector's validity bit is then set to reflect that it has been loaded from the main storage. When a process requests data from the loaded sector that is not already in the cache, the subsector it is in becomes loaded into memory.

Revision as of 18:27, 6 February 2012

http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=876437

Victim Cache

Sector Cache

A. Organziation

1) Sectors
2) Subsectors
3) Validity Bit

B. Load Procedure

1) Sector miss
2) Subsector miss

C. Advantages

Sector Caches are organized into sectors and subsectors. A sector is a collection of smaller subsectors. Subsectors are similar to lines in a direct-mapped cache. Each subsector has a "validity bit" which tells whether or not that subsector has been loaded into cache from the main storage.

When a process requests data that is not in the cache, a cache sector is assigned to the sector on the main storage device where the requested data is stored. Then a portion of that sector, known as the subsector, is loaded into the cache. The subsector's validity bit is then set to reflect that it has been loaded from the main storage. When a process requests data from the loaded sector that is not already in the cache, the subsector it is in becomes loaded into memory.