Memory CACHE

Memory Cache Made Of Static RAM(SRAM), Which Is Very Fast Memory Compare To Regular DRAM That Is Used For Primary Memory(RAM).

The Memory Cache Is The Processor’s(CPU) Internal Memory.

Ans Its Job Is To Hold Data And Instructions Waiting To Be Used By The Processor.

 

So Basically What Cache Does Is That It Holds The Common DATA That It Thinks The CPU Is Going To Access Over And Over Again.

Because When The CPU Needs To Access Certain DATA It Always Checks The Faster Cache Memory First To See The Data It Needs Is There.

And If It’s Not There Then The CPU Will Have To Go Back To The Slower RAM(Primary Memory)To Find The DATA It Needs.

 

So That’s Why The Cache Memory Is So Important.

Because If The CPU Can Access The Data What It Needs On The Faster Cache Memory Then The Faster The Computer Will Perform.

 

The Memory Cache Comes In Different Levels.

For Example – Level 1 

It Is Also Called Primary Cache 

Level 1 Cache Is Located On The Processor Itself.

So It Runs As The Same Speed As The Processor

So Its Very Fast And Its The Fastest Cache Memory On The Computer.

 

Level 2 Cache

There Is Also Called Level 2 Cache.

Which Is Also Called External Cache.

And Level 2 Cache Is Used To Catch Recent Data Accesses From The Processor That Were Not Caught By The Level 1 Cache.

So If The CPU Cant Find The DATA It Needs On The Level 1 Cache It Then Searches The Level 2 Cache For The DATA.

And If The Level 2 Doesn’t Have It Then It Has To Go Back To The Regular RAM To Find The DATA It Needs.

Level 2 Cache Is Generally Located On A Separate Chip On The Motherboard.

Or

In Modern CPU’s It Will Also Be Located On The Processor.

 

Level 2 Cache Is Larger Than Level 1 Cache

But It’s Not As Fast As Level 1 Cache.

 

If You Understood Memory Cache, Share This Post To Your Friends.

 

Leave a Reply