L2 cache on CPU?

life24

Senior member
Mar 25, 2014
283
0
76
Hello,
Could you give me more explain about it? I'm beginner in these concepts.

The L2 cache is on the same processor chip and uses the same die as the CPU, however, it is still not part of the core of the CPU.
 

DrMrLordX

Lifer
Apr 27, 2000
22,530
12,402
136
Try a search engine like Google or Bing. You may find better answers to simple questions that way than by asking here:

https://www.techopedia.com/definition/8049/level-2-cache-l2-cache

In summary, it's a bit like RAM except that it's a lot faster. CPUs go to a lot of trouble making sure that frequently-accessed data resides somewhere in cache so that they don't have to use system memory. System memory is slow enough that it can make a CPU lag just from having to wait around for the memory controller to respond to requests for data from memory.
 

Roland00Address

Platinum Member
Dec 17, 2008
2,196
260
126
Pretty much with no cpu you are going to run it maximum potential for even if a CPU has X calculation units at Y ghz you have to feed the cpu useful information so it can calculate useful data.

Thus the cpu has a series of input funnels, things like L2 Cache, L3 Cache, sometimes L4 cache, then ram, then hard drive and the goal is to get these various caches and rams to have the lowest amount of latency possible. Latency is the amount of time to retrieve 1 instruction / 1 piece of data. Bandwidth is the amount of instructions or data it can retrieve all at once. Memory size is the amount of instructions or data you can keep in that level of cache, ram, or hard drive.

Pretty much the faster you can get the data to the cpu the faster real world performance your cpu can do for it can take advantage of all that horsepower your cpu has. Thus it is a big deal on the latency of your l2 cache and so on.

There is another big deal on something called prefetch where the cpu is making intuitive leaps where if I am computing this math problem I probably should retrieve the next predicted amount of data and move it to the closest cache possible to make it faster to retrieve. Think of it like I am mixing the dry ingredients for a baking, then I need to gather up the liquid ingredients next, followed by the mixing equipment. I do not need to get out the baking pan yet, but lets prewarm the oven for while I am not at the pan state it takes X minutes to warm up the oven and so on. It is planning out the sequence of events to reduce latency as much as possible.

-----

Larger L2 and L3 caches help up to a point but after a certain amount you get diminishing returns.

Higher amount of bandwidth have very little improvements in cpu tasks, but in gpu tasks higher amount of bandwidth makes huges differences in gpu workloads.

------

Many of the cpu improvements of the last few years have been realized by figuring out ways to fetch instructions faster with smarter prefetch engines, lower latency cache, etc.
 

DrMrLordX

Lifer
Apr 27, 2000
22,530
12,402
136
l2 on the mobo was the de facto standard before PPro/PII. Some old systems simply had no l2 at all, and when they did add l2, it was always on the motherboard. I know 486s had that, not sure if 386s had l2.
 

Insert_Nickname

Diamond Member
May 6, 2012
4,971
1,695
136
l2 on the mobo was the de facto standard before PPro/PII. Some old systems simply had no l2 at all, and when they did add l2, it was always on the motherboard. I know 486s had that, not sure if 386s had l2.

Remember the K6-3? It used the on-board L2 cache as an effective L3 cache, due to it having on-die L2 cache.

With 256KB L2 and 512/1024KB L3 it was quite a beastly CPU back in the day.
 

DrMrLordX

Lifer
Apr 27, 2000
22,530
12,402
136
Yeah K6/K6-2/K6-3 all used Super 7 which stuck to the onboard cache model. So the K6-3 did use it as l3.
 

Roland00Address

Platinum Member
Dec 17, 2008
2,196
260
126
Celerons, the original cache less process

So the first Celerons was 1998, they are now so old that they just turned 18, they are no longer jailbait with their cache less nature.
 

jhu

Lifer
Oct 10, 1999
11,918
9
81
Why is RAM slower now, when did this change, and will RAM ever catch up again?

RAM didn't get slower. CPU clockspeeds are just faster than RAM speeds. The original IBM PC had CPU and RAM speeds at the same frequency.
 

KCfromNC

Senior member
Mar 17, 2007
208
0
76
Hello,
Could you give me more explain about it? I'm beginner in these concepts.

The L2 cache is on the same processor chip and uses the same die as the CPU, however, it is still not part of the core of the CPU.

These days, a typical design will have the L2 shared between 2 or more CPU cores. Each core has their own L1 caches and a bus out to a shared L2. Physically, everything is smushed together on the die but conceptually since the L2 works with 2 or more cores it isn't counted as totally part of either.
 
Last edited:
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |