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:

As well "define" slow.....

$ time curl -O http://ftp.fi.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/xsrc.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 123M 100 123M 0 0 7646k 0 0:00:16 0:00:16 --:--:-- 9242k
    0m16.58s real     0m00.09s user     0m03.24s system
$

That is OpenBSD 64bit snapshot, running as guest in VirtualBox on Windows 10, 2 years old laptop, connected via WiFi in crowded space (at least 15 other networks around) to not-perfect Euro DOCSIS 3.0 CPE via provider structure and from
Czech Republic to Finland mirror of NetBSD

Theoretical maximum on my CPE is 18,75MB/s so having those speeds above is
pretty nice in such environment.

BTW just for fun let's see how Windows 10 host deal with that.....


λ curl -O http://ftp.fi.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/xsrc.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 123M 100 123M 0 0 661k 0 0:03:11 0:03:11 --:--:-- 704k


WHOAAAAAAA :-)





 - 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`

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.

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

Sijmen

Reply via email to