I have a huge rsync task where I'd like to syncronize file colletion of my workstation and remote server (rsync over ssh). I assume the whole process to take weeks so I don't want to cripple my network for the whole time by increasing latency of the network for all other processes.
I know that if I could persuate the rsync to switch to low priority congestion control (lp) it would automatically give most of the network bandwidth to other processes in case of any congestion.
I know that I can load support for the low priority congestion control simply by running sudo modprobe tcp_lp and user mode apps are allowed to use it as long it's listed in /proc/sys/net/ipv4/tcp_allowed_congestion_control.
However, I prefer keeping cdg or vegas as my default congestion control algorithm. How to get rsync (and the underlying ssh) to use congestion control algorithm lp instead?
My intent is to allow rsync to go full speed as long as the network is not used for anything.