Is it possible to throttle (limit) the download speed of
Is it possible to change the throttle value while it is downloading ?
Yes both wget and curl support limiting your download rate. Both options are directly mentioned in the man page.
It is possible to limit the traffic rate using the
One example of TBF would be as follows (ref. http://www.lartc.org/manpages/tc-tbf.html):
To attach a TBF with a sustained maximum rate of 0.5mbit/s, a peakrate of 1.0mbit/s, a 5kilobyte buffer, with a pre-bucket queue size limit calculated so the TBF causes at most 70ms of latency, with perfect peakrate behaviour, issue:
Another example of usign tc and netem would be as follows (found in http://www.linuxfoundation.org/collaborate/workgroups/networking/netem):
There is no rate control built-in to the netem discipline, instead use one of the other disciplines that does do rate control. In this example, we use Token Bucket Filter (TBF) to limit output.
To add the delay of each packet going/coming through the interface eth0
to add the data rate in tbf, packet buffer size and maximum burst limit
To see the list of rules assigned in tc for interface eth0
The output of the above command would be as below
Check on the options for buffer and limit as you might find you need bigger defaults than these (they are in bytes)