Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Howto Throttle emerge downloads
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
batchicken
n00b
n00b


Joined: 14 Feb 2004
Posts: 3
Location: New Zealand

PostPosted: Sat Feb 14, 2004 6:18 am    Post subject: Howto Throttle emerge downloads Reply with quote

Emerge uses wget as a command to download everthing by default.

You can use the 'wget --limit-rate=7k' command to throttle your downloads to 7KB/s. Edit /etc/make.conf and alter the wget command to reflect the above. I got the commands from /etc/make.globals which has strict warnings to make changes to make.conf only...

Therefore copy the command...

Mine now looks like:
# Fetching command (5 tries, passive ftp for firewall compatibility)
FETCHCOMMAND="/usr/bin/wget --limit-rate=7k -t 5 --passive-ftp -P \${DISTDIR} \${URI}"
RESUMECOMMAND="/usr/bin/wget --limit-rate=7k -c -t 5 --passive-ftp -P \${DISTDIR} \${URI}"

Hope this helps someone...
Usefull so the rest of the family does not know that I am emerging another server :)


Last edited by batchicken on Thu Mar 18, 2004 9:14 am; edited 1 time in total
Back to top
View user's profile Send private message
MaxDamage
l33t
l33t


Joined: 03 Jan 2004
Posts: 650
Location: Oviedo, Spain

PostPosted: Sat Feb 14, 2004 11:39 am    Post subject: Reply with quote

Interesting :wink: Very useful when having the mldonkey running in the background and want not one killing the other.

Other idea is still listen to internet music (www.di.fm) while downloading :)
_________________
La PDA de tungsteno
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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