View previous topic :: View next topic |
Author |
Message |
SarahS93 l33t
Joined: 21 Nov 2013 Posts: 693
|
Posted: Tue Nov 10, 2015 10:07 pm Post subject: How to use emerge with more than 1 connection? |
|
|
At the evening my ISP is very very slow, to much users are surfing in the world wide web.
I am on a 50mbit VDSL connection. i download normaly with up to 6mb/s my gentoo updates.
At the evening this is very slow, not more than 200...300kb/s.
Downloading updates with emerge can be faster with more than one download at the same time.
How do i configure emerge to use more than one connection for downloads? |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Tue Nov 10, 2015 10:37 pm Post subject: Re: How to use emerge with more than 1 connection? |
|
|
SarahS93 wrote: | Downloading updates with emerge can be faster with more than one download at the same time. How do i configure emerge to use more than one connection for downloads? |
Sarah ... 'parallel-fetch' should be enabled by default in FEATURES:
Code: | # emerge --info | grep '^FEATURES'
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict suidctl unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" |
... if this is enabled the fetch will be run in the background while the build is in progress. If this isn't sufficent (ie, you're using -f,--fetch') then you can change the behavior of command with the FETCHCOMMAND variable ... see 'man make.conf'
Code: | % man make.conf | less -p parallel-fetch
% man make.conf | less -p '^ *FETCHCOMMAND' |
HTH & best ... khay |
|
Back to top |
|
|
|