What is cache memory? Could cache memory be considered a buffer?
Cache memory is a high-speed memory. It is located between the CPU and main memory. Due to speed mismatch between CPU and main memory, cache memory is used. This memory store information for running instruction and execute the instruction faster rather than searching for information from the main memory.
Cache memory can not be used as a buffer because the buffer is a slow speed memory and it is mostly located in input/output devices. Buffer memory stores the intermediate results of an instruction and this information is temporary. When an input/output device needs to execute an instruction then it searches for temporary information from its local buffer.
Comments
Leave a comment