Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
post your new GCC compile times
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Off the Wall
View previous topic :: View next topic  
Author Message
cokehabit
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3302

PostPosted: Tue Sep 12, 2006 11:43 pm    Post subject: post your new GCC compile times Reply with quote

Code:
     Mon Sep 11 14:11:43 2006 >>> sys-devel/gcc-4.1.1
       merge time: 31 minutes and 33 seconds.
Code:
     Tue Sep 12 19:42:22 2006 >>> sys-devel/gcc-4.1.1-r1
       merge time: 31 minutes and 31 seconds.


I would just like to add that i beat an Intel core Duo 2.8Ghz by 10 mins with mine :D

Athlon64 3700 (overclocked)
1Gb RAM
CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"
250GB Maxtor SATA2

Code:
[ebuild   R   ] sys-devel/gcc-4.1.1-r1  USE="fortran gtk nls (-altivec) -bootstrap -build -doc -gcj (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB


Last edited by cokehabit on Wed Sep 13, 2006 11:31 pm; edited 4 times in total
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Tue Sep 12, 2006 11:49 pm    Post subject: Reply with quote

Code:
     Mon Sep 11 05:07:30 2006 >>> sys-devel/gcc-4.1.1-r1
       merge time: 36 minutes and 41 seconds.
     Fri Sep  8 18:51:45 2006 >>> sys-devel/gcc-4.2.0_alpha20060902
       merge time: 40 minutes and 52 seconds.


Code:

AMD Athlon(tm) 64 Processor 3500+ @ 2.9ghz
2GB of DDR2 667 RAM
CFLAGS="-march=athlon64 -O2 -msse3 -pipe -mfpmath=sse"


Last edited by Phenax on Wed Sep 13, 2006 12:58 am; edited 3 times in total
Back to top
View user's profile Send private message
cokehabit
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3302

PostPosted: Tue Sep 12, 2006 11:57 pm    Post subject: Reply with quote

i think we should also post our computer specs and CFLAGS
Back to top
View user's profile Send private message
xanas3712
Guru
Guru


Joined: 15 Oct 2004
Posts: 455

PostPosted: Wed Sep 13, 2006 1:48 am    Post subject: Reply with quote

CPU: AMD 3800+ X2 (obviously not overclocked considering my compile time :P)

RAM: 2G PC3200 DDR
CFLAGS="-march=athlon64 -pipe -O2"
Code:

     Sun Sep  3 08:07:25 2006 >>> sys-devel/gcc-4.1.1
       merge time: 44 minutes and 36 seconds.
Back to top
View user's profile Send private message
cokehabit
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3302

PostPosted: Wed Sep 13, 2006 2:29 am    Post subject: Reply with quote

why am i beating people's dual core times by 10 mins?
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Wed Sep 13, 2006 2:30 am    Post subject: Reply with quote

cokehabit wrote:
why am i beating people's dual core times by 10 mins?


Could be ccache, or maybe x86_64 vs x86-based compilations have a speed difference with GCC, USE flags possibly.
Back to top
View user's profile Send private message
cokehabit
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3302

PostPosted: Wed Sep 13, 2006 2:53 am    Post subject: Reply with quote

Phenax wrote:
cokehabit wrote:
why am i beating people's dual core times by 10 mins?
Could be ccache, or maybe x86_64 vs x86-based compilations have a speed difference with GCC, USE flags possibly.
no ccache but i am running x86 gentoo on an amd64
Back to top
View user's profile Send private message
Moloch
Apprentice
Apprentice


Joined: 17 Mar 2003
Posts: 293
Location: Albuquerque, NM, US

PostPosted: Wed Sep 13, 2006 5:15 am    Post subject: Reply with quote

Code:
Sun Sep  3 14:56:33 2006 >>> sys-devel/gcc-4.1.1
       merge time: 50 minutes and 26 seconds.


Intel Pentium M processor 1.73GHz/512MB RAM

CFLAGS="-O2 -march=pentium-m -pipe"

I am using ccache. Guess that helped a lot.
_________________
Understanding is a three-edged sword: your side, their side, and the truth. --Kosh
1010011010
Back to top
View user's profile Send private message
John-Boy
Guru
Guru


Joined: 23 Jun 2004
Posts: 436
Location: Desperately seeking Moksha in all the wrong places

PostPosted: Wed Sep 13, 2006 12:54 pm    Post subject: Reply with quote

Doesn't ccache get cleared when emerging in a new gcc build ?
_________________
When you break rules, break 'em good and hard
Back to top
View user's profile Send private message
FGA
Apprentice
Apprentice


Joined: 07 Apr 2004
Posts: 179

PostPosted: Wed Sep 13, 2006 1:41 pm    Post subject: Reply with quote

Code:
Thu Sep  7 12:08:33 2006 >>> sys-devel/gcc-4.1.1
 merge time: 50 minutes and 28 seconds.


