PBS Sync bandwidth very slow over Wireguard

garnoux

New Member
Apr 7, 2023
21
0
1
Hi,
i am currently experiencing a problem with a PBS environment located on two remote sites.
Both sites are linked via vpn tunnel because there is no fixed ip address on the second, and therefore it is impossible to nat port 8007 limited to a source address
so i have a wireguard vpn tunnel set up between two sites via pfsense (physical appliances)

but after launching a sync job, i notice that the speed is around 100kbps. impossible to understand why

here are the different tests carried out

speedtest site 1
1723561925128.png
speedtest site 2
1723561934950.png
iperf site2 to site1 via wan
1723562030844.png
iperf site2 to site1 via wireguard
1723562314525.png
(slow but okey)
proxmox benchmark via wan
1723562387850.png
proxmox benchmark via wireguard
1723562605374.png
here is the actual job logs
1723576733425.png
Code:
2024-08-13T17:21:26+02:00: Starting datastore sync job 'pbs-remote:backup:DATA::s-acf37434-96dc'
2024-08-13T17:21:26+02:00: sync datastore 'DATA' from 'pbs-remote/backup'
2024-08-13T17:21:26+02:00: ----
2024-08-13T17:21:26+02:00: Syncing datastore 'backup', namespace 'millery' into datastore 'DATA', root namespace
2024-08-13T17:21:27+02:00: found 13 groups to sync (out of 13 total)
2024-08-13T17:21:27+02:00: skipped: 1 snapshot(s) (2024-07-27T23:12:48Z) - older than the newest local snapshot
2024-08-13T17:21:27+02:00: re-sync snapshot vm/30001/2024-07-31T22:00:05Z
2024-08-13T17:21:27+02:00: no data changes
2024-08-13T17:21:27+02:00: percentage done: 7.69% (1/13 groups)
2024-08-13T17:21:27+02:00: re-sync snapshot vm/6155/2024-07-31T22:00:05Z
2024-08-13T17:21:27+02:00: no data changes
2024-08-13T17:21:27+02:00: percentage done: 15.38% (2/13 groups)
2024-08-13T17:21:34+02:00: skipped: 38 snapshot(s) (2024-02-29T21:00:02Z .. 2024-08-02T23:00:03Z) - older than the newest local snapshot
2024-08-13T17:21:34+02:00: skipped: 2 snapshot(s) (2024-08-04T23:00:03Z .. 2024-08-05T23:00:00Z) - due to transfer-last
2024-08-13T17:21:34+02:00: re-sync snapshot vm/8009/2024-08-03T23:00:01Z
2024-08-13T17:21:34+02:00: no data changes
2024-08-13T17:21:34+02:00: percentage done: 16.35% (2/13 groups, 1/8 snapshots in group #3)
2024-08-13T17:21:36+02:00: re-sync snapshot vm/8009/2024-08-06T23:00:02Z
2024-08-13T17:21:36+02:00: sync archive drive-virtio0.img.fidx

and the network graph

1723576813663.png

i tried to lower the mtu a little but that doesn't change anything
could you clarify this for me?
thanks
 

Attachments

  • 1723562517883.png
    1723562517883.png
    58.3 KB · Views: 9
No, site 2 pull from site one
Using wireguard because i cant open 8007 port restricted by the site 2 IP (Dynamic)
 
Last edited:
Might be something to do with the MTU on Wireguard. Wireguard generally don't have any restrictions on bandwidth. Wireguard will use much bandwidth as you give it. Sometimes ISPs mangle the MTUs on their network which result in poor performance. Some protocols are sensitive to that.