View previous topic :: View next topic |
Author |
Message |
theanimal666 n00b
Joined: 25 Apr 2002 Posts: 5
|
Posted: Fri Apr 26, 2002 12:57 am Post subject: parallel emerge severall packages |
|
|
Hi!
Does anone of you know if it is save to run emerge on several terminals at the same time for merging several packages at once?
...thanks,
chris |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Apr 26, 2002 2:26 am Post subject: |
|
|
With the fact that compiles run in a "sandbox" and given Portage's config file protection, you ought to be good. Nothing critical should be overwritten, and as long as they don't install at exactly the same instant, I don't see how bad things could happen. |
|
Back to top |
|
|
tod Developer
Joined: 17 Apr 2002 Posts: 136 Location: Ozarks, USA
|
Posted: Fri Apr 26, 2002 2:20 pm Post subject: |
|
|
Hi!
You'll be ok as long as you do the parallel merge for dependency indepent apps. If you try to merge packages that have common dependencies or depend on each other you may or may not run into problems.
An obviously simple example of a parallel merge doomed to failure: mozilla and galeon, there is no way that mozilla would finish merging in time to satisfy the dependencies of galeon.
While that is a simple example, there are much subtler instances that won't work either.
hth
tod |
|
Back to top |
|
|
Target Apprentice
Joined: 25 Apr 2002 Posts: 200
|
Posted: Fri Apr 26, 2002 9:04 pm Post subject: |
|
|
It's probably better to just merge them one after the other with one command, since they'd only be stealing cpu cycles from each other while compiling anyway.
eg:
emerge mozilla galeon xmms whathaveyou |
|
Back to top |
|
|
tod Developer
Joined: 17 Apr 2002 Posts: 136 Location: Ozarks, USA
|
Posted: Fri Apr 26, 2002 9:10 pm Post subject: |
|
|
Target wrote: | It's probably better to just merge them one after the other with one command, since they'd only be stealing cpu cycles from each other while compiling anyway.
eg:
emerge mozilla galeon xmms whathaveyou |
True, but downloading doesn't steal many cpu cycles, and if you are on dial-up, you can save a lot of time if you have multiple emerge running, some compiling some downloading. |
|
Back to top |
|
|
Target Apprentice
Joined: 25 Apr 2002 Posts: 200
|
Posted: Fri Apr 26, 2002 11:19 pm Post subject: |
|
|
You could emerge --fetchonly packages in one window while ones you've downloaded compile in the other. |
|
Back to top |
|
|
|