On 14.7.2018 01: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:

 - Protocol and ciphers (tested SCP, SFTP, FTP+TLS, HTTP, HTTPS)
 - Client software
 - Peer host
 - VM provider/platform

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`


1. What machine HW and VM are you testing? dmesg?
2. That page/file does not exist, but is that delay consistent
with eg. ftp(1) use instead of curl?

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.


VirtualBox is real crap when it comes to xBSD (not that it's much
better for others anyway). No matter what you set especially
I/O will be terrible

Any ideas on the cause of this? Any additional tests or tweaks I could try?


systat, vmstat, top....... to find where is it showing bottleneck

As well do not tweak anything unless you can be sure what is the weakpoint.
And then you may find that there is however nothing to tweak.

Most easy tweak for start is to install -current and test there
Sijmen

Reply via email to