Cache Memory is also known as SRAM (Static RAM). And I assume you the full form of RAM. So, why cache memory is used in Computer? Hmm, Nice question. As we know data is transferred from secondary memory to primary memory for making change in the file. And from primary memory it goes to the CPU via Bus for execution. CPU is so fast that the data transfer RAM become slow for the CPU. As result CPU remain idle most of the time. So, to optimize the usage of the CPU, cache memory was introduced. Cache memory is hardware memory which store the instructions that are executed frequently by the system. To understand the concept of cache memory? Let’s take an example: Suppose, CPU is at Point A, Cache memory is at point B and RAM is at point C. So, who will require more time to reach to CPU? Point B or C? Obviously, B(Cache) because its closure to CPU. It will require less time to transfer data to the CPU.Because it is nearer to CPU. When a proce...
Maximizing the potential