Bandwidth Limits

tim.conway at philips.com tim.conway at philips.com
Tue Nov 20 11:45:26 EST 2001


Try this commandline:
rsync -avz -e ssh --bwlimit=64 localfiles.tar.gz 
user at remote:/path/to/file/arch
That should average out to use only about 1/2 of your bandwidth.  You will 
find periods where it uses all of it, and periods where it uses none, but 
on average, it will use only as many kbps as you permit it on the cmdline 
.I notice that your example didn't actually use the --bwlimit parameter. 
rsync doesn't do any kind of adaptive logic to determine how much 
bandwidth it should use... it just takes everything it can, either up to 
actual bandwidth limits, the bwlimit parameter, or how fast it can put 
together and recieve the stream.

Tim Conway
tim.conway at philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn, 
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), 
".\n" '
"There are some who call me.... Tim?"




uid0 at catastrophe.net
Sent by: rsync-admin at lists.samba.org
11/19/2001 05:27 PM

 
        To:     rsync at lists.samba.org
        cc:     (bcc: Tim Conway/LMT/SC/PHILIPS)
        Subject:        Bandwidth Limits
        Classification: 



Has anyone noticed that the --bwlimit doesn't really work?

I have MRTG stats happening, and on a 128Kbps circuit, an rsync
with the following syntax takes up the whole line.

$ rsync -avz -e ssh localfiles.tar.gz user at remote:/path/to/file/arch

Any ideas? It's on an OpenBSD box going to a  FreeBSD box. Both are 
2.4.6.

-#0








More information about the rsync mailing list