23.9k views
0 votes
A processor accesses main memory with an average access time of T 2 . A smaller cache memory is interposed between the processor and main memory. The cache has a significantly faster access time of T 1

User MarkII
by
8.3k points

1 Answer

0 votes

A processor that uses the cache memory is faster than one that only uses main memory. Cache is more expensive than main memory. Because it is faster, it is also smaller. When the processor is turned on, the cache is empty. It is filled as the program runs. When the cache is full, something called a cache miss occurs. This is when the processor has to wait for data to be retrieved from main memory. The bigger the cache is, the less often this will occur, and the faster the processor will be. The advantage of using a cache is that it saves time when accessing data. Caches keep recently used data in high-speed memory and store the rest in slower memory. The cache reduces the average time to access data by reducing the distance between the processor and the memory. This is because the cache is located on the same chip as the processor. This means that data can be accessed more quickly than if it were stored in main memory.The advantage of using a cache is that it saves time when accessing data. Caches keep recently used data in high-speed memory and store the rest in slower memory. The cache reduces the average time to access data by reducing the distance between the processor and the memory. This is because the cache is located on the same chip as the processor. This means that data can be accessed more quickly than if it were stored in main memory.

User Mroman
by
7.9k points