Thursday, January 30, 2020

Re: Low throughput with 1 GigE interface

On 2020-01-30 14:29, Christian Weisgerber wrote:
> On 2020-01-30, Jordan Geoghegan <jordan@geoghegan.ca> wrote:
>
>> All you're doing is benchmarking the speed of iperf on that machine.
> I vaguely remember a thread somewhere that concluded that one of
> these network benchmark tools degenerated into a benchmark of
> gettimeofday(2), which apparently is very cheap on Linux and not
> cheap on OpenBSD. So you end up measuring the performance of this
> system call.
>
> I don't remember whether it was iperf...
>

That sounds about right. I vaguely remember reading a thread about iperf
on misc some time in the past year mentioning that.

While OpenBSD obviously doesn't have the same network performance as
Linux or FreeBSD, as work continues on unlocking more of the kernel,
things will continue to get better. I think bluhm@ regularly runs some
automated benchmarks that show that OpenBSD maxes out at around 4-5 Gbit
/ second throughput.

No comments:

Post a Comment