Skip to main content

Cache Memory | Everything You Need To Know About Cache Memory | Educational Blog | artechreview


Memory is a core element in electrnoic devices like computer, mobile phones, tabs and such devices. There are many types of memory which work together in order to keep running a device smoothly.

Here, I am writing about CACHE MEMORY-short and fast we can say.

Cache memory is a chip based computer component that makes retrieving data from the computer's memory more efficiently within a very short time. It acts as a temporary storage area that the computer's processor can retrieve data easily. This temporary storage area, known as a cache, is more readily available to the processor than the computer's main memory.

It is an extremely fast memory which acts as a buffer between the RAM and CPU. Cache memory holds the recent data and instructions which have been used so that, cache gives such data immediately when CPU requests such data. This is the splendid functionability of cache memory which access the data very fast and accurate. This reduces the time to peform a instruction which new techies are needed in this fast generation era.

Cache memory is sometimes called  CPU Memory, because it is integrated directly into the CPU chip. Therefore, it is more accessible to the processor, and able to increase efficiency, because it is physically close to the processor.



As Cache is integrated on the CPU chip itself, size of the cache has to be small and consequently storage has to be less (8kb to 64kb) when compared to main memory.


CACHE PERFORMANCE:

When the processor needs to read or write a memory location, it first checks in the cache. 


▪︎If the processor finds that the memory location is in the cache, a cache hit has occurred and data is read from cache.

▪︎If the processor does not find the memory location in the cache, a cache miss has occurred. For a cache miss, the cache allocates a new entry and copies in data from main memory, then the request is fulfilled from the contents of the cache.


  TYPES OF CACHE


▪︎Primary Cache

A primary cache is always located on the processor chip. This cache size is small and its access time is very fast.It is referred as level 1(L1) cache.

▪︎Secondary Cache

Secondary cache is placed between the primary cache and the rest of the memory. It is referred to as the level 2 (L2) and level 3(L3) cache. This is a bit larger and takes longer time to access the data.

Level 2 cache is embedded on the CPU chip where as Level 3 is embedded externally to the CPU Chip.

CACHE MEMORY Vs RAM

The temporary storage of data is the main principle of RAM then what's the need of Cache when RAM is doing the same function???

The principle might be same in RAM and Cache Memory, but there's a difference which is notable.

Technically, Cache Memory stores the data  for future operational requests, so those operation can perform staright away in a less time, while RAM stores the application and operational data which is currently in use.

This is what about Cache Memory and it's function to run a machine fast with it's maximum efficiency. This improves the performance of the device.



That's it for this blog hope you find it informative. Please do share across your friends & family and do support us.

Thank You!


Hope you like blog, Do follow me on  TwitterLinkedin & Instagram and stay updated when upcoming blog is posted.

Comments

Popular posts from this blog

PROCESSOR - what are the components present in processor

Processor Processor is a heart for the smartphones. Always we talk about what processor is in your smartphone and how powerful it is. But do you ever think, what are the main components built in the processor and how does they work in smartphones. So, in this blog we explained everything in detail about what are the components present in processor and how they work etc. 1.CPU 2.GPU 3. Camera ISP 4. Radio  And Modem Processing  Unit  5. AV Processing  Unit  6. Memory Controller  1. CPU *  CPU stands for Central Processing Unit. * CPU is very important component in a smartphone. It is used for the performance. *   It is build with number of cores. Increase in the number of cores means increas the performance of CPU. (EX: Single core, Dual core & Multi core). * That  speed of CPU measures in "Hz's". * CPU is divided into multiple clock speeds. (for example; In octa (8) core processor, 2 core will be clocked at...

iPad OS 15 All You Need To Know | WWDC 2021 KEYNOTE PART-2

iPad OS 15 WWDC 2021 was held on 07-06-2021 the event is conducted online as we saw last year. So, in this blog we will discuss about the launch event and the major upgrades we get to see in this iPad OS 15. iPad OS 15 - Artech Widgets The new iPad OS 15 is now updated with the widgets as we saw in the iOS. This is very useful in iPhone so it will definitely also helpful in the iPads. More than that it also has the app library where you can make a library of different groups of applications as you convenience. Multi Tasking Now you can use multi tasking on your iPads which much more features which help to improve the usability. This is definitely not new technology but it is more stable and many useful features are added to use it extensively. Quick Note This will let you to take note of anything while using iPad. You just need to drag it from the right most corner at down side of the display and...

WHAT IS ESIM? | Every Thing You Need To Know About Embedded SIM | ARTECH

EMBEDDED SIM (E-SIM) Every one knows about what is ESIM. But in this blog I try to answer some questions which I get into my mind when ESIM was introduced, so I thought every one should have basic knowledge about it. And we will discuss briefly about Esim. Why ESIM Is Implemented? We all have mobiles which supports 2 SIMS or in some cases one. Their is a simple reasons behind this is, first is, to increase the space. It means in normal smartphones company has to give a sim tray to put our sim. Because of sim tray, lot of space is wasted and it becomes one oh the reasons to build bulky smartphones. As we can see from past many years as technology is evolving as well as the components also become smaller in nano size. So manufacturers always try to keel devices as smaller as they can and replace the old technology with latest alternates. In this case by removing sim tray, we get lot of space. Which helps in adding other usefull components, like increase battery size, improve the camera l...