Trickle – user-space bandwidth shaper

Valic —  July 25, 2010 — Leave a comment

Trickle is a portable lightweight userspace bandwidth shaper. It can run in collaborative mode (together with trickled) or in stand alone mode.
Currently, trickle supports the shaping of any SOCK_STREAM (see socket(2)) connection established via the socket(2) interface. Furthermore, trickle will not work with stati-cally linked executables, nor with setuid(2) executables. trickle is highly configurable; download and upload rates can be set separately, or in an aggregate fashion.

Step 1. Installation.

apt-get install trickle

Step 2. Usage of trickle.

trickle  -d 200  apt-get upgrade

Launch apt-get upgrade limiting its  download capacity at 20o KB/s.

Other options:

-u rate Limit the upload bandwidth consumption to rate KB/s.

-d rate Limit the download bandwidth consumption to rate KB/s.


Posts Twitter Facebook

Editor in Chief at Debian-Tutorials, Linux enthusiast.

No Comments

Be the first to start the conversation.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.