wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Cache Memory

profile
Vrudanshi Bavliya
Jul 04, 2024
0 Likes
0 Discussions
51 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

ASANA- A Management System.

Blog banner

10 Alien Encounters and Abduction Stories

Blog banner

Photorec - media recovery tool

Blog banner

Cyber Crime Investigation In The Era Of Big Data

Blog banner

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

Data Lake

Blog banner

Digital Balance: Keeping Children Mindful in the Screen Age

Blog banner

Memory Management

Blog banner

virtual memory

Blog banner

WomenEmpowerment

Blog banner

The Essential Guide to Dynamic Arrays vs. Linked Lists: Which to Use and When ?

Blog banner

What is a Dumpster Diving Attack?

Blog banner

ProofHub

Blog banner

File management

Blog banner

ROLE OF THE COMPUTER FORENSICS TOOLS AND TECHNIQUES

Blog banner

Information Technology In E- Commerce

Blog banner

Memory input output management

Blog banner

CYBERBULLYING: Negative comments!

Blog banner

security controls

Blog banner

Reclaim Your Bite and Beauty: All About Dental Restorative Treatments

Blog banner

ITIL Version 3 and 4 differenciation?

Blog banner

Kafka - A Framework

Blog banner

Answer

Blog banner

MORDERN UNIX SYSTEM

Blog banner

Instagram Features in 2023 That Will Leave You Stunned!

Blog banner

Deadlock

Blog banner

Deadlock and Starvation

Blog banner

Rock, Paper, Scissors Game in Common Lisp

Blog banner

What is Packet Filtering?

Blog banner

Data is an asset and it is your responsibility!

Blog banner

Top 5 Post-Wedding Skin Care Tips

Blog banner

Article on different management system

Blog banner

Review on Cyber Forensics and its Analysis Tools

Blog banner

Indian Culture and Tradition

Blog banner

ZOHO

Blog banner

Study on cyber and network forensic in computer security management

Blog banner

SmartData Collective: Data Science aur Analytics ki Duniya

Blog banner

My Favorite Country

Blog banner

5 People who claimed to have Time Traveled

Blog banner

Compromising Mobile Platforms

Blog banner

Real-time Scheduling - 53003230061

Blog banner

BUSINESS MODELS OF E COMMERCE

Blog banner