librelist archives

« back to archive

Is there a bandwidth limit setting?

Is there a bandwidth limit setting?

From:
Brandon Schneider
Date:
2014-08-04 @ 21:28
On rsync you can specify --bw-limit=<kb/second>  which is useful on a 
Wi-fi connection to prevent it from saturating the whole link. Is there 
anything similar in Attic?

Thanks for the program!

Re: [attic] Is there a bandwidth limit setting?

From:
Ed Blackman
Date:
2014-08-05 @ 18:43
On Mon, Aug 04, 2014 at 04:28:49PM -0500, Brandon Schneider wrote:
>On rsync you can specify --bw-limit=<kb/second>  which is useful on a
>Wi-fi connection to prevent it from saturating the whole link. Is there
>anything similar in Attic?

I'm evaluating attic, so I don't know if there's a direct way to do 
this.  If not, a workaround would be to wrap the attic invocation with 
'trickle', which is a command line bandwidth shaper.  I use it with my 
current backup system to limit the upload rate when I sync from local 
disk to Amazon S3.

More explanation at 

http://ubuntuportal.com/2012/01/how-i-manage-bandwidth-using-trickle-on-ubuntu.html

You don't mention your platform, but trickle is available on most Linux
distros and also is supposed to work on the *BSDs.  Source available at 
http://monkey.org/~marius/pages/?page=trickle

-- 
Ed Blackman

Re: [attic] Is there a bandwidth limit setting?

From:
Jonas Borgström
Date:
2014-08-06 @ 07:33
On 2014-08-05 20:43, Ed Blackman wrote:
> On Mon, Aug 04, 2014 at 04:28:49PM -0500, Brandon Schneider wrote:
>> On rsync you can specify --bw-limit=<kb/second>  which is useful on a
>> Wi-fi connection to prevent it from saturating the whole link. Is there
>> anything similar in Attic?
> 
> I'm evaluating attic, so I don't know if there's a direct way to do 
> this.  If not, a workaround would be to wrap the attic invocation with 
> 'trickle', which is a command line bandwidth shaper.  I use it with my 
> current backup system to limit the upload rate when I sync from local 
> disk to Amazon S3.

I'm not sure trickle will actually work since Attic does not create any
network sockets itself, instead it communicates with ssh through a pipe.

Anyway, this sounds like a useful feature to support so I created a
ticket for it here:

https://github.com/jborg/attic/issues/103

Thanks for the feature request.

/ Jonas

Re: [attic] Is there a bandwidth limit setting?

From:
Brandon Schneider
Date:
2014-08-06 @ 07:47
Yeah Trickle ended up not actually working out for the reasons you 
specified. Thanks for adding the issue for me!
On 08/06/2014 02:33 AM, Jonas Borgström wrote:
> On 2014-08-05 20:43, Ed Blackman wrote:
>> On Mon, Aug 04, 2014 at 04:28:49PM -0500, Brandon Schneider wrote:
>>> On rsync you can specify --bw-limit=<kb/second>  which is useful on a
>>> Wi-fi connection to prevent it from saturating the whole link. Is there
>>> anything similar in Attic?
>> I'm evaluating attic, so I don't know if there's a direct way to do
>> this.  If not, a workaround would be to wrap the attic invocation with
>> 'trickle', which is a command line bandwidth shaper.  I use it with my
>> current backup system to limit the upload rate when I sync from local
>> disk to Amazon S3.
> I'm not sure trickle will actually work since Attic does not create any
> network sockets itself, instead it communicates with ssh through a pipe.
>
> Anyway, this sounds like a useful feature to support so I created a
> ticket for it here:
>
> https://github.com/jborg/attic/issues/103
>
> Thanks for the feature request.
>
> / Jonas
>
>

Re: [attic] Is there a bandwidth limit setting?

From:
Brandon Schneider
Date:
2014-08-05 @ 22:02
Thanks, I'll check that out Ed! Also my bad, I'm on Arch Linux.
On 08/05/2014 01:43 PM, Ed Blackman wrote:
> On Mon, Aug 04, 2014 at 04:28:49PM -0500, Brandon Schneider wrote:
>> On rsync you can specify --bw-limit=<kb/second>  which is useful on a
>> Wi-fi connection to prevent it from saturating the whole link. Is there
>> anything similar in Attic?
> I'm evaluating attic, so I don't know if there's a direct way to do
> this.  If not, a workaround would be to wrap the attic invocation with
> 'trickle', which is a command line bandwidth shaper.  I use it with my
> current backup system to limit the upload rate when I sync from local
> disk to Amazon S3.
>
> More explanation at
> 
http://ubuntuportal.com/2012/01/how-i-manage-bandwidth-using-trickle-on-ubuntu.html
>
> You don't mention your platform, but trickle is available on most Linux
> distros and also is supposed to work on the *BSDs.  Source available at
> http://monkey.org/~marius/pages/?page=trickle
>