Servers - General
cancel
Showing results for 
Search instead for 
Did you mean: 

What is the purpose of L1, L2 and L3 cache in processor

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

What is the purpose of L1, L2 and L3 cache in processor

Hi All,

I would like to know what is the purpose of L1, L2 and L3 cache in processor in detail.
5 REPLIES 5
cnb
Honored Contributor
Solution

Re: What is the purpose of L1, L2 and L3 cache in processor

senthil_kumar_1
Super Advisor

Re: What is the purpose of L1, L2 and L3 cache in processor

If we there are dual core in one processor, then the same L1, L2 and L3 caches will be shared by those two core?
Torsten.
Acclaimed Contributor

Re: What is the purpose of L1, L2 and L3 cache in processor

It depends, but most of the times higher levels are shared between cores.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
cnb
Honored Contributor

Re: What is the purpose of L1, L2 and L3 cache in processor

> It depends, but most of the times higher levels are shared between cores.

Exactly. You would need to look at the CPU Manufacturer specifications for each processor designed.

Rgds,
Kranti Mahmud
Honored Contributor

Re: What is the purpose of L1, L2 and L3 cache in processor

Hi Senthil,

CPU cache memory is a high speed memory kept in between processor and RAM to increase the data execution speed. It is kept near to the processor.There are different levels of cache.

L1-cache is the fastest cache and it usually comes within the processor chip itself.
The L1 cache typically ranges in size from 8KB to 64KB and uses the high-speed SRAM (static RAM) instead of the slower and cheaper DRAM (dynamic RAM) used for main memory. The Intel Celeron processor uses two separate 16KB L1 caches, one for the instructions and one for the data.

L2 cache comes between L1 and RAM(processor-L1-L2-RAM) and is bigger than the primary cache (typically 64KB to 4MB).

L3 cache is not found nowadays as its function is replaced by L2 cache. L3 caches are found on the motherboard rather than the processor. It is kept between RAM and L2 cache.

So if your system has L1,L2 and L3 cache data fetching will be L1->L2->L3->RAM
ie. If data is not there in L1 it will check L2 then L3 then RAM.

http://en.wikipedia.org/wiki/CPU_cache

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!