This post we will discuss about Cache Memory.
CACHE MEMORY
- A typical computer program flows in a straight-line fashion with program loops and subroutine calls encountered frequently.
- If the active portions of the program and data are placed in a fast small memory,the average memory access time can be reduced.The memory known as Cache memory.
- The performance of cache memory is frequently measured in terms of a quantity called hit ratio.
- When the CPU refers to memory and finds the word in cache,its said to produce a hit.
- If the word is not found in cache,its in main memory and its counts as a miss.
CHARACTERISTIC of CACHE MEMORY
- It is fast access time.
- Mapping process is a transformation of data from main memory to cache memory.
- 3 types of mapping process are:
ASSOCIATIVE MAPPING
The fastest and most flexible cache organization uses in associative memory.There have stores both the address and content (data) of the memory word.If the address is found corresponding data is read otherwise main memory is accessed for the word.This is expensive compared to random-access memories.
No comments:
Post a Comment