Hi All,

First of all the s3cmd tool is excellent and lets me sync a data set
easily like rsync to S3.  Kudos!

The one thing I miss right now is a bandwidth throttle as I do with rsync,
which lets me not hurt the ISP/hosting company so much.  I was in fact
just called by a hosting company as s3cmd was using up 40Mbs upstream and
didn't make them too happy (with 95% billing involved).

Anyway the fix was pretty simple for my use, and that was set default 
throttle=.005
in S3.py:

        def send_file(self, request, file, labels, throttle = .005, retries = 
_max_retries):

In my case this had effective bandwidth at 760kB/sec or ~ 6Mbs which was 
perfect for
my purposes (& the hosting company).

It would seem to me to be trivial to expose this default throttle setting
to the command line as "--throttle-pause" or some such.  I believe this throttle
puts in a seconds pause between network sends.

Regards,

Josh

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to