I was in a Computer Architecture lecture at Uni today being told about L1 and L2 cache. He explained that L2 cache was needed because there is not enough room on the cpu for any more L1...but then what is L3? Why not just make L2 cache bigger? I've noticed that AMD don't use it but Intel do.
He gave me some obscure answer along the lines of "it pipelines the speed faster" before admitting he had no idea.
To start, cache is now on the chip itself. Because of this, the latency, or wait states are reduced. Cache is usually accessed sequensially so that information held in L3 cache takes longer to get to. Larger cache also tends to have longer latency.
Where a large line 3 cache is very usfull is when most of a program can be held for quick access.
There fetch port in cache memory there number of operation they call deal with.On a L1 data cache there will be 2 port so only 2 packet can be fetch with a lantency.On a itanium 2 there 4 port so 4 packet can fetch in or out.
Kind da work like load/store architecture.
Larger is the cache more lantency it will have so more the CPU will stall if the data is not write in the register.To conter this there 1 to 4 level of cache each size grow bigger and normaly the L1 is write also in the L2 K7 is a exception considering the size of is L1 data instruction would have kill the L2 size of orignial tunderbird by half.
Ex
Athlon have a very large L1 64 KB 4 cycle to load
Itanium2 on the others hand was made to reach the lowest possible L1 data cache lantency in theory the lowest you can go is 0.5 cycle with a twin pump L1 cache.To reach those theorique value they have sacrifice few thing 1 the size is 1/4 of the athlon 2 the load store cannot write back the data in the L1 it have to go by the L2.
In short bigger is the cache slower it will be also less bandwith it will have.So if you go with 3 level or even 4 level you can have a very fast cache for the most important stuff a L2 for the majority of cache hit and backup.L3 for the slowest but increase even futher the cache hit.L4 very large cache useful when many core use the same cache like with summit chipset from ibm that feature a 64 Meg of fast DRAM on the chipset.
As usualy, you're talking in a strange mix of swahili and technical buzz words, and the original poster is not likely to understand either.
If french wasnt my second language, so I can reconstruct half your grammar, I wouldnt be able to understand anything of it either. Seriously Juin, if you spend so much time reading and posting here, surely you should be able to write more understandable english by now ? Are you even trying ??
= The views stated herein are my personal views, and not necessarily the views of my wife. =
I have been repeatedly amazed at the fact He's exactly as readable as he was 2 years ago. maybe he can't actually read or write english at all and just uses babelfish? that would actually make sense
Dunno. Does this sound like him:
"I on several occasions was astounded with the fact that it is exactly as readable as it was there is 2 years. perhaps it cannot really read or write English of the whole and the babelfish just of uses? that would be really included/understood".
That is your post bablefished UK->FR->UK
I find it more readable than his posts really
= The views stated herein are my personal views, and not necessarily the views of my wife. =
>He explained that L2 cache was needed because there is not
>enough room on the cpu for any more L1.
Whoever told you that, is probably out of the loop for a looong time. L2 cache was off die, on the motherboard, in the Pentium 1 days, and earlier. Ever since the Pentium Pro/Pentium 2 it has been on the same CPU module, and since Pentium 3 and Pentium 2 Celeron A it has been ondie, so integrated on the CPU.
Level 1/2/3.. does not say anything on where it is located. The number just refers to its relative position in the cache hierarchy. L1 is closest to the core, typically smallest and fastest. L2 is typically bigger and slower, and 'further away' (both physical, distance, and in latency). L3 is even bigger, slower and further, etc. Some ISA's even have L4 caches, like on the chipset, and if you like, you could consider main memory (RAM) as a level 4 or 5 cache to cache your harddisk.
>Why not just make L2 cache bigger
because bigger typically means slower. Not too mention more expensive (diesize).
> I've noticed that AMD don't use it but Intel do
Intel includes L3 mostly only for its server chips. In multiprocessor configuration, you can never have too much cache, especially with shared bus topology like Xeon or Itanium. You'd typically have 2 or even 4 cpu's using the same memory controller and front side bus, so each cpu's bandwith is cut in half (or by four). To counter this, bigger caches help reducing the need to access main memory.
AMD uses a different approach with its opteron. using an ondie memory controller on every cpu (actually, two controllers per cpu), there is much less need to increase the caches as every cpu has its own memory controllers, and doesnt need to share them with 3 other cpu's. This allows it to access the RAM relatively fast (low latency), and with full bandwith. You could say main memory pretty much acts like a giant L3 cache on an opteron server.
>it pipelines the speed faster" before admitting he had no
>idea.
Exactly, he had no idea. Sounds like uou wasted your time on that lecture .
= The views stated herein are my personal views, and not necessarily the views of my wife. =
Seeing as the he starts off talking about the 4004 or the 8086 and works 'all the way up to the first pentium' I'd say he's a little out of the loop too.
Oh what a tangled web we weave, when first we practice to decieve.
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.