Have you looked into IPerf? https://iperf.fr/

This is what I typically use for testing network throughput.
Downloading a file is a bit more complex and involves things
like the source server/latency/etc. as well as disk performance.
(I know a 100MB file isnt much but still...)

IPerf has a lot of knobs to tweak, like number of threads, TCP window size,
etc.
You will need 2 hosts, one to act as server and one as client.
I recommend the latest stable version of iperf3, which is available as a
package:
$ doas pkg_add iperf3

Hope this helps.

On Fri, Jul 13, 2018 at 7:20 PM, Sijmen J. Mulder <i...@sjmulder.nl> 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`
>
> 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