[Ilugc] user-space Bandwidth Shaper

  • From: sridharinfinity@xxxxxxxxx (Sridhar R)
  • Date: Mon, 7 Jun 2004 05:11:50 -0700 (PDT)

Suraj said:

From sweetcode.org:

http://monkey.org/~marius/trickle/

"Trickle is a "portable  lightweight userspace 
bandwidth shaper". It's an LD_PRELOAD  module that 
puts a  rate cap on  the bandwidth (upload,
download, or both) of a process or group of 
processes."

(I guess  someone (Sridhar?)  was  looking for a
user 
space bandwidth
shaper a few days ago...)

  Yes.  But I dont' think that is what I want. 
Trickle just limits the bandwidth consumption of
programs, but I don't how that manages `dynamic
bandwidth adjustment` in case of high priority (short
time) requests, such has getting a html file, over low
priority (long time) stuffs like downloading files.

From trickle man page::
     -u rate      Limit the upload bandwidth
consumption to rate KB/s.

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

     -w size      Set peak detection window size to
size KB.  This determines how aggressive trickle is at
eliminating bandwidth consumption peaks.  Lower values
will be more aggressive, but may also result in over
shaping.  The default value (512 KB) is usually
sufficient.
::

I don't know what's the difference between -d/-u and
-w.  Will not the -d/-u takes care of that (-w)?



=====
Sridhar R
WWW: http://cs.annauniv.edu/~rsridhar
GNU/Linux CDs: http://cs.annauniv.edu/~rsridhar/fs-cds.shtml


        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ ;

Other related posts: