Electronics and Communication Engineering - Microprocessors - Discussion

Discussion Forum : Microprocessors - Section 1 (Q.No. 13)
13.
Which of the following computer memories is fastest?
Cache
Primary
Mass storage
Off line back up
Answer: Option
Explanation:

Cache memory has a speed of about four times the speed of main memory. It is a small high speed memory.

Discussion:
2 comments Page 1 of 1.

Anonymous said:   7 years ago
In the case of a CPU cache, it is faster because it's on the same die as the processor. In other words, the requested data doesn't have to be bussed over to the processor; it's already there.

In the case of the cache on a hard drive, it's faster because it's in solid state memory, and not still on the rotating platters.

In the case of the cache on a website, it's faster because the data has already been retrieved from the database (which, in some cases, could be located anywhere in the world).

So it's about locality, mostly. Cache eliminates the data transfer step.

Locality is a fancy way of saying data that is "close together" either in time or space. Caching with a smaller, faster (but generally more expensive) memory works because typically a relatively small amount of the overall data is the data that is being accessed the most often.
(2)

Mahi said:   9 years ago
Why cache has much speed?

Post your comments here:

Your comments will be displayed after verification.