On Sat, 2008-06-21 at 21:03 +0200, Arnaud Charlet wrote: > > Without Ada (=all) bootstrap gets down to 1h54 at -j1 so Ada is 0h24, or > > 17% of =all, without Ada and Java (=c,c++,fortran,objc) it gets down to > > 1h17 at -j1 so java is 0h37 or 27% of =all. > > Note that I recently made the ada build parallel on trunk, so these figures > should be very different on trunk, since now building e.g. libada is > much faster with -jxx and will give a significant speed up.
More data on make bootstrap times: baseline: gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) trunk revision 137004 Sat Jun 21 19:20:06 UTC 2008 -j4 =c 4671.57user 231.40system 22:37.84elapsed 361%CPU -j4 =c,c++ 5432.07user 293.57system 26:43.52elapsed 357%CPU -j4 =c,ada 6819.21user 304.12system 32:08.14elapsed 369%CPU -j4 =c,java (,c++ implied) 8909.32user 471.50system 45:33.95elapsed 343%CPU So about estimated 1h59 for =c,ada at -j1 vs 1h22 for =c and around 90% of expected speedup with or without Ada (according to user+system vs elapsed). Ada cost of 0h37, +45% vs =c. On the two 8 barcelona 2.2 GHz cores machine donated by AMD to the GCC compile farm I measured: -j8 =c 4115.01user 177.29system 12:50.72elapsed 556%CPU -j8 =c,fortran 4379.00user 205.48system 12:34.10elapsed 607%CPU (see below) -j8 =c,c++ 4632.48user 213.45system 14:04.17elapsed 574%CPU -j8 =c,ada 5805.12user 227.32system 16:57.56elapsed 592%CPU -j8 =c,java (,c++ implied) 7845.79user 348.71system 23:45.03elapsed 575%CPU I noticed insn-attrtab compilation is about 5mn20s and probably explain about all of the not so perfect speedup: when I look at top it takes more than 1 minute per stage finishing alone. I've seen it up to 3 minutes alone. There's a comment in the Makefile about trying to compile it earlier but it doesn't seem to work all the time (likely reason behind c,fortran faster than =c) Is there a plan to cut this one? Laurent