SOEN 228 Chapter Notes - Chapter 5b: Multiprocessing, Web Cache, Memory Hierarchy

215 views10 pages

Document Summary

In-depth look @ cache memory in computer system (cache miss/hit)3. Goal of memory hierarchy is provide memory system with cost as lowest as cheapest level of memory & speed as fast as top level. Cache memory reduces gap between of performance between cpu and main. Def: safe place for hiding and storing things: cache stores a portion of main memory. Cache and main memory are divided into groups called words and blocks. 3 ways that a main memory block is stored in cache: full associative: one block can go into any cache block, direct mapped: each block in main memory has one place in cache. Definition: block_# mod cache_size: set associative: block is placed in restrictive set of places. Diagram (main memory has 32 blocks & cache has 8 blocks) In-depth look @ cache memory in computer system (cache miss/hit) Cpu is 5 times faster than cycle of semiconductor ram.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents