On 2017-11-01, Christer Solskogen <christer.solsko...@gmail.com> wrote: > On Wed, Nov 1, 2017 at 10:35 AM, Dimitris Papastamos <s...@2f30.org> wrote: > >> On Wed, Nov 01, 2017 at 09:14:03AM +0100, Christer Solskogen wrote: >> > Hi! >> > >> > I have a APU2C4 running OpenBSD-current (or.. .pretty current, from 27th >> of >> > October) - and according to iperf I'm not getting the speed that I was >> > expecting. >> > >> > Between the APU and the other machines I have I get: 465 Mbits/sec - >> While >> > between two other machines, connected to the same switch I get 939 >> > Mbits/sec. So I'm pretty sure that APU is to blame. >> >> Do you use the APU as a router? If so you shouldn't run iperf on the >> APU. Run iperf/tcpbench between two machines connected on different >> interfaces on the APU. >> >> > Yes, I do use it as a router normally, but these number are when it is not.
Forwarding is kernel-only and should be faster than userland sending. So if you're trying to determine performance when used for forwarding, you need to have other machine/s sending and receiving packets for the test.