成人快手

Primary storage - EduqasCache memory

Primary storage is a key component of a computer system that enables it to function. Primary storage includes random access memory (RAM), read only memory (ROM), cache and flash memory. Each of these have different uses within the computer.

Part of Computer ScienceUnderstanding Computer Science

Cache memory

is a type of high-speed which is built into the

can be transferred to and from cache memory more quickly than from RAM. As a result, cache memory is used to temporarily hold data and that the processor is likely to reuse. This allows for faster processing as the processor does not have to wait for the data and instructions to be from RAM.

The more cache memory a computer has, the faster it runs. However, because of its high-speed performance, cache memory is more expensive to build than RAM. Therefore, cache memory tends to be very small in size.

To get around this issue, different types of cache exist - Level 1 (L1) cache and Level 2 (L2) cache.

  • L1 cache has extremely fast transfer rates, but is very small in size. The processor uses L1 cache to hold the most frequently used instructions and data.
  • L2 cache is bigger in capacity than L1 cache, but slower in speed. It is used to hold data and instructions that are needed less frequently.