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

MOST EXPENSIVE PURCHASE EVER | MY FIRST APPLE PRODUCT | MACBOOK PRO M1 🍏

MACBOOK PRO M1 Hello everyone! I bought Macbook Pro M1 as my first laptop. Previously I have used PC which is based on windows. This blog is all about my experience with this whole process of purchasing a Laptop. I will share, why I decided to buy a laptop and what makes me to buy a MacBook. This blog is all about my first experience or first impressions only. HOW I DECIDED TO BUY MACBOOK? Actually first I was searching for perfect laptop in windows around  the price of 40k, but nothing was fulfilling my requirements and then I had increased my budget to 60k to 70k. When I have a budget of around 70k, I started searching for premium laptops.  Because putting so much money on laptop I wanted to buy one which will porovide a longer battery life and constant performance for years. As we all know when it comes to premium products first name we get in our mind is Apple (for me atleast). But the problem was budget, where my budget ends their the price for old model of MacB...

Infinix Note After 10 Days Review | Is It Really Worth Buying Infinix Note 10

Infinix Note 10 Hello Everyone! Infinix has launched Note 10 on 7th June 2021 via Flipkart. This review is completely based on personal experience. One of my friend purchased this device a 10 days ago and using it extensively. I have taken every point which he shared with me about this device, both negative and positive. Pricing : buy link Infinix Note 10 starts at the price of Rs.11,000 with 4GB RAM & 64GB ROM and the higher variant costs around Rs.12,000 with 6GB RAM & 128GB ROM. Now this review is divided into 3 major parts and ends with my opinion where I my thoughts on it. 1. Performance 2. Battery 3. Usability 4. My Opinion

MOTO RAZR 5G - REVIEW

MOTO RAZR 5G Motorola has launched MOTO RAZR 5G foldable smartphone. Motorola Razr 5G is upgraded version of previous generation Motorola Razr foldable smartphone. For any technology first generation has few bugs and cons, so companies changes or fix problems according to customers feedback.  Click on the link  Price: Rs.1,25,000/- In this blog I share my opinion on Moto Razr 5G. This blog is divided in two points one problems which are fixed, point number two still need to be fixed, In simple words pros and cons. PROS I personally like the concept of flippable phones like Moto Razr or Samsung Galaxy Z Flip more than foldable tabs like Samsung Galaxy Fold. So, for me Razr is one of the exciting concept in smartphones.  Firstly the design and build quality is great, while holding mobile in hands you can feel the premium finish because they used glass at back panel and metal at side frame. The Razr is very slim when unfolded and even while folded it ...