|
#1
| |||
| |||
| Cache Questions So, Apple's hyping this whole L2/L2 cache thing as though it makes up for the huge MHZ gap. I want some real world examples of how these caches will speed up performance. They talk about caching application code for instant access. Is that really that big a deal? I'm not convinced. Granted, I don't really understand what it's doing, so I don't know, but I remember the old 2 meg L2 cache hype on my PowerTower and I was hard pressed to notice any big deal about it. What exactly is being cached? Say like in Photoshop, is it caching menu options, undo data, image data, what? For the record, I'm getting one [DP1gig] either way, I just wanted to learn a bit more about how much L2/L3 cache REALLY helps. My gut stills tells me not much, it's clearly an attempt to distract us from the chasm known as MHZ gap. |
|
#2
| ||||
| ||||
| Actually, it helps quite a bit Think of cache as memory. The L2 and L3 cache are little bits of memory running at superfast speed, so the processor can output little bits of information that it uses a lot to the cache, and when it needs them again, it can page them in and blazingly fast speeds, instead of using the slow 133 MHz system bus. The L2 cache runs at the speed of the processor, and the L3 cache is basically DDR RAM dedicated to the processor. Real-time performance tests can really show that L2 and L3 cache can help quite a bit. Although real DDR RAM and a HyperTransport system bus would really help quite a bit, too. Those are the two areas in which Apple is sorely lacking.
__________________ -- simX Get Memory Usage Getter, the only Mac OS X utility that graphically displays the memory usage of your open processes! http://homepage.mac.com/simx/ 450 MHz G4 Cube | 15" flat-panel Apple Studio Display | 896 MB RAM | Que! Fire 12x10x32x FireWire CD-RW | OS X 10.1.5 Build 5S66 | Mac OS 9.2.2 | Telex M-560 Microphone | Epson Stylus Color 777 | TI-Graph Link USB | Pro Speakers/Mouse/Keyboard | Airport card | iPod "Some people's minds are like cement: all mixed up and permanently set..." -- Andrew Welch, el Presidente, Ambrosia Software, Inc. "You know that first hit of heroin is free." -- Scott McNealy, Sun Microsystem's CEO, on Microsoft's .NET . "The day Microsoft makes a product that doesn't suck is the day they start making vacuum cleaners." -- Unknown |
|
#3
| ||||
| ||||
| Re: Cache Questions Quote:
Lets now take a look at the second generation of PowerPC processors for a minute (seeing as you brought them up). The 603/604 series were not design to use cache effeciently. Add to that that the L2 cache was on the mother board and used the system bus, and the performance boost would not be worth the effort. Then came the G3. Have you ever asked yourself "why was the G3 so much faster than the 603/604 processors at any given MHz?" The answer to that question is how it takes advantage of L2 cache and how a dedicated cache only bus was created between the processor and the L2 memory (usually at some fraction of the actual processor speed). The only problem with this was that you couldn't get more than one processor's cache to play nicely within a system... until the G4 that is. The nexted big step was having a large (256k) on board/at speed L2 cache (data bus is now inside the processor) and having a larger L3 cache on a dedicated bus with the processor(s). So what difference does this make? Lets look at the Pentium series of processors for a moment. The Pentium II is (MHz for Mhz) faster than the Pentium III. Why? Because in order to move forward in the MHz gap they had to take performance short cuts (which the higher MHz mostly made up for). This happened again in the transition from the Pentium III to the Pentium 4. Now lets look at the PowerPC line. One branch moves along from the 601 to the 603 to the G3, and the other from the 601 to the 604 to the G4. The move from the 601 to the 603 was a step backwards for performance, but a step forwards for MHz (and heat which is why that line ended up on early PowerPC processors). The move from the 603 to the G3 was both a big jump forwards in performance (a 233 MHz G3 was much faster than a 300 MHz 603e) and heat (the first time in history that a processor debuted in both desktop and laptop systems). In the jumps from 601 to 604 to G4, we got both a performance increase and a MHz increase (though as you noted, the MHz numbers didn't jump up as fast as in the Pentium/x86 lines). So where does this "gap" show up again... why in Intels new Itanium processor (running at 800 MHz, compared to 2.2 GHz for the cheeper Pentium 4). The fact of the matter is, once you get past the consumer market (where people don't know any better), MHz doesn't tell you much about a system, but a systems use of cache can be very telling (some SGI's have been at 4 MB for quite some time now, we should have match them with that mark by now). Mind you, believe what you like, you really should check these types of things out for yourself. And remember that there are more than just Macs and PC in this world to take into account when studying relative performance between processors. |
|
#4
| ||||
| ||||
| I'm sure I'm oversimplifying here, but the L2 cache can be regarded as the second fastest info processing location after the CPU itself (if the L2 is optimally configured). In descending order of speed, it goes: CPU, L2 cache, RAM, hard disk.
__________________ -- "No left turn unstoned." ![]() (PowerBook 15" 1.5 GHz/80/1.5 GB, eMac 1 GHz/80/768 MB, SuperDrive, 250 GB FireWire HD, Lexmark Z65 printer, Epson Perfection 1200U scanner) |
|
#5
| |||
| |||
| That's great, but... I appreciate everyone's tech talk, really I do, my original request has gone unanswered, which is REAAL WORLD examples of exactly how cache increases performance. e.g. games, video rendering, screen redraws, switching between apps, sherlock finds, etc. Nobody has provided an example of how any of these or other things are affected. You say cache makes a difference. I believe you, but where? |
|
#6
| ||||
| ||||
| Re: That's great, but... Quote:
You are thinking about the cache thing all wrong. It won't provide the cut and dry performance increases you are looking for. More L2 cache will prevent the processor from waiting for instructions. It will decrease the frequency that the processor has to ask (and then wait) for instructions to come from RAM or the Hard Disk. More level 2 cache will increase your performance in CPU intensive games (not GPU intensive games), it will increase Video Rendering, screen redraws, and switching between apps. The Sherlock Find is more likely limited by your Hard Disk Speed. You are looking for L2 benchmarks in terms of a Quake 3 FPS boost. I seriously doubt that you will find that. L2 cache will provide an OVERALL performance boost. And RacerX gave some very good real life examples of the overall system boost. FaRuvius
__________________ "Flush Hard to Stay Strong!" |
|
#7
| |||
| |||
| cache is a generic term actually a cache is any intermediate storage for quick retrieval. There isn't a specific type of data stored in the cache. Anything that was uned recently has a chance of being stored in the cache. hierarchy goes processor L1 cache (on processor, at processor speed, 32K instruction 32K data) L2 cache (dedicated bus, half processor speed usually, 512K to 2MB) L3 cache (if they want ANOTHER layer of cache, 2 Meg maybe, faster than system) RAM HD for use as VM. In modern implementations, you could view HD as the memory and RAM as the cache, it'd make no difference in action, just terminology. If you understand VM, you understand cache in an upside down way. If you really want, you could buy yourself a processor upgrade card with software controlls for the cache, and then you could run benchmark after benchmark determining what efect L2 cache had. Truth is, it's a fuzzy general number due to statistics and averages. Everything will be faster. How much depends on what you do. You're free to pry that puppy off of your motherboard and let the rest of us know what it feels like. I'd guess 15% on games, 30% on rendering and compiler times.
__________________ - Beware the wrath of my apathy. |
|
#8
| |||
| |||
| actual results On a G3 upgrade card, I ran MacBench several times under various configurations. Here's the skinny. Base system is a G3 300. (B&W I guess) G3 340 card 512k cache @ 270 int:86% float:112% G3 340 card cache disabled int:37% float:89% I didn't run other tests, expect them te differ less than these did, or maybe not at all.
__________________ - Beware the wrath of my apathy. |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The Authoritative Partitioning Discussion | mr. k | Mac OS X System & Mac Software | 13 | November 11th, 2003 07:26 PM |
| cpu preference pane -pb 667 g4-level3 cache? | J5 | Mac OS X System & Mac Software | 3 | January 15th, 2003 05:05 PM |
| Bad cache memory!? | iMan | Hardware & Peripherals | 3 | December 29th, 2002 11:35 PM |
| L2 cache clocking via OF? | ksv | Software Programming & Web Scripting | 0 | November 7th, 2002 10:21 AM |
| Do I need cache control software for an upgraded G4? | ElDiabloConCaca | Apple News, Rumors & Discussion | 0 | November 8th, 2001 05:06 PM |