Athlon64 3400+ 2,4Ghz, not overclocked. Using DDR266 memory (1GB). Not using ccache.
Back to top
View user's profile Send private message
cokehabit
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3302

PostPosted: Wed Sep 13, 2006 1:56 pm    Post subject: Reply with quote

FGA wrote:
Code:
Thu Sep  7 12:08:33 2006 >>> sys-devel/gcc-4.1.1
 merge time: 50 minutes and 28 seconds.


Athlon64 3400+ 2,4Ghz, not overclocked. Using DDR266 memory (1GB). Not using ccache.
Y could have put that you have a AMD Athlon 64 3400+ | ASUS K8V SE Deluxe | VIA K8T800 | 1GB DDR400 | nVidia fx5700VE | Creative Sound Blaster Live! + Live!Drive | 2x 80GB ATA133 RAID-0 | WANADOO ADSL 1024/320 WIFI
Back to top
View user's profile Send private message
FGA
Apprentice
Apprentice


Joined: 07 Apr 2004
Posts: 179

PostPosted: Wed Sep 13, 2006 2:07 pm    Post subject: Reply with quote

cokehabit wrote:
FGA wrote:
Code:
Thu Sep  7 12:08:33 2006 >>> sys-devel/gcc-4.1.1
 merge time: 50 minutes and 28 seconds.


Athlon64 3400+ 2,4Ghz, not overclocked. Using DDR266 memory (1GB). Not using ccache.
Y could have put that you have a AMD Athlon 64 3400+ | ASUS K8V SE Deluxe | VIA K8T800 | 1GB DDR400 | nVidia fx5700VE | Creative Sound Blaster Live! + Live!Drive | 2x 80GB ATA133 RAID-0 | WANADOO ADSL 1024/320 WIFI


Yeah that's my rig. Except the DDR400 bit, a 512MB module was incompatable with my motherboard and I had to replace it with a DDR266 one.

What's the mean of your post?

EDIT: I have noticed that on iexplorer and firefox, my sig is too tiny, is that? I thought it was big enought because konqueror renders it at normal size...


Last edited by FGA on Wed Sep 13, 2006 2:14 pm; edited 2 times in total
Back to top
View user's profile Send private message
slithy
Guru
Guru


Joined: 26 Nov 2005
Posts: 321
Location: Kansas

PostPosted: Wed Sep 13, 2006 2:11 pm    Post subject: Reply with quote

Code:
  Sat Sep  9 14:26:44 2006 >>> sys-devel/gcc-4.1.1-r1
       merge time: 49 minutes and 7 seconds.


Code:
CPU: Athlon64 3500+ Venice @ stock
Memory: 2x512 PC3200 DDR
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"


One reason for dual cores not having faster times is that they might not have the MAKE_OPTS set for threading their compiles.


Last edited by slithy on Wed Sep 13, 2006 4:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
R.Smith
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2005
Posts: 131
Location: Caerdydd, Cymru.

PostPosted: Wed Sep 13, 2006 2:38 pm    Post subject: Reply with quote

genlop wrote:

Sat Aug 26 13:19:14 2006 >>> sys-devel/gcc-4.1.1
merge time: 1 hour, 2 minutes and 49 seconds.

Sat Aug 26 16:39:40 2006 >>> sys-devel/gcc-4.1.1
merge time: 59 minutes and 22 seconds.

Sat Aug 26 20:42:18 2006 >>> sys-devel/gcc-4.1.1
merge time: 1 hour, 3 minutes and 47 seconds.


amd64 Gentoo
Athlon 64 3200+ @ 2 GHz, not overclocked
1 GB RAM, DDR400
2 x 80 GB SATA Samsung Spin Point HD's, ext3 formatted with full journalling (probably impacted performance) and directory indexing
CFLAGS="-march=athlon64 -O2 -pipe"
No ccache


Last edited by R.Smith on Wed Sep 13, 2006 2:50 pm; edited 2 times in total
Back to top
View user's profile Send private message
cokehabit
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3302

PostPosted: Wed Sep 13, 2006 2:39 pm    Post subject: Reply with quote

FGA wrote:
What's the mean of your post?

EDIT: I have noticed that on iexplorer and firefox, my sig is too tiny, is that? I thought it was big enought because konqueror renders it at normal size...
well it looks so tiny i thought you weren't expecting people to notice it
Back to top
View user's profile Send private message
Uppi
n00b
n00b


Joined: 06 Jan 2004
Posts: 17

PostPosted: Wed Sep 13, 2006 3:55 pm    Post subject: Reply with quote

slithy wrote:

One reason for dual cores not having faster times is that they might not have the MAKE_OPTS set for threading their compiles.


I think that the gcc-4.1.1 ebuild somehow ignores the MAKE_OPTS setting, contrary to the gcc-3.4 ebuild:

