Hello Sijmen,
On 07/13/18 16:20, Sijmen J. Mulder wrote:
Hi all, After migrating a VPS from FreeBSD to OpenBSD I noticed reduced networking performance. Both incoming and outgoing traffic seems to be 2-3 times slower on average. By testing 100MB file transfers I've mostly eliminated the following factors:
The easiest way to show and test this difference is as such: 1. Install either FreeBSD 11.2 or OpenBSD 6.3 on a machine or VM 2. Install curl, then `time curl -O http://download.thinkbroadband.com/100MB.zip` On both my VPS provider and my own PC with VirtualBox VMs the difference is about 3x for the above test. Similar results happen when scp-ing a file to the machine.
Please do some benchmarks using -current and send in the results. The OpenBSD devs don't have time to do benchmarking, and always appreciate proper benchmarking comparisons. For your networking tests, please don't do any tests that involve disk writes. Disk speed is where you may have issues, as most disk operations/drivers are not multithreaded and/or kernel biglocked still. For example, when using identical hardware (an old core 2 duo Dell workstation), I can read from my Samsung 860 SSD at ~325MB/s on CentOS. On OpenBSD, I get more like ~130MB/s. if you want to test ssh/scp speed, make sure you write/output all ssh/scp data transfers to /dev/null. What sort of data pipe are you working with? I have found myself able to saturate a gigabit line fairly easily over ssh using modest hardware.
Please reply back with some proper benchmarks as I'm sure many of us would love to take a look.
Cheers, Jordan