Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multi-threaded emerge, how about it eh?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
domhowells
n00b
n00b


Joined: 16 Oct 2002
Posts: 11

PostPosted: Mon Mar 03, 2003 2:03 pm    Post subject: Multi-threaded emerge, how about it eh? Reply with quote

OK, i began thinking about this while installing gentoo on my new laptop.

I have a fairly fast processor (XP 1900+), and a fairly slow internet connection (56K). When I do an emerge with dependencies (i.e. where emerge installs prog1, prog2, prog3). The way it does it is this:

Download prog1
Compile + Install prog1
Download prog2
Compile + Install prog2
Download prog3
Compile + Install prog3

No as complile+install and download stages have almost no system resource use in common it would make sense to rund them in parallel, like:
Download: Prog1...........Prog2.......Prog3................................Idle........
Compile: Idle................Prog1.....................Prog2....Idle........Prog3.....

I tried to implement this amatur stylee, by doing:
'emerge --fetchonly system' at the same time as 'emerge system'

It worked well untill the comlile thread was idle and the download thread wasnt at which time the compile thread started to download at the same time, and I ended up with file corruption.

Any thoughts.?

D.
_________________
------------------------------
Dom 'Ace' Howells
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Mon Mar 03, 2003 7:57 pm    Post subject: Reply with quote

You can always submit a feature request for something like this on https://bugs.gentoo.org, but you should also always search first. I think this is the most duplicated bug on bugs.gentoo.org. Here's the original.
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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