Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [gentoo-user] Limit emerge's "wget" bandwidth usage

32 views
Skip to first unread message

Alan McKinnon

unread,
Jan 6, 2010, 3:10:02 PM1/6/10
to

The answer to supplying custom arguments to portage's download command is exactly where it should be - in a man page.

equery files portage

will list them, it's in section 5

On 06 Jan 2010 8:38 PM, "Ricardo Saffi Marques" <sa...@las.ic.unicamp.br> wrote:

Is there any way I can configure (pass arguments to) emerge's "wget" (used for fetching) to limit it's rate to a certain amount
of KB/s?

I don't want to make a global/system-wide change, just for portage.

I did find a way to limit the bandwidth while syncing. All I had to do was to put this on my /etc/make.conf:

PORTAGE_RSYNC_EXTRA_OPTS="--partial --progress --delete-after --human-readable --bwlimit=50"

(for instance).

I do know there is parameter for wget, which is "--limitrate". Any way I could set this inside portage?

Regards,

Saffi

--
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
======================================================
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
======================================================


Ricardo Saffi Marques

unread,
Jan 6, 2010, 3:10:02 PM1/6/10
to

Dominic Reich

unread,
Jan 6, 2010, 9:10:02 PM1/6/10
to
Ricardo Saffi Marques wrote:
> I do know there is parameter for wget, which is "--limitrate". Any way I could set this inside portage?

it is in the make.conf manpage.
try this website
<http://www.gentoo-wiki.info/TIP_Gentoo_for_dialup_users#Bandwidth_Limiting>

0 new messages