Secrets of the PowerPC 970: Why the G5 Runs So Fast
Low End Mac Reader Specials
Memory To Go Special: New 2008 iMac 2GB $42 / iMac Intel Core2 DUO & MacBook Pro 2GB $36 - 1GB $20. MacPro 8 Core Memory 4GB kit $154 / 2GB kit $94 -- Free shipping available.
Download Typestyler, still the Ultimate Styling Tool for Internet, Print and Video Graphics. Works great in Classic with a Native OS X Version on the way. Free Tryout: www.typestyler.com
LA Computer Company: Specials on AppleCare, iMac's, Apple Batteries and Apple A/C Adapters. Also Great prices on Used Apple Computers. Call 1-800-941-7654 Click Here.
OWC: Mercury Elite FW800/FW400/USB2/eSATA up to 2.0TB TOP-RATED Solutions offer High Performance, Reliable storage for all your data storage needs. 500GB $159.99, 750GB $199.99, 1.0TB from $299.99
Mac users can finally play Party Poker for Mac. Not only that, they can also learn how to play PokerStars for Mac.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
Compare products like desktop computers, laptops, and LCD TVs side by side! All the information and reviews to make the best purchasing decision for a new cell phone GPS products or MP3 players. The Ciao network makes searching products easy for you.
MacBook/MacBook Pro / MacMini / iMac Intel Core2 DUO DDR2 667Mhz 4GB Kit $80, 3GB Kit $60, 2GB Kit $40, 1GB $20 - Click to Maximize your Macs...
Chris Lozaga - 2003.07.01
My Turn is Low End Mac's column for reader-submitted articles. It's your turn to share your thoughts on all things Mac (or iPhone, iPod, etc.) and write for the Mac web. Email your submission to Dan Knight .
Many aspects of the PowerPC 970 (G5) architecture have been covered in depth since Apple's very welcome announcement of the Power Mac G5 at the WWDC, including greatly enhanced bandwidth and 64-bit addressing. There are some unique aspects of the PPC 970 processor that differentiate it from its competition and make Apple's application benchmark results quite plausible.
FMAC Magic
In some ways, Apple actually understates the floating-point performance of the G5. One of the most common functions used in 3D rendering and games, Photoshop filters, and other media applications is the "Multiply Accumulate." Basically, two numbers are multiplied together and added to a third.
A Pentium 4 requires a minimum of two operations to complete this algorithm, one multiply and one addition.
A PowerPC 970 can perform this common function in one instruction. Because the PowerPC 970 has two floating-point units, it can perform two FMAC functions per clock cycle (maximum theoretical throughput). This is four times the throughput of a Pentium 4.
What about SSE-2?
Intel added a series of vector instructions called SSE-2 to enhance the floating-point performance of the Pentium 4. SSE-2 does not add a Multiply Accumulate instruction to the architecture, but rather it allows the Pentium 4 to perform "packed" operations. This means that it can perform two of the same operation per clock cycle. For example, it could perform two additions or two multiplications per clock cycle (maximum theoretical throughput). In a best case, this would yield half of the performance of the PowerPC 970 when performing Multiply Accumulate functions.
Precisely
The performance comparison above was regarding double precision arithmetic. This is a very precise and computationally intensive level of precision that is required for scientific calculations, ray tracing, and other similar applications.
|
|
| |
Floating Point Units | |||
Double Precision Operations | 2/clock (SSE-2) | ||
FMAC Throughput | 1/clock (SSE-2) |
What about Single Precision?
Single precision is often used in games, filters, and other applications where less precise results are required. The FMAC advantage of the G5 continues to hold true in this scenario. The floating-point units of the G5 have the same ideal throughput for single precision FMAC calculations - two per clock cycle. The Velocity Engine has a peak throughput of four single precision FMACs per clock cycle. Again this doubles the single precision throughput of the Pentium 4.
Why focus on the FMAC?
It is unfair to focus on one instruction when comparing processor performance. My point in illustrating the difference is this: Apple chose very specific applications that flex the floating-point and vector muscle of the G5. The G5 will not exhibit such efficient performance in many applications. Not all floating-point operations can be combined into Multiply-Accumulate operations, requiring that the multiplication or addition be computed on its own. Furthermore, division slows down the floating point of the PowerPC 970 considerably. The SPEC scores for G5 reflect this reality quite well.
Other Neat Tricks
The 970 has a unique vector-permute instruction that gives it an advantage in decryption and similar algorithms. This and its many data-manipulation instructions allow the processor to move bits around inside of a value with aplomb. Also, highly efficient Fast-Fourier algorithms have been written for the Velocity Engine. Fourier transforms are essential to a number of visual processing applications.
The Bottom Line
So what does it all mean? It is very difficult to compare two different architectures, but one very important thing should be clear for Mac users. The Power Mac G5 and the 970 processor are built for the applications we love to use: Photoshop, Final Cut, Shake, Maya, etc.
Almost all applications will see an appreciable boost in speed from the increased system bandwidth and clock speed of the G5, but only some of them will be PC scorchers. The PC has advantages in certain applications as well, and I am sure many of these will come to light in the near future.
It is clear, however, that Apple chose wisely when staging their cook-off at this year's WWDC.
Sources
- AltiVec Instruction Cross-Reference, Developer Connection, Apple
- SSE2 Instructions Set, CPUID.com
- PowerPC G5 Performance Primer, Developer Connection, Apple
Share your perspective on the Mac by emailing with "My Turn" as your subject.
Recent My Turn articles
- Using Low End Macs for Internet Radio, 08.18. When the local public radio station moved classical music to HD radio, it was time to find another way to listen. An old iMac with iTunes solved the problem.
- 'That's Not a Computer', 07.30. Salvaging a broken PowerBook by turning it into a desktop computer.
- Upgrading a Digital Audio G4 to work better in Leopard, 06.02. In its original configuration, the dual 533 MHz Power Mac G4 was slow with Mac OS X 10.5, but add the right upgrades, and it runs Leopard quite nicely.
- My 4 favorite PowerBooks, 05.28. The PowerBook 150 has a big screen for a vintage PowerBook, the 165c has color, the 100 is diminutive, and Lombard has USB and a great keyboard.
- More in the My Turn index.
Links for the Day
- Mac of the Day: Centris 610, Feb. 1993 - This was the Mac we used when we started Low End Mac in 1997.
- List of the Day: 1st PowerMacs is for pre-PCI Power Macs.
- September 5 in LEM history: 99: Why the G4 uproar? - 00: It wasn't even a Mac - 01: Stop the upgrade insanity - 02: Sharing your Internet connection - The evolving low end - 03: Apple #5 in laptops - 06: Installing Linux on a PCI Power Mac - PDQ PowerBook G3 at 8 - The good old days - 07: Comparing Apples and Dells - 12" PowerBook G4 reliability
Recent Content on Low End Mac
- Apple Will Not Abandon Optical Drives, the Mac Drought, Purposeful Mac Acquisition, and More, Dan Knight, Low End Mac Mailbag, 09.04. Also Mac OS X 10.5 on a G4-upgraded Blue & White G3 and problems using a flat panel display with a Quadra 700.
- Only Leopard Runs Routine Maintenance Tasks after Startup or Waking from Sleep, Charles W. Moore, Miscellaneous Ramblings, 09.04. Mac OS X 10.5 runs routine system maintenance scripts as soon as possible after starting up or waking up your Mac. Earlier versions of OS X do not do this.
- Overclocking a Mac mini Got Me Hooked on Souping Up Macs, Adam Geller, My First Mac, 09.04. Stories of hot rodding iBooks, G3 iMacs, and PCI Power Macs on the cheap.
- Tomorrow's Solid State Drives and Notebooks, Dan Knight, Mac Musings, 09.04. Flash drives are great but have some shortcomings. Some thoughts on building better SSDs and notebooks to use them.
- Best 12" PowerBook G4 Deals, Low End Mac Deals, 09.04. Used 867 MHz Combo, no APX, $490; 1 GHz, $550; SuperDrive, $625; 1.5 GHz w/o APX, $660; w/APX, $675.
- Best Mac mini Deals, Low End Mac Deals, 09.04. Used 1.25 GHz G4 SD, $549; 1.42 Combo, $409; new 1.83 Core2 Combo, $569 after rebate; 2.0 SD, $769 after rebate.
- Best 17" PowerBook G4 Deals, Low End Mac Deals, 09.04. Used 1 GHz, $779; 1.33 GHz, $799; 1.5 GHz, $859; 1.67 GHz, $910.
- 11 Mac Browsers Compared, Simon Royal, Mac Spectrum, 09.03. The latest versions of Internet Explorer, Opera, Safari, Shiira, iCab, Radon, Firefox, Netscape Navigator, SeaMonkey, Flock, and Camino tested in Leopard.
- Save Internet Radio, USB and Hard Drives, Hardware Manufacturers vs. Linux, and More, Dan Knight, Low End Mac Mailbag, 09.03. Also Mac won't book after cleaning, newer versions of OS X improve wake from sleep, downgrading to OS 8.6, unreadable pages on Low End Mac, and more.
- Another Free POP3 Provider, Recharging a Dead PRAM Battery, Current Kanga Value, and More, Charles W. Moore, Miscellaneous Ramblings, 09.03. GMX email now available in US, Panasonic UJ-841S drive won't burn discs, restoring a dead PRAM battery in a Pismo, and thoughts on Kanga value today.
- Best eMac Deals, Low End Mac Deals, 09.03. Used 700 MHz Combo, $120; 1.25 GHz SuperDrive, $150; 1.42 GHz, $349.
- Best Mac OS X 10.5 'Leopard' Deals, Low End Mac Deals, 09.03. Mac OS X 10.5, single user, $99; 5 users, $140; 10.5 Server, 10 users, $395; unlimited, $850.
- Best MacBook Air Deals, Low End Mac Deals, 09.03. Refurb 1.6 HD, $1,499; new, $1,690 after rebate; refurb 1.8, $1,699; new, $1,919 a/r; refurb 1.6 SSD, $2,099; new, $2,294 a/r; refurb 1.8, $2,299; new, $2,400 a/r.
- Psystar Strikes Back, Countersues Apple, Frank Fox, Stop the Noiz, 09.03. Psystar is trying to paint Apple as a monopoly and force it to license the Mac OS.
- Upgrade Options for 15" and 17" Aluminum PowerBooks, Charles W. Moore, 'Book Value, 09.02. Memory, hard drive, optical drive, and flash card readers for 15-inch and 17-inch aluminum G4 PowerBooks.
- More links in our archive.
About LEM | Support | Usage | Privacy | Contacts
