Cache Memory – What is cache memory in computer Architecture?(What are the 3 types of cache memory?)

0
()

Cache Memory is a part of the computer’s architecture. This is the memory inside the primary memory of the computer. Which is used by the computer to provide quick information to the customers.

Cache memory is found in devices like Computer, Smartphone, Laptop. It serves as the primary memory of the processor.

Cache memory stores the information we have seen inside itself and when we need that information again, it loads the same information in less time and shows it to us. So let’s try to understand in simple words today what is cache memory?

Cache Memory in computer

As we told you cache memory is the primary memory of the computer. which are already present in our system. When you search for something new in the search engine and see or read it, then your system stores the information you have seen in the cache memory.

cache memory
cache memory

To see that information again, when you go to the search engine and type some of the initial keywords, then Cache Memory automatically completes that keyword and as soon as you click on it, the same page will load faster than before. and you see that information.

The work that is done to provide Oput at this fast speed is done through cache memory only. That is why in order to see new changes and information, it is necessary that we keep deleting our cache memory from time to time.

Cache memory is also called high speed memory. Because with the help of this memory, the computer works to provide output to us at a fast speed.

Cache memory is also called the memory between CPU and RAM. This memory is more expensive and economical than the disk memory of the computer.

Read Also:  Remove null from array javascript Example

Cache memory reduces the process time of CPU. It provides that data to the CPU. Which is used more by the customer. The computer first goes to this to get the information.

It goes to RAM only when it does not have data or information. Cache memory is also called memory attached to CPU.

Types of Cache Memory

  • Level 1 cache
  • Level 2 cache
  • Level 3 cache

1. Level 1 cache – This is the first level to store data or information. It stores all its data through CPU. It works faster than level 2 and level 3. Because the computer first goes to the level 1 cache memory to get the information.

Level 1 storage memory ranges from 2KB to 64KB. It can store more data than the rest of the tiers. The processor first comes to this to get the data. Only if he doesn’t get near it, he goes to the rest of the levels.

Free Live Chat for Any Issue

2. Level 2 cache – This is the second stage or level of storing data or information. It can also occur inside the CPU and to a lesser extent it can also happen outside the CPU. Its output capacity is slightly less than level 1.

3. Level 3 cache – This is the last level to store the data. It does not store the data inside the CPU but outside. Its output capacity is less than level 1 and level 2. Because it does not store its data in CPU.

Features of Cache Memory

  • Cache memory is a fast-moving memory. With the help of which we can get fast output in less time.
  • Storage capacity of cache memory is less.
  • Cache memory performs its function through CPU.
  • When we use the Internet to get any information, it stores that information in our memory in the form of data.
  • This is Time Consuming Memory.
  • This type of memory is present in the processor of computer, laptop, smartphone etc.
Read Also:  What is the difference between bitbucket vs github?

How to delete cache memory?

To delete the cache memory, you must first go to the browser of your mobile or desktop. From where you get information with the help of internet. After that go to Browser History.

After going to the browser history, go to Clear Browsing Data. After that, the option that will come in front of you will be Cache File or Cache Data. After that select it and click on the option of Clear Data.

In this way you can delete the cache memory of your browser or system and get the new browser result. If you also want that you always get new informations via internet. So you also keep deleting your cache memory from time to time.

work of cache memory

The main function of cache memory is to make the information reach the recipient in the shortest possible time.

It stores the information seen through the CPU in its memory and if the user needs that information again, instead of RAM (Random Access Memory), it takes the data from the cache memory and gives it to the user. By doing this, it works to provide access to the user in less time.

As we told you above that there are three types of cache memory – L1, L2 and L3 when the processor of the computer processes the input-output. So he first goes to L1 to get the information if he does not get that information near L1. Only then does he move to L2 and L3.

Read Also:  PHP get max value in array

When the computer system does not get information even near L1, L2 and L3. So it goes to the RAM and then receives the information from there and provides it to its users. Cache memory makes the process of output faster. Cache memory is also known as the fastest memory of the computer.

Conclusion

What is Cache Memory? This is one such memory. Which recently stores the data inside itself and in a short time again provides that information to its user. It does its work at a fast pace. It is a part of the primary memory of the computer.

The operation of cache memory is done through the CPU. CPU stores data in many parts. The data stored in different parts performs its function in different ways. If we talk about quick data access memory, then we look towards the cache memory.

Download

So friends, today you know what is cache memory? (Cache Memory) If you liked this post of ours and you want to express your views. So do share your thoughts with us through the comment box.

How useful was this post?

Click on a star to rate it!