Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How much will distcc speed up bootstraping?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
woolsherpahat
Guru
Guru


Joined: 09 Mar 2004
Posts: 347

PostPosted: Fri May 14, 2004 7:10 pm    Post subject: How much will distcc speed up bootstraping? Reply with quote

I'm considerig re-installing my six month old gentoo box since things are just getting out of hand. The things on it's last legs.

It's a 1.4ghz and I was wondering how much a second 1.4Ghz would speed up bootstraping? It took almost 14 hours the first time around, think I could half that?

What if I added another 1.4Ghz and a 700Mhz?
Back to top
View user's profile Send private message
GentooBox
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1168
Location: Denmark

PostPosted: Fri May 14, 2004 7:27 pm    Post subject: Reply with quote

Well, IF you get Distcc to work, then you will speed up the compile quite a bit acording to others here on this forum.

I only got distcc to work a half year ago, and it increased my compilespeed by 24 % (emerge system), thats not much, but its something, and distcc may be improved since i used it.
_________________
Encrypt, lock up everything and duct tape the rest
Back to top
View user's profile Send private message
MighMoS
Guru
Guru


Joined: 24 Apr 2003
Posts: 416
Location: @ ~

PostPosted: Fri May 14, 2004 7:28 pm    Post subject: Reply with quote

distcc will help a lot during bootstrapping, but only for compiling. When glibc has to build its language...stuffs...you're computer is on its own for that. (distcc helped be get my Pentium _1_ up and running in only a day!)

I'd say go for it!

[edit] Arr! GentooBox! You beat me!
_________________
jabber: MighMoS@jabber.org

localhost # export HOME=`which heart`
Back to top
View user's profile Send private message
woolsherpahat
Guru
Guru


Joined: 09 Mar 2004
Posts: 347

PostPosted: Sat May 15, 2004 7:53 am    Post subject: Reply with quote

P1? From a stage three right?

You're crazy... you know that? :D
Back to top
View user's profile Send private message
MighMoS
Guru
Guru


Joined: 24 Apr 2003
Posts: 416
Location: @ ~

PostPosted: Sat May 15, 2004 3:47 pm    Post subject: Reply with quote

Stage one baby! :D
_________________
jabber: MighMoS@jabber.org

localhost # export HOME=`which heart`
Back to top
View user's profile Send private message
Red Sparrow
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2004
Posts: 128
Location: Greeley, CO

PostPosted: Sat May 15, 2004 4:32 pm    Post subject: Reply with quote

When I got my new PowerBook (G4, 1250 MHz), I installed Gentoo on it and my old iMac (G4, 700 MHz) twice from Stage 1 (once with distcc and onec without) just to get an idea (yeah, I had a lot of time on my hands) of how much distcc actually helped (boy, are you getting tired of these parentheses yet?). Here's my results:

On the iMac:
Bootstrapping without distcc: About 4 hours, including downloading sources.
Bootstrapping with distcc: About 3 hours, including downloading sources.

On the PowerBook:
Bootstrapping without distcc: About 3 hours, including downloading sources.
Bootstrapping with distcc: About 2 hours, 15 minutes, including downloading sources.

In my experience, there was a noticable improvement on the bootstrap process and it also helped out on bigger stuff like XFree, tetex, and Firefox. As always, YMMV.

(- Steve -)
Back to top
View user's profile Send private message
odessit
Apprentice
Apprentice


Joined: 01 Feb 2004
Posts: 180
Location: Current Residency - Server Room - Caution - Frostbite Imminent!

PostPosted: Sat May 15, 2004 4:46 pm    Post subject: Reply with quote

Jigglypuff wrote:

In my experience, there was a noticable improvement on the bootstrap process and it also helped out on bigger stuff like XFree, tetex, and Firefox. As always, YMMV.

(- Steve -)


btw, Firefox is not distccable :twisted:
Back to top
View user's profile Send private message
Sugarat
Guru
Guru


Joined: 24 Jul 2002
Posts: 348

PostPosted: Sat May 15, 2004 5:01 pm    Post subject: Reply with quote

What is it that determines if a package can be distcc'd ?
_________________
--[ UltraSPARC ]--
Accept no imitations
Back to top
View user's profile Send private message
Red Sparrow
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2004
Posts: 128
Location: Greeley, CO

PostPosted: Sat May 15, 2004 5:39 pm    Post subject: Reply with quote

odessit wrote:


btw, Firefox is not distccable :twisted:


Okay, so maybe I imagined that. :D

(- Steve -)
Back to top
View user's profile Send private message
Hayl
Guru
Guru


Joined: 28 Jan 2003
Posts: 442
Location: Calgary, Alberta, Canada

PostPosted: Sat May 15, 2004 6:40 pm    Post subject: Reply with quote

Sugarat wrote:
What is it that determines if a package can be distcc'd ?


afaik, if it fails consistantly with distcc or too many jobs then they disable distcc on it, or sometimes they ovveride the MAKEOPTS option to lower the number of jobs.
_________________
"I do not fear computers. I fear lack of them." - Isaac Asimov
Back to top
View user's profile Send private message
odessit
Apprentice
Apprentice


Joined: 01 Feb 2004
Posts: 180
Location: Current Residency - Server Room - Caution - Frostbite Imminent!

PostPosted: Sat May 15, 2004 8:27 pm    Post subject: Reply with quote

everything which is Mozilla based (Firefox for example) changes the -j option to 2 (in the make.conf).
For Distcc to work over multiple machines, the -j option must be 3+

The good part about it is that you can still compile it on the different machine, you can just change the hosts to read the IP of the remote machine only.
Back to top
View user's profile Send private message
rbr28
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2004
Posts: 126

PostPosted: Fri Jul 16, 2004 7:31 pm    Post subject: Reply with quote

I just got done compiling firefox using distcc and it did in fact compile across three machines. I watched the progress on the monitor and there were parts that didn't get distributed, but most of it did. I'm re-compiling now without distcc to see what the time difference was.
Back to top
View user's profile Send private message
CarlUman
Apprentice
Apprentice


Joined: 07 Jul 2004
Posts: 158
Location: SE Iowa

PostPosted: Fri Jul 16, 2004 8:01 pm    Post subject: Reply with quote

Well, let us know how it went. I'm trying to decide if it will be worth the time to set this up on my network (my AMD 2600+, Intel 1.6GHz, maybe Celeron 566). Of course I have to get a working system on my AMD first then the 1.6GHz server will follow.
Back to top
View user's profile Send private message
rbr28
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2004
Posts: 126

PostPosted: Fri Jul 16, 2004 8:39 pm    Post subject: distcc compile speed Reply with quote

I can tell you from other things I have compiled using distcc that the improvement is very significant. Many people are just using two machines to compile, but I have used several and it makes a world of difference. On the other hand, I typically use distcc to build stuff for older machines, that would take forever to build big packages. For example, I just got done building a P500 celeron system and it would have taken forever without distcc. I compiled across a Pentium M 1.7 and a P4 2.6GHz machine and it finished in no time. The firefox build that I compiled took 71 minutes distcc'd to a 2.4Ghz P4 (not with DDR memory), and a 3.2GHZ P4 with 1GB of DDR). The host was a 1.2GHz Athlon. I'm not sure how good 71 minutes is, and the number itself isn't a good indication because I had many things running on all three machines, and was using the fastest of them quite a bit. After 100 minutes though I am not even close to finishing the same compile on the 1.2GHz machine, without using distcc. There are so many other factors to consider such as the individual application, the number of jobs sent to each machine, etc., that I can't see how people are offering up generic performance improvements that one can expect. All I can say is that for me, anything that takes more than an hour on the host machine, is definitely worth distcc'ing. On a slow machine, that can mean just about anything, on a fast one, that generally only means X, kde, and a few very large apps.

I'll edit this message and add the final compile time without distcc as soon as it's completed.
Back to top
View user's profile Send private message
bizkit
n00b
n00b


Joined: 08 Oct 2003
Posts: 50
Location: Stockholm, Sweden

PostPosted: Fri Jul 23, 2004 12:03 pm    Post subject: Reply with quote

MighMoS wrote:
distcc will help a lot during bootstrapping, but only for compiling. When glibc has to build its language...stuffs...you're computer is on its own for that. (distcc helped be get my Pentium _1_ up and running in only a day!)


Oh my god! :D
_________________
Gentoo newbie -_-
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
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