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 8GB kit $286 / 4GB kit $143 / 2GB kit $93 -- Free shipping available. LIfetime warranty.
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: NewerTech miniStack FireWire/USB 2.0 HD & Hub Up to 1.0TB of Performance Storage + FW/USB2 Powered Hubs - convenient & sleek 6.5" x 6.5" x 1.5" Featured: 500GB $169.99; 750GB $209.99; 1.0TB $339.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.
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: DayStar Genesis, Oct. 1995 - The first 'Mac' with multiple processors, technology Daystar licensed to Apple.
- List of the Day: SuperMacs is for those using Umax SuperMac clones.
- October 6 in LEM history: 98: USB is a good thing - Can Apple save Emailer? - 99: Kihei iMacs - 00: Advice about PDS Power Macs - 03: A replacement PowerBook battery - 04: AirPort Express - 05: The Apple Lisa story - 06: Don't ignore battery recall - Use any networked computer as an additional Mac display
Recent Content on Low End Mac
- Mac Netbook Coming?, $179 64 GB SSD, Apple Owns 20% of US Notebook Market, and More, The 'Book Review, 10.03. Also head of Norton AntiVirus team uses a Mac, Toshiba demos new battery technology, 1 TB notebook drives due in 2010, bargain 'Books from $150 to $2,699, and more.
- Apple Drops iPhone NDA, Defecting to Android, Auto Performance Apps for the iPhone, and More, iNews Review, 10.03. Also more research needed on cellphone cancer link, file sharing app for the iPhone, three new power accessories from Macally, several new iPhone apps, and more.
- Getting the Most from Your G3 Mac, Simon Royal, Mac Spectrum, 10.03. Most G3 Macs can be upgraded so they can run Mac OS X 10.4 'Tiger' quite nicely. Here's how.
- OS X and Safari Shares Grow in September, Toxic Mac Pro?, Green Hard Drives, and More, Mac News Review, 10.03. Also Vista terrible as Mac market grows, CrossOver Mac Pro reviewed, SimpleTech Pro Drives, and a new toolkit for working on computers.
- Best Power Mac G4 and AGP Video Card Deals, Low End Mac Deals, 10.03. Used 450 MHz, $75; 500, $99; 733, $150; 800, $199; 1.25 GHz, C$349; 867 MHz dual, $225; 1 GHz, $349; 1.25, $499; 1.42, $600.
- Best iBook G3 Deals, Low End Mac Deals, 10.03. Used 300 MHz clamshell, $150; 366, $199; 500 CD, $149; 800, $190; 600 CD-RW, $240; 800 Combo, $300; 900, $399; 14" 600, $360; 900, $469.
- Best Mac OS X 10.0-10.3 Deals, Low End Mac Deals, 10.03. Mac OS X 10.0.3, $30; 10.1, $20; 10.2, $60; 10.3 CD, DVD, $100; CD, $119; 10.1 Server, unlimited users, $65; 10.3 Server, unlimited, $150.
- Why I'm Switching from Windows Small Business Server to Leopard Server, Andrew J Fishkin, Best Tools for the Job, 10.02. Windows SBS 2003 has served very well, but with SBS 2008 just around the corner, it's time to reconsider that choice. Leopard Server has a lot to offer.
- The Unwritten Rule Behind Apple's App Store Rejections, Tim Nash, Taking Back the Market, 10.02. "If you want to work with someone, don't attack or try to take over part of what they think of as theirs."
- The Best Browsers for Older Macs Running Tiger, Charles W. Moore, Miscellaneous Ramblings, 10.02. A dial-up user's overview of browsers for Mac OS X 10.4 puts the emphasis on reliability, downloads, and speed.
- CodeWeavers Brings Google's Chrome Browser to Intel Macs, Alan Zisman, Zis Mac, 10.02. Google's new Chrome browser uses separate processes for each tab and brings other changes to Windows users. Now Mac fans can try it as well.
- Best MacBook Deals, Low End Mac Deals, 10.02. Used 1.83 GHz, $649; 2.0 SD, $750; refurb 2.1 GHz, $899; 2.4, $1,099; black, $1,299; new 2.1, $1,019 after rebate; 2.4, $1,204 a/r; black, $1,394 a/r.
- Best iMac G5 Deals, Low End Mac Deals, 10.02. Used 17" 1.6 GHz Combo, $450; 2.0 SuperDrive, $500; 1.9 iSight, $625; 20" 1.8 GHz, $550; 2.0, $600; 2.1 iSight, $650.
- Best iPod touch Deals, Low End Mac Deals, 10.02. Used 1G/8 GB, $160; refurb, $179; new, $198; used 16, $200; refurb, $219; new, $265; refurb 32, $319; new, $345; 2G/8 GB, $229; 16, $280; 32, $380.
- Tiger Great on Old G3 'Books, Maximum RAM for 867 MHz PowerBook G4, and More, Charles W. Moore, Miscellaneous Ramblings, 10.01. Also why 4 GB of RAM in a 32-bit Vista PC wastes most of the last gigabyte and system profile software for Windows PCs.
- Best Intel iMac Deals, Low End Mac Deals, 10.01. Used 17" 1.83 GHz, $625; 20", $599; 2.16, $749; 24", $950; refurb 20" 2.0, $949; 2.4, $999; 2.66, $1,299; 24" 2.4, $1,299; 2.8, $1,549; 3.06, $1,899; rebates on new.
- Best 15" PowerBook G4 Deals, Low End Mac Deals, 10.01. Used 1.25 GHz Combo, $560; 1.33, $580; 1.5, $596;, 1.67 SuperDrive, $690; hi-res, $800.
- Best Apple TV Deals, Low End Mac Deals, 10.01. Refurb 40 GB Apple TV, $199; new, $224; refurb 160 GB, $279; new, $322 - prices include ground shipping.
- More links in our archive.
About LEM | Support | Usage | Privacy | Contacts
