Slow rsync over Asus Merlin VPN

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

tigerdog

Occasional Visitor
I have a pair of Buffalo Linkstations, one in California, one in Alabama. Each is connected via gigabit Ethernet to an Asus router with Merlin WRT software. I've created an OpenVPN link between the routers and devices on one subnet can reach devices on the other. So far, so good. When I use the Buffalo's built-in rsync backup to replicate files from one NAS to the other, the throughput maxes at about 640Kbps (!) ifrom CA to AL, and about 1.2Mbps in the other direction. Available bandwidth according to speedtest is 200Mbps down/20Mbps up from CA, and much better in both directions on the AL side. Round trip ping through the tunnel, NAS to NAS, is 75ms. I have used ACP commander to try to tweak the net stack in the Buffalos to account for the network latency, adding the following to /etc/sysctl.conf and running sysctl -p to invoke the changes:

Code:
net.core.wmem_max=3072000
net.core.wmem_default=3072000
net.core.rmem_max=3072000
net.core.rmem_default=3072000
net.ipv4.tcp_rmem= 10240 192000 1536000
net.ipv4.tcp_wmem= 10240 192000 1536000
net.ipv4.tcp_rmem= 10240 192000 1536000
net.ipv4.tcp_wmem= 10240 192000 1536000
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_sack = 1
net.ipv4.tcp_no_metrics_save = 1
net.core.netdev_max_backlog = 5000

I'm really at a loss to understand why throughput won't at least reach a couple of megabits per second. Any insight would be greatly appreciated.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top