genlop wrote:

Tue Jun 20 18:44:31 2006 >>> sys-devel/gcc-3.4.6-r1
merge time: 29 minutes and 14 seconds.

Thu Aug 31 18:49:28 2006 >>> sys-devel/gcc-4.1.1
merge time: 59 minutes and 41 seconds.


(Athlon64 X2 3800+)
I have -j3 in my MAKE_OPTS and I noticed that the average load is around 1 instead of the usual 2
Back to top
View user's profile Send private message
chunderbunny
Veteran
Veteran


Joined: 31 May 2004
Posts: 1281
Location: 51°24'27" N, 0°57'15" W

PostPosted: Wed Sep 13, 2006 5:10 pm    Post subject: Reply with quote

Yeah, gcc-4.1 forces -j1 for some reason. I've noticed a few packages don't use both cores when compiling.
Back to top
View user's profile Send private message
xanas3712
Guru
Guru


Joined: 15 Oct 2004
Posts: 455

PostPosted: Wed Sep 13, 2006 6:38 pm    Post subject: Reply with quote

This is for stability reasons. A lot of applications will not compile due to issues with multi-threaded compilation, or they will compile with bugs.

I had a package like this (kdevelop) that I had to specifically compile forcing -j1 to get it to emerge. I try not to mess with that to prevent issues.

But from what I can tell of the results, besides the fact the other core isn't used it seems overclocking is indeed a huge benefit to compile times. I don't OC primarily due to the fact that my house is hot enough even on the athlon x2's I don't feel comfortable doing it. I could probably get away with it as the chip idles at around 33-35 and it maxes out at about 46, but I don't like pushing stability (not to mention my psu is a little under spec for my hardware).
Back to top
View user's profile Send private message
cokehabit
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3302

PostPosted: Wed Sep 13, 2006 9:01 pm    Post subject: Reply with quote

i wonder how many ways there is to push the compile times down... CFLAGS, portage niceness...
Back to top
View user's profile Send private message
revenger
n00b
n00b


Joined: 23 Sep 2005
Posts: 23
Location: The Netherlands

PostPosted: Wed Sep 13, 2006 10:07 pm    Post subject: Reply with quote

Code:
Wed Sep  6 23:16:02 2006 >>> sys-devel/gcc-4.1.1-r1
merge time: 1 hour, 51 seconds.

specs:

Athlon64 3500+
1GB (2x512 MB) PC3200 DDR SDRAM
Hitachi 250GB SATA HDD

running ~amd64 (gentoo-sources-2.6.17-r7)

CFLAGS="-march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer"
Back to top
View user's profile Send private message
cokehabit
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3302

PostPosted: Wed Sep 13, 2006 10:27 pm    Post subject: Reply with quote

revenger wrote:
Code:
Wed Sep  6 23:16:02 2006 >>> sys-devel/gcc-4.1.1-r1
merge time: 1 hour, 51 seconds.

specs:

Athlon64 3500+
1GB (2x512 MB) PC3200 DDR SDRAM
Hitachi 250GB SATA HDD

running ~amd64 (gentoo-sources-2.6.17-r7)

CFLAGS="-march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer"
jesus, why is that so slow?
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Wed Sep 13, 2006 10:31 pm    Post subject: Reply with quote

He was probably doing something/low niceness/etc..
Back to top
View user's profile Send private message
anachranerd
n00b
n00b


Joined: 28 Feb 2006
Posts: 11
Location: Missouri

PostPosted: Wed Sep 13, 2006 10:33 pm    Post subject: Reply with quote

Sorry for the noobish question, but how do you guys obtain that merge time? Is it a flag to portage?
Back to top
View user's profile Send private message
think4urs11
Administrator
Administrator


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Wed Sep 13, 2006 10:33 pm    Post subject: Reply with quote

from the lower end of 'performant' machines
Code:
     Sat Sep  2 22:10:11 2006 >>> sys-devel/gcc-4.1.1
       merge time: 5 hours, 1 minute and 9 seconds.

Via C3/600Mhz/1GB/'-march=c3 -Os -pipe -fomit-frame-pointer'; no other processor intensive tasks during compile time
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
revenger
n00b
n00b


Joined: 23 Sep 2005
Posts: 23
Location: The Netherlands

PostPosted: Wed Sep 13, 2006 10:35 pm    Post subject: Reply with quote

cokehabit wrote:
jesus, why is that so slow?

it could be that i was doing some other stuff while compiling, don't remember exactly. and because i did a recent fresh install i have no other history to compare with.

USE flags could also impact the compile time
Code:
# emerge -pv gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-4.1.1-r1  USE="fortran gtk nls (-altivec) -bootstrap -build -doc -gcj (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB

Total size of downloads: 0 kB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Off the Wall All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum