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

Slimmest Smartphone Xiaomi MI 11 Lite | Snapdragon 732G processor, 4250 mAh Battery, 33 W Fast Charger, 90 Hz Refresh Rate, AMOLED Display, 64MP Camera, 23 Director Modes, @ Rs.19,000

MI 11 LITE Xiaomi has launched MI 11 Lite in Indian market on 22st of June. They launched it in a 4G variant. And in launch event it self they kind of promised about the 5G variant may be introduced very soon in Indian market where these are globally released long back ago. Anyhow in this blog I'm going to share my thoughts on MI 11 Lite, whether it is worth or not. In India it is launched at the starting price of Rs.21,999 and with discounts it will be available in Rs.20,500 or Rs.19,000 and the top variant will costs Rs.2000 extra than the base variant. Pre Order sales are open from 12pm 25-06-2021. buy link So, let's get into the details. I have divided this blog into few different parts and analyse the capabilities of this device. Key Note : Design Display Battery Camera Performance Opinion

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...

SAMSUNG GALAXY M 31S - Full Specifications

Samsung Galaxy M 31S , available in  6GB RAM + 128GB storage =Rs.19,499 8 GB RAM + 128 GB storage =Rs.21,499 Click here to buy. SPECIFICATIONS  :   Display; Screen size :  6.4" (16.26cm) Display Type :  FHD+   (2340×1080)  PPI :  403(sAMOLED) Body Design :  Plastic back Battery Capacity : 6000 mAh Charger : 25W fast charger Cameras Primary : 64MP + 8 MP + 5 MP + 5 MP, with LED flash light.  Video Recording :  4K upto 30fps Secondary : 32MP Video Recording :  1080p   at 30fps Physical Overview : Speaker grill & C-Type charging port & 3.5mm headphone jack at bottom side, Power button & Volume button at right side. Quad camera & Finger print scanner at back panel, Punch hole camera on the display.  Connectivity Bluetooth :  Yes (V 5.1) Wifi  :  Yes Network   Type  : 4G (VOLTE) , 3G, 2G Ports :  charging port (type-c),...