what is cache memory ?

what is cache memory ?

 Cache Memory in Computer: This is a special type of high speed memory which is stored in the CPU of the computer.  And cache memory is located between the RAM and stores those data and instructions which are required by the CPU.  C.P.U. gets tested again and again.  The cache can retrieve data and instructions from memory more quickly than RAM or other disks.

 The speed of CPU is very fast, but due to low speed of RAM, CPU is slow.  The speed of data transfer between RAM and RAM decreases.

 Cache memory has higher speed.  This CPU  Provides data to the computer at a faster speed, similarly the C.P.  It also absorbs the processed data at a faster speed, due to which the access time of the computer gets reduced and the speed of the computer increases.

What is Memory Access Time?

 The time taken to read or write a location of memory is called memory access time. The lesser the memory access time, the higher the speed of the computer.

 What is Memory Cycle Time?

 The time between starting two independent tasks is called memory cycle time.

 Memory Cycle Time is slightly more than Memory Access Time because there is a time delay between two tasks.  The time between the completion of the first task and the start of the second task is also included in this.

 Memory Cycle Time = Memory Access Time + Time Delay

Types of Cache Memory :

 • L1 Cache Memory

 • L2 Cache Memory

 • L3 Cache Memory

L1 Cache Memory :

 L1 Cache memory is also known as on-board cache or primary cache, which is inbuilt in the CPU. L1 Cache memory is very small in size, in most computers it is 16 KB.  Although it is changing very fast.

L2 Cache Memory :

L2 Cache memory is known as External or Secondary Cache. It is built in a separate chip and is faster than conventional memory.

L3 Cache Memory :

 L3 Cache memory is not used generally. This cache is added to the motherboard only. This cache memory is used for high capacity computers. L3 Cache is not necessary in all computers.

 Here L1 Cache, L2 Cache, L3 Cache are all three cache memories of CPU.  All three cache memories increase the speed of execution of CPU in different ways.  Helps.

 L1 Cache holds the instructions that are being executed, L2 Cache holds the possible upcoming instructions and L3 Cache holds all the possible instructions.

What are the benefits of Cache Memory?

 The following information is given about some of the main benefits of cache memory. Let us know in detail-

 • Cache memory is known for fast speed.  Its speed is even higher than main memory.

 • Here it also plays an important role in boosting the speed of your computer.

 • Multi levels are available in cache memory.

 • Through this, a lot of time is saved.

 • Only recent data is stored here due to which the outputs are fast.

What are the disadvantages of Cache Memory?

 Cache memory also has some disadvantages, let us know-

 • Cache memory is quite expensive.

 • Its storage capacity is very limited.

 • Sometimes what happens is that when the CPU needs data, it is not able to provide data access to the CPU at that time.

 • If the cache memory increases in the device then the device may also hang.

Leave a Comment