Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ditch9

#1
I tried reducing the MTU to 1360 but the issue persists. I could be wrong but it seems when I lower MTU the rsync transfer sustains higher speeds for longer. I can transfer around 12G before the speed drops.

While I can't try something with bare metal at the moment, I did experience the same behavior with a Debian LXC container instead of OPNsense on the same Proxmox host with the same site to site configuration so the issue is likely related to the double NAT or the virtualization host.

I did not passthrough the NIC. I am using virtio networking as described in the HOWTO post. I am not sure what you mean by "RSS in OpnSense and on the VM NIC settings." I have tried with and without multiqueue set to the same number of vCPUs which gives the same results.

Here are the VM settings:

Hardware:


VM options:


QuoteWireguard uses UDP and does not benefit from TCP buffer algorithms, so you might also try to use traffic shaping to ensure that buffers are not overrun.
Do you have any guidance on doing this?
#2
I have two sites. Site A and site B.

On site A OPNsense is the edge device. It has a DHCP WAN cable connection and MTU ping testing has verified my MTU settings of 1420 and MSS settings of 1380 are what I need. The WAN speed is 1gbit down 300mbits up. I have multiple remote access Wireguard tunnels in addition to the site to site on this device and there are no issues.

On site B OPNsense sites behind a DD WRT router which is the edge device. DD WRT has a DHCP WAN fiber connection which has the same MTU/MSS as site A. The WAN speed is 300mbit both ways. OPNsense in visualized in Proxmox on this site.

My issue is that file transfers using, wget, curl, rsync, and scp are very slow. Less than 1 megabyte a second. If I run rsync with -ahP the speed will be 100MB/s + for a short time then drop to sub 500kB/s and stay there. This happens across any host in any direction.

However, I can run iperf3 test in both directions and get speed around 200mbit/sec. If I run an iperf3 test while transferring files at sub 500kB/s speed, the iperf3 test is slower. Around 50mbit/sec ish.

Any ideas on how to figure out whats going on here? I'm lost.