Technology

What is Cache Memory and how does it work?

Spread the love


What is Cache Memory in Hindi: talk whenever Computer Of memory Most of the people have only hard disk, SSD, RAM, ROM It is only known about etc. But there are very few people who know about Cache Memory.

if you Internet looking for that What is cache memory So in today’s article we are going to answer all your questions. Through this article we will tell you What is Cache Memory, How Cache Memory Works, Types of Cache Memory, Uses of Cache Memory and What are the Advantages and Disadvantages of Cache Memory.

If you also want to get complete information about cache memory, then you have to read this article till the end. So without wasting time let’s start this article in detail. cache memory in hindi.

What is Cache Memory

Cache memory is a volatile memory of the computer which semiconductor made of and CPU is engaged in. Cache memory improves the performance of the CPU so that the speed of the computer or mobile remains.

Being embedded in the CPU itself, the cache memory is much faster than the primary and secondary memory, it has the same data Stores which the CPU needs again and again. Data is stored temporarily in cache memory, and its storage capacity is also less.

how cache memory works

The working of cache memory is very easy to understand. You must know that all the applications or programs we run in the computer are Hard disk Stores in.

The CPU is not able to fetch data directly from the hard disk, because the hard disk is very slow, so the data is loaded into the primary memory RAM. RAM is faster than hard disk but it is not as fast as CPU.

RAM’s data transfer speed, data access time is slower than CPU. Therefore, when the CPU requests a program from the RAM, the RAM takes a certain amount of time to deliver the program, so that the performance of the CPU deteriorates.

That’s why cache memory is used here. Makes backup of data or instructions from RAM memory address to cache memory. Therefore, whatever data the CPU needs, it checks it in the cache memory.

If data is found in cache memory then CPU processes the data and if data is not found then CPU has to go to RAM. The same data is stored in the cache memory which the CPU needs again and again.

That’s why you must have also seen that when you run a program repeatedly in computer and mobile, it loads very quickly, and if you load any program or application sometimes, it takes some time to load. .

So friends, now you must have understood what is cache memory and how it works, let us now also know about the types of cache memory.

Types of Cache Memory

There are mainly three levels of cache memory –

  • Level 1 Cache Memory
  • Level 2 Cache Memory
  • Level 3 Cache Memory

Level 1 Cache Memory

Level 1 cache memory is very fast. This memory is located in the CPU itself and it can store a very small amount of data. The size of Level 1 cache memory ranges from 2KB to 64KB. Level 1 Cache Memory in most computers acts as CPU Cache, hence it is called Primary Cache Memory.

When the CPU needs any data, it first checks it in Level1 Cache memory itself, if the data is found by CPU in Level1 Cache memory then CPU does not check the rest of the level and processes the data. .

Level 2 Cache Memory

Level 2’s cache memory is larger than that of Level 1, and it can store more data than L1. The storage capacity of L2 cache memory can range from 256 KB to 512 KB. But its speed is less than that of L1. When CPU does not get any data in L1, it checks it in Level2 Cache, hence L2 is also called Secondary Cache.

Level 3 Cache Memory

The cache memory of the third level is larger than that of Level1 and Level2, but its speed is less than that of the first two levels. The storage capacity of L3 Cache memory can be up to 8 MB.

It is used to increase the performance of L1 and L2. Level 3 cache memory can also be outside the CPU. Level 3 cache memory is the same for all processors.

Uses of Cache Memory

Cache memory is very important for the performance of the computer system. It is very important to have a CPU fast in a computer system. Cache memory in a way improves the effectiveness of the CPU. Apart from this, there are many uses of cache memory, about which we have told you below –

  • Cache memory is a fast memory that increases the speed of the system.
  • Cache memory stores all the data that the CPU needs frequently.
  • Data Temporary Store remains in the cache memory, the data which is of no use, the cache memory replaces it.
  • Cache memory is present in the CPU itself, from which instructions are received quickly by the CPU, so it is a fast-access memory.
  • Due to the slowing down of the main memory, the CPU also slows down the speed of program execution, so cache memory is used so that the speed of the process is maintained.

Advantages of Cache Memory

Following are some of the major advantages of cache memory –

  • cache memory primary memory And secondary memory Much faster than .
  • Cache memory stores the frequently used data by the CPU, so that the performance of the CPU is better.
  • Cache memory is embedded in the CPU itself, so the CPU is able to access it fast.
  • Data is stored temporarily in the cache memory. It stores only that data which the CPU needs frequently.

Disadvantage of Cache Memory

Cache memory also has some disadvantages, but its disadvantages are negligible compared to the advantages. Some of the disadvantages of cache memory are as follows –

  • Cache memory costs more than other memory.
  • The storage capacity of cache memory is very less, so it gets full quickly. Devices that have very little cache memory tend to hang very quickly.
  • The data stored in the cache memory is destroyed once the power supply is turned off.

where is the cache memory located

Usually the cache memory is present in the CPU chip in the computer itself. Since there are different levels of cache memory, their status may vary from computer to computer. Level 1 and Level 2 cache memory in most modern processors is part of the processor core itself. But the L3 cache is located either in the processor or outside the processor Motherboard is situated in.

FAQ: Frequently Asked Questions About Cache Memory

Which is the fastest memory of a computer?

The fastest memory of the computer is the cache memory.

What is Cache Memory? What is Cache Memory?

Cache memory is the memory of the computer in which the data processed repeatedly by the CPU is stored. Cache memory is present in the CPU itself, so the CPU can access it fast.

What is the maximum storage capacity of cache memory?

The storage capacity of the cache memory depends on its level. Level 1 cache memory has a storage capacity of 2KB to 64 KB, Level 2’s storage capacity ranges from 256 KB to 512 KB, and Level 3’s storage capacity can be up to 8 MB.

Why is cache memory used?

When the main memory becomes slow, the process of the program also slows down by the CPU, the cache memory speeds up the process of the program. That is, the cache memory is used to improve the performance of the CPU.

read these also

You have learned: What is Cache Memory in Hindi

Overall, cache memory is very important to increase the speed of any device. Although its storage is less, but only the cache memory does the work of speeding up the programs processed by the CPU.

So friends, by reading this post of ours, you What is Cache Memory in Hindi? And must have understood about the use of cache memory. If you got to learn something from this article and you liked this article, then do share this article with your friends on social media as well.

Ranjeet Singh |

Ranjeet Singh |

Hi ! My name is Ranjit Singh and I am interested to help people on internet. Also I am the Founder of Techshole.com. On this Best Hindi Blog, I share information related to internet like Blogging and Earn Money Online in Hindi in Hindi! Thank you for visiting our blog.

Usama Younus

Usama Younus is the owner and super admin of the site he's is an expert in news editing, tech and entertainment magazine management, and articles editing E.T.C.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button