Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > G3 vs G4: how much faster is gcc?

G3 vs G4: how much faster is gcc?
Thread Tools
Forum Regular
Join Date: Apr 2002
Location: Italy
Status: Offline
Reply With Quote
Oct 28, 2003, 12:07 PM
 
I have a G3/700 iBook and I use it 90% of the time to compile (gcc and g++).
Every app takes ages (from linux kernel to KDE) to compile
Now I am thinking of replacing it with a G4/800 (bloody Apple, make it 1GHz!).

How much speed would I gain?
Can somebody do some benchmark???
     
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status: Offline
Reply With Quote
Oct 28, 2003, 02:19 PM
 
I don't have any actual benchmarks, but I'm pretty sure you'll see a marked improvement on a G4 compared to a G3 of similar clock speed. Up until this summer, my two main machines were a G4/DP500 and an iBook G3/500... with gcc running on only one processor of the dual G4, OmniWeb compiled from clean in about 2/3 to 3/4 the time it takes on the iBook. Of rouce, that also accounts for system bus differences and the like, but I image you'd see a similar improvement between a G3/700 iBook and a G4/800 iBook.
Rick Roe
icons.cx | weblog
     
Registered User
Join Date: Aug 2002
Location: On my couch
Status: Offline
Reply With Quote
Oct 28, 2003, 02:48 PM
 
I'm in that boat right now myself. G3 700 and am thinking of a G4 800.

I haven't done any development yet on my current machine but have been thinking about getting into it.

So far, from the xbench ratings I've been seeing, it would seem that a 20-30% increase should be expected.

I've been hoping to catch someone who has had direct experience with the new vs old machines however.
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Oct 28, 2003, 10:35 PM
 
Since compilation is not going to take advantage of altivec, I suspect the performance advantage would be minimal.

Instead, get a fast desktop (Dual processor G4 or G5) and use XCode's distributed build process to build on both machines in parallel automatically.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Oct 28, 2003, 10:50 PM
 
I'll bet you're using Jaguar currently. While gcc 3.1 was originally available for Jaguar, Apple at one point released the August gcc 3.3 update which updated gcc to version 3.3. However, Project Builder doesn't work with gcc 3.3, so it fell back to gcc 2.95.2.

Gcc 2.95.2 is dog slow.

If you upgrade to Panther and Xcode, you will find that you are suddenly able to use gcc 3.3. And the speed difference is phenomenal.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
gioele  (op)
Forum Regular
Join Date: Apr 2002
Location: Italy
Status: Offline
Reply With Quote
Oct 29, 2003, 06:11 AM
 
Originally posted by CharlesS:
I'll bet you're using Jaguar currently.
Lost I use Linux 2.4 and GCC 3.2.

BTW are there improvements on the PowerPC side of GCC from Apple?
     
Mac Elite
Join Date: Aug 2001
Status: Offline
Reply With Quote
Oct 29, 2003, 09:39 PM
 
Originally posted by gioele:
Lost I use Linux 2.4 and GCC 3.2.

BTW are there improvements on the PowerPC side of GCC from Apple?
Yup, check out the changelog for 3.4
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:20 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2