Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
zetagrid style gentoo compile sharing?!?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
hook
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1398
Location: Ljubljana, Slovenia

PostPosted: Sat Feb 01, 2003 11:11 pm    Post subject: zetagrid style gentoo compile sharing?!? Reply with quote

an idea once emerged in my head:

would it be possible to share the compile time with other gentoo boxen? ...like seti and zetagrid do. i mean, that would make us really a community plus users with older machines would benefit from it :)
_________________
tea+free software+law=hook

(deep inside i'm still a tux's little helper)
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Sat Feb 01, 2003 11:30 pm    Post subject: Reply with quote

That's intresting. A lot interesting...

If possible (I don't know exactly what would be involved to do such a thing) why sharing only for compilation? Let's share raw horse-processor-power to who needs it...

I think this makes sense also because I heard somewhere in the forum about openmosix and about how it would be inefficient because of the short time a compilation process lives.
Back to top
View user's profile Send private message
hook
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1398
Location: Ljubljana, Slovenia

PostPosted: Sat Feb 01, 2003 11:34 pm    Post subject: Reply with quote

hmmm ....a gentoo world-wide super-computer? ...tempting ;)
_________________
tea+free software+law=hook

(deep inside i'm still a tux's little helper)
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: Sat Feb 01, 2003 11:49 pm    Post subject: Reply with quote

are there any possible software available to do it? Where do we start?

If it is openmosix, itll be sensible to merge the openmosix patch into the main gentoo-sources...
_________________
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
idl
Retired Dev
Retired Dev


Joined: 24 Dec 2002
Posts: 1728
Location: Nottingham, UK

PostPosted: Sun Feb 02, 2003 12:19 am    Post subject: Reply with quote

lemme get this straight, say someone on a 1ghz wanted to compile KDE.. would this system then send one person the instruction to compile kdegames for him then send back the binarys?
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: Sun Feb 02, 2003 8:57 am    Post subject: Reply with quote

I suspect a distccd-like arrangement, but adapted for the internet (perhaps using the zetagrid code, is that open-source?), ive hda a quick look at openmosix and that is built for use on networks, not on the internet...

It also requires the same kernel version on all machines (2.4.20) but for most ppl that shouldnt be a problem
_________________
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
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Sun Feb 02, 2003 9:51 am    Post subject: Reply with quote

Security might be an issue, no ?
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: Sun Feb 02, 2003 11:04 am    Post subject: Reply with quote

yes, that is one issue. I'm not sure how to get around it thou...
_________________
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
Tantive
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 72

PostPosted: Sun Feb 02, 2003 11:36 am    Post subject: Reply with quote

I think openmosix is not better than any other solution for this task because:
- Openmosix needs low latency (which you have NOT over an internet connection)
- migrating processes needs huge amount of bandwidth (having bandwidths of 6 MBytes/s occurs quite often)

Any other solution that tries to distribute the work would have the same problems.
The only thing that might be possible is to set up a kind of binary packages build system where systems owned by gentoo user build binary packages and store them on a main server where other users could download and use them (in a automated way). Or maybe they could be distributed over a peer-to-peer network.

Why zetagrid and seti are running so good on the internet can be explained by:
- The task are highly parallelizable.
- The input (the workunit) is small compared to the computation time (and in case of zetagrid compared to the output).

Just my 2 cents...


TaT
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Sun Feb 02, 2003 2:08 pm    Post subject: Reply with quote

Yes, with the average bandwidth in Internet today this works only for few specific tasks, but the idea is still interesting at least teorically and I don't know how much time will take to get an Internet bandwith so high to start using such technologies with other tasks.
Back to top
View user's profile Send private message
Tantive
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 72

PostPosted: Sun Feb 02, 2003 2:27 pm    Post subject: Reply with quote

I was just thinking about what compression of data could get out of openmosix as i think the processes are going 1:1 through the wire atm.
Back to top
View user's profile Send private message
hook
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1398
Location: Ljubljana, Slovenia

PostPosted: Sun Feb 02, 2003 6:33 pm    Post subject: Reply with quote

i thought of those problems even before i opened this thread ...i posted it anyway, because i was sure together we would find a solution :)
_________________
tea+free software+law=hook

(deep inside i'm still a tux's little helper)
Back to top
View user's profile Send private message
Matje
l33t
l33t


Joined: 29 Oct 2002
Posts: 619
Location: Hasselt, Belgium

PostPosted: Mon Feb 03, 2003 12:26 am    Post subject: Reply with quote

If it were available I wouldn't do it anyway, I think, just for security reasons. It is very easy for someone to send you back compromised binaries...
_________________
Life is like a box of chocolates... Before you know it, it's empty...
Back to top
View user's profile Send private message
iplayfast
l33t
l33t


Joined: 08 Jul 2002
Posts: 642
Location: Cambridge On,CA

PostPosted: Fri Feb 21, 2003 4:47 pm    Post subject: Reply with quote

OK, here is a possible solution. (Not that I really know anything about it)

User Mode Linux made available as a pool of computers. If you want to use the pool, it's just another box on the network for your use. I think this solves a number of security issues doesn't it?

distcc across the pool, or emerge -u world using the pool to parallel compile things that have had their dependancies satisfied.

An to make it worthwhile, a group login so that trusted individuals can create their own pools. This way, if you want to compile kde with -03 athlon whatever, if the binaries have been made before in your pool, the result is downloaded.

I can see this useful for groups of friends who trust each other, or corporate groups. Imagine an office full of secrataries and clerks, and having access to a user mode linux pool on their boxen!
Back to top
View user's profile Send private message
ksteddom
n00b
n00b


Joined: 11 Feb 2003
Posts: 3
Location: 35 11 50 N 101 52 00 W

PostPosted: Mon Feb 24, 2003 4:26 am    Post subject: ccache Reply with quote

ccache will help with some of this. I want my build settings to be slightly different than someone elses. However, most of the build will be the same. If the pool of computers is using both distcc and ccache then "possibly" I could use some of the build they did previously.

Also, could MD5 be used to check for compromised biniaries?

Just a thought.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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