Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to use emerge with more than 1 connection?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
SarahS93
l33t
l33t


Joined: 21 Nov 2013
Posts: 693

PostPosted: Tue Nov 10, 2015 10:07 pm    Post subject: How to use emerge with more than 1 connection? Reply with quote

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
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Tue Nov 10, 2015 10:37 pm    Post subject: Re: How to use emerge with more than 1 connection? Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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