wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Cache Memory

profile
Vrudanshi Bavliya
Jul 04, 2024
0 Likes
0 Discussions
57 Reads

What is Cache Memory?

Cache memory is associated with the term high-speed memory. It is comparatively much smaller RAM could work at a much speed than RAM that is the main memory. The cache is accessible to the CPU comparatively faster than the primarily memory the CPU. Therefore, it is employed to run in parallel with a fast processor and at the same time enhance its efficiency.

For example: If there’s a need of money we always check our purse first and if we need more we open our cupboard, even if that much money is not enough then we go to our respective banks. So lets consider bank is a hard disk, cupboard is a RAM and purse as a cache memory, which means whenever there’s an urgent need of money we open our purse that’s a cache memory. Processor takes 35 nanosecond to read from cache memory and 180 nanosecond to read it from RAM.

There are three types of cache memory

L1 cache:

Proximity: The first level of the cache is closest to the cores because most frequently used instructions are stored there.

Speed: It is the fastest type of cache memory designed to match the speed of the CPU.

Size: It is the smallest in size usually ranging from 16kb to 128 kb per core.

Purpose: Compared to the rest L1 cache is accessed most often as it is faster and closer to the and instructions it contains.

L2 cache:

Proximity: This cache is typically located on the CPU chip but it is further away from the cores than l1 cache .

Speed: L2 cache is slower than L1 cache but faster than L3 cache and main memory.

Size: It is larger than L1 cache with size typically ranging from 256kb to a few mb per core.

Purpose: L2 cache is the second level of cache and stores information and instructions that are not present in L1 but required often by the CPU.

L3 cache:

Proximity: L3 cache is usually located on CPU chip but is shared among all the cores in a multi core purpose .

Speed: It is slower than both L1 and L2 but it is still faster than main memory.

Size: L3 is the largest of the three, with size typically ranging from a few mb to tens of mb.

Purpose: It is the final cache before core logic has to go to main memory to fetch the required data It helps to further reduce the latency and improve the efficiency of memory access, particularly in multi-core processors where it can help coordinate and share data among cores.

 


Comments ()


Sign in

Read Next

LinkedIn: Watch out for these 7 upcoming updates in 2023

Blog banner

Top 10 Logos and their meanings

Blog banner

Security Breaches in Stock market trading

Blog banner

Unlocking Success: Mastering Google Ads Strategies

Blog banner

Virtual memory

Blog banner

How to Plan a Week of Healthy Meals Without Stress

Blog banner

CYBERPEACEKEEPING: NEW WAYS TO PREVENT AND MANAGE CYBERATTACKS

Blog banner

How To Implement Search Engine Marketing (Sem) Strategy Effectively

Blog banner

Why White Bedding Has Become a Hotel Industry Standard?

Blog banner

Importance of Morning Routines for Students During the Festive Season

Blog banner

Why Seasonal Summer Foods Are Best for Your Health?

Blog banner

Exploring Virtual Machines and Computer Forensic Validation Tools

Blog banner

Artificial Intelligence and I

Blog banner

Advantage of freedom

Blog banner

Question

Blog banner

SPEM

Blog banner

Secure Hypertext transfer protocol

Blog banner

Memory heirachy (Operating system)

Blog banner

Uniprocessor and Types

Blog banner

PODIO

Blog banner

Dove’s Real Beauty Campaign- Case Study

Blog banner

Why Is Freshly Cooked Food Better Than Processed Food for Everyday Health?

Blog banner

Revolutionary AI Tool: ChatGPT

Blog banner

Fashion marketing in india

Blog banner

ADD A SPICE TO YOUR LIFE.

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Business Intelligence v/s Big Data

Blog banner

Every body is beautiful

Blog banner

Starvation and Deadlock.

Blog banner

AutoML: The Future of Automated Data Science

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

Developments in Modern Operating Systems

Blog banner

Health and fitness

Blog banner

Direct Memory Access

Blog banner

ROLE OF THE COMPUTER FORENSICS TOOLS AND TECHNIQUES

Blog banner

Paddling the Peace River: The Ultimate Guide to Kayaking and Canoeing Near Arcadia

Blog banner

Discover The Top 3 Places To Stay in London

Blog banner

From Classic to Flavoured: Exploring Different Types of Khari

Blog banner

Classification Vs Clustring? What's the diffrence?

Blog banner

The Future of Cybersecurity: Trends, Challenges, and Strategies

Blog banner

Dental Problems That Start Small But Should Never Be Ignored

Blog banner

RAID

Blog banner