welcome!
Welcome to pecelleleosk.blogspot.my! We provide information and notes about Computer Organization and Architecture for you to access just by your fingertips! Easy and no stress! Enjoy your study :D recent entries
Credits
| Chapter 10: Memory Organization (Memory Cache)
A memory used to store data and instruction. Computer memory is the storage space in computer where data is to be processed and instructions required for processing are stored.
Memory is primarily of two types
Characteristics of Memory Hierarchy are following when we go from top to bottom.
The Principle of Locality
The Principle of Locality:
• Program access a relatively small portion of the address space at any instant of time.
• Example: 90% of time in 10% of the code
Two Different Types of Locality:
• Temporal Locality (Locality in Time): If an item is referenced, it will tend to be referenced again soon.
• Spatial Locality (Locality in Space): If an item is referenced, items whose addresses are close by tend to be referenced soon.
Leads to memory hierarchy at two main interface levels:
Processor - Main memory -> Introduction of caches – Main memory - Secondary memory -> Virtual memory (paging
systems)
Cache Memory
Cache memory is a very high speed semiconductor memory which can speed up CPU. It acts as a buffer between the CPU and main memory. It is used to hold those parts of data and program which are most frequently used by CPU. The parts of data and programs, are transferred from disk to cache memory by operating system, from where CPU can access them.
Advantages:
Disadvantages:
Oh and last but not least, here's a video for an introduction to cache mapping technique include direct mapping, associative mapping and set-associative mapping. Hope it helps! :-)
|
0 Comments:
Post a Comment