hjmangalam / parsyncfp

follow-on to parsync (parallel rsync) with better startup perf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Round Robin on Available Interfaces

rapier1 opened this issue · comments

It seems that parsyncfp won't make use of multiple interfaces on a multihomed host. Before I start looking at doing myself I was wondering if that was on your radar or if that functionality already exists and I'm just missing it.

Thanks!

So I poked at things a bit and to be honest it looks like the --address option in rsync is kind of useless. However, using the ssh option -oBinadAddress=ip seems to work as expected (though I'm running into some performance issues which I think is entirely due to my config here at home). This means that the multiple NICs could be used but requires the inclusion of ssh options on the rsync line. Which obviously means that it won't work between mounted filesystems on the same host. So a specific solution instead of a general one. I think I might try to find out who is maintaining rsync and ask about the --address issue.

edit: Thinking about it I bet the --address is only for rsyncs daemons and clients. If you are using the ssh subsystem for transport it will just drop that option instead of passing it along.