CPU choice for backup server - Wireguard and rsync performance

Hello all. I want to build an offsite backup server that will connect in a regular basis to my main one by wireguard (or tailscale, but should be the same) and do an rsync (or zfs-snapshots). I will have a 500Mbps symmetric fibre at both ends, but I want to be prepared to do 1Gbps if cost difference is not much. What CPU power will I need to do 500Mbps and 1Gbps VPN transfers?

Not as much as you’d think. I have an HP Prodesk 600 G3 with an Intel 8500 running Proxmox. I have a VyOS VM in it with 2 vCPU and 1Gbps transfers pins one core at almost 100% on iperf.

I’ve not done much rsync, etc benchmarking, but I’d be suspicious if it was more resource intensive than 1 gig over wireguard de/encryption.

Wireguard does not use AES, it uses chacha20, so you don’t need to spring for a fancy modern CPU with AES-NI or anything since it won’t be used. Chacha is fairly lightweight and outperforms AES even on systems with AES-NI.

Why only one core? Does not scale with cores?

I don’t know their choice on core determination, however, the VPN took less than 1 core of a mid-tier 7 year old processor in a retired office PC. I tossed in my experience because I thought it might be a good note to compare that most things would probably meet the goal and going crazy probably isn’t required.

Another interesting thing is ~50mbps was taking around 16% when I was connected and running iperf over WAN connected to the VPN. It did seem to scale decently well when the 1000 went to like 92%.

I’ve been curious to try again with a 10 gig iperf, though I haven’t set that up since so much stuff needs actual doing before idle curiosities are chased down.

This topic was automatically closed 273 days after the last reply. New replies are no longer allowed.