roguerower
Diamond Member
What does it do exactly. i.e. if i'm getting a Pentium M with 2mb L2 that equals what?
Originally posted by: roguerower
What does it do exactly. i.e. if i'm getting a Pentium M with 2mb L2 that equals what?
Originally posted by: RichUK
Originally posted by: roguerower
What does it do exactly. i.e. if i'm getting a Pentium M with 2mb L2 that equals what?
if i had it my way i would glue a ddr stick to my Athlon 64 and pass it off as a hybrid on ebay for mega $$'s 😛
Originally posted by: stevty2889
The cache is basicly ram for the CPU. The L1 cache is where the information is stored just prior to being executed by the CPU, the L2 cache feeds the L1 cache. IE if there is some data that is needed, and it's not in the L1 cache, it looks to the L2 cache. If a cpu has an L3 cache, then it stores data as well, and will be looked at next if the L2 cache doesn't have what it's looking for. Then it will look to the ram. Each lvl of cache is slightly slower than the next, but still much faster than ram.
Originally posted by: Cheesetogo
What is the point of a level 3 cache?
Originally posted by: RichUK
actually L3 cache like the one used on the Intel EE's, were just normal SD RAM, and did not run at te same clock rate as the L1, and L2 cache's, and therefore was pointless marketing, becasue the L3 cache was not quicker than the normal RAM being used.
O well who cares intel sucks 😛
No, L3 cache is not SDRAM, it is SRAM just like the rest of the cache, made up of transistors just like the rest..and it's still way faster than system memory.Originally posted by: RichUK
Originally posted by: stevty2889
The cache is basicly ram for the CPU. The L1 cache is where the information is stored just prior to being executed by the CPU, the L2 cache feeds the L1 cache. IE if there is some data that is needed, and it's not in the L1 cache, it looks to the L2 cache. If a cpu has an L3 cache, then it stores data as well, and will be looked at next if the L2 cache doesn't have what it's looking for. Then it will look to the ram. Each lvl of cache is slightly slower than the next, but still much faster than ram.
actually L3 cache like the one used on the Intel EE's, were just normal SD RAM, and did not run at te same clock rate as the L1, and L2 cache's, and therefore was pointless marketing, becasue the L3 cache was not quicker than the normal RAM being used.
O well who cares intel sucks 😛
Originally posted by: stevty2889
No, L3 cache is not SDRAM, it is SRAM just like the rest of the cache, made up of transistors just like the rest..and it's still way faster than system memory.
because it was no quicker then the normal P4's, sometimes it was a tad but not enough to warrant 3 times the price).
Originally posted by: Jeff7181
I believe Intel's cache is different from AMD's in that AMD's caches and memory function more like one big area of memory, but with faster sections, the L1 and L2. But with the Pentium 4, everything that's in the L1 cache is also in the L2, and everything in the L2 is also in the L3 if it exists, and everything there is also in RAM.
Originally posted by: dmens
Originally posted by: Jeff7181
I believe Intel's cache is different from AMD's in that AMD's caches and memory function more like one big area of memory, but with faster sections, the L1 and L2. But with the Pentium 4, everything that's in the L1 cache is also in the L2, and everything in the L2 is also in the L3 if it exists, and everything there is also in RAM.
all caches are contextual memories. from the pov of the cpu, a logical address just a reference to place somewhere in "flat memory". all processors still have memory hierarchies... you cannot have a L2 that doesnt talk to L1... well, you could, but it'd be a hell of a mess.
and the p4 caches are not write-through, they're writeback... a cache line can be clean in L1 but swapped out in L2.
Originally posted by: dmens
i dont understand what the article is saying. obviously lines evicted from the L1 go to L2 and beyond on writeback, that happens with all caches. but that doesn't mean data exists exclusively on the L1 or L2. lines can still be read from L2 to L1 on a clean read and it would still be valid in both cache levels.
in addition, the article claims that cache hierarchies are data subsets. not true, because with writeback schemes, data can exist in the L1 as dirty valid while the same line in L2 has been swapped out.
describing hammer's L2 as a victim cache is also inappropriate. traditionally, victim caches are small, speedy buffer for evicted lines from fast caches, and it doesn't have to worry about dealing with other cache levels. technically, all caches that exist below another is a "victim cache" because it receives evicted lines... but it has much higher latencies and should be considered a seperate entity from a performance POV.
Originally posted by: RichUK
Originally posted by: Cheesetogo
What is the point of a level 3 cache?
its because Intel quickly wanted to add more numbers (I.E. 2Mb Cache), to justify the extreme'ness of their 3.43 extreme edition over the 3.6 P4 out at the time. (Also they added the 1066 FSB all numbers again) pretty sad if you ask me. (because it was no quicker then the normal P4's, sometimes it was a tad but not enough to warrant 3 times the price).
Also they didn?t have the time to be able to re-engineer there chips or fab?s to accommodate 2Mb of L2 cache on the CPU die within a time scale they would have liked (competing with AMD's release), then Intel brought out the new 6xx series chips that were re-engineered to accommodate 2megs of L2 cache, this was P4?s last push. lol still trying to keep the P4 alive, why bother ..
Originally posted by: Goi
Basically the A64s have exclusive caches while the P4s have inclusive caches. That's the difference that I think the article is trying to show. Exclusive caches mean that data in 1 cache level isn't duplicated in the other. When a L2 cache line is accessed twice with difference addresses, a swap will occur between the L1 and L2 rather than an L2->L1 copy. This effectively increases cache associativity, and the L2 cache is a victim buffer(different from a victim cache) for the L1 cache.
Also, AFAIK the P4 L1 dcache is write-through and the L2 cache is write-back. I'm pretty sure of this from the various Netburst architecture papers I've perused.
Originally posted by: roguerower
Thanks for all the replies. I take it that 2mb on L2 is better than 1mb. INTEL RULES.
Originally posted by: Goi
Originally posted by: roguerower
Thanks for all the replies. I take it that 2mb on L2 is better than 1mb. INTEL RULES.
More cache is always better for performance, as long as the cache access latency remains the same. However, increasing cache size also increases hit time, which is why L1 caches are so small compared to L2 and L3. Also, increasing cache size increases leakage power as well as die area, which may be a problem in certain designs.