Trickle : limit your application bandwidth

From Deimos.fr / Bloc Notes Informatique
Jump to: navigation, search
CPU Limit

Software version 1.07
Operating System Debian 7
Website Trickle Website
Last Update 06/05/2013
Others

1 Introduction

trickle is a portable lightweight userspace bandwidth shaper. It can run in collaborative mode (together with trickled) or in stand alone mode.

trickle works by taking advantage of the unix loader preloading. Essentially it provides, to the application, a new version of the functionality that is required to send and receive data through sockets. It then limits traffic based on delaying the sending and receiving of data over a socket. trickle runs entirely in userspace and does not require root privileges.

2 Installation

Command aptitude
aptitude install trickle

3 Usage

To use it, it's really easy. Simply add a command prefix with desired max bandwidth :

Command
trickled -u 10 -d 20 firefox

Here, the maximum upload is set to 10k and upload to 20k.

4 References