Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Distcc over the net - Ditributed Computing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
bleakcabal
Guru
Guru


Joined: 10 Oct 2002
Posts: 301
Location: Montreal, Québec, Canada

PostPosted: Wed Nov 26, 2003 9:17 pm    Post subject: Distcc over the net - Ditributed Computing Reply with quote

I had this idea ( which I doubt I am the first to have ) during a class, what if there was an application that used Distcc in the manner of Seti At Home. Using idle cpu clock cycles which would be donated to those conected to a large P2P like network of other Gentoo users.

To insure that poeple are not always taking but also giving a kind of quota system could be used so that you cannot abuse this program too much.

Another option would allow poeple to send bandwidth limit so as not to create a large internet bill because of the constant download/upload.

Other than that, this could be a great idea to speed up compilation times if this could implemented ( I don't know if it could ).

What do you all think ?
Back to top
View user's profile Send private message
ckdake
l33t
l33t


Joined: 10 Apr 2003
Posts: 889
Location: Atlanta, GA

PostPosted: Wed Nov 26, 2003 10:30 pm    Post subject: Reply with quote

That would be pretty awesome to pull off, but probably not worth it. The problem is that compilation isn't massively parallel so it wouldn't scale that well. Many stages in the compilation depend on the successful completion of previous stages, so not much would be gained by massively distributing the process. Now for making stage tarballs, or binary builds with optimations for amd/p4/ppc/etc, it would help a bit more.

I have 2 machines running gentoo, and distcc on both of them. When I am emerging on the faster one, it ends up waiting on the slower one, not making effective use of its own cpu.

I think there was an idea earlier on the forums to make a distributed network of binary builds avaliable. So you would register with this service, and whenever you compiled something the service would remember the use variables and optimization settings that affected the build, and the next time someone else tried to emerge with the same applicable settings, the would just download the object file from you.

distcc is great and it gets a lot of use in my house, but i dont think that 50 machines would be any faster than 3 or 4 for most compilation jobs.
_________________
http://ckdake.com/
Back to top
View user's profile Send private message
Beekster
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 268
Location: Sydney

PostPosted: Wed Nov 26, 2003 11:08 pm    Post subject: Reply with quote

Another problem is the typical imbalance between upload speeds and download speeds with cable or DSL.

From using distcc at home between two roughly equivalent machines, I can see that the transmission of source code is much larger than the returned compiled code.

The code distributed for compiling on the other machine typically ranges from a few hundred k to a meg at a time (per job). On 100 Mbit local connection, no problem. If upload speed reduced the speed of sending code to say 25 to 50 kB/sec, then just distributing one job to the other machine could take more than 20 secs.

The other issue is trust. Would you want portions of, for example, ssh compiled on a machine that you don't trust?
Back to top
View user's profile Send private message
krusty_ar
Guru
Guru


Joined: 03 Oct 2002
Posts: 560
Location: Rosario, Argentina

PostPosted: Thu Nov 27, 2003 12:47 am    Post subject: Reply with quote

This has been discused several times in these forums, the idea has several technical problems (some mentioned here) and ALOT of security problems ATM.
_________________
I am Beta, don't expect correct behaviour from me.
Take part of the adopt an unaswered post initiative
Back to top
View user's profile Send private message
bleakcabal
Guru
Guru


Joined: 10 Oct 2002
Posts: 301
Location: Montreal, Québec, Canada

PostPosted: Thu Nov 27, 2003 1:48 am    Post subject: Reply with quote

Well it seems it's just another stupid idea from a stupid person(tm) :)
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Thu Nov 27, 2003 7:55 am    Post subject: Reply with quote

its not a stupid idea. Its a good idea in theory, its just implementing it will be a lot of hard work thats just not worth it
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Sep 22, 2004 2:50 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=145494
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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