Click to See Complete Forum and Search --> : do you know any program that can control/limit the download speed??


roadorange
08-26-2006, 03:20 PM
i am using RHEL4.0. i need that kind of program.
if i download full speed , it affects my brother's internet connection.
we are sharing the same internet connection. so i need that kind of program.
do you know any?

thank youuuuu

StarKnight83
08-26-2006, 03:44 PM
wget and any gui that acts as a front end to it is able to do throttling.

Copied straight from the wget man page
--limit-rate=amount
Limit the download speed to amount bytes per second. Amount may be
expressed in bytes, kilobytes with the k suffix, or megabytes with
the m suffix. For example, --limit-rate=20k will limit the
retrieval rate to 20KB/s. This kind of thing is useful when, for
whatever reason, you don't want Wget to consume the entire avail-
able bandwidth.

Note that Wget implements the limiting by sleeping the appropriate
amount of time after a network read that took less time than speci-
fied by the rate. Eventually this strategy causes the TCP transfer
to slow down to approximately the specified rate. However, it may
take some time for this balance to be achieved, so don't be sur-
prised if limiting the rate doesn't work well with very small
files.

roadorange
08-26-2006, 04:39 PM
wget and any gui that acts as a front end to it is able to do throttling.

Copied straight from the wget man page
--limit-rate=amount
Limit the download speed to amount bytes per second. Amount may be
expressed in bytes, kilobytes with the k suffix, or megabytes with
the m suffix. For example, --limit-rate=20k will limit the
retrieval rate to 20KB/s. This kind of thing is useful when, for
whatever reason, you don't want Wget to consume the entire avail-
able bandwidth.

Note that Wget implements the limiting by sleeping the appropriate
amount of time after a network read that took less time than speci-
fied by the rate. Eventually this strategy causes the TCP transfer
to slow down to approximately the specified rate. However, it may
take some time for this balance to be achieved, so don't be sur-
prised if limiting the rate doesn't work well with very small
files.

thanks for reply. someone else recommend me to use downloader 4 x (d4x)

crow2icedearth
08-26-2006, 05:19 PM
i am using RHEL4.0. i need that kind of program.
if i download full speed , it affects my brother's internet connection.
we are sharing the same internet connection. so i need that kind of program.

what are you downloading that is eating up bandwidth that much ? do you have a router > switch or using a hub (a dumb node device

dkeav
08-26-2006, 05:41 PM
if you buyild your own router you can use alt-q with pf

bwkaz
08-27-2006, 02:12 PM
if you buyild your own router you can use alt-q with pf That is, if your router runs BSD. If your router runs Linux, you'll need to use the tc command (part of IPRoute2) to put the traffic shaping rules in place. See the LARTC (Linux Advanced Routing and Traffic Control) HOWTO for some samples of how to use tc to throttle bandwidth consumption.

dkeav
08-27-2006, 09:31 PM
pffft who uses linux for routers :p

bwkaz
08-28-2006, 06:34 PM
Um, me? :p

I've got three of them. Two are at home; one routes between two networks (and does NAT, but no traffic control), and the other doesn't actually route anything (it's in a WRT54G running OpenWRT, in access-point-only mode). The third is at work, routing between ... five networks (and doing NAT and traffic control on only one of the five).

(VLANs are really helpful, once you get them set up. :))

Yeah, I'm guessing BSD would have worked just fine as well, but I already knew how to do what I needed in Linux with VLANs and firewall rules (because I'd done it at home already). And when we set up that VLAN-routing box at work, it was important to get the box going as fast as possible; I didn't have a couple days to spend trying to install and configure BSD, so I just dropped a Knoppix livecd in and ran its install. (Once it was running off the hard drive, I then messed around with the sources.list for a few days. (And months later, I got it moved over to pure Debian (testing) packages.) But none of that interrupted its service, either.)