Re: Answer 2 / Re: 10GBit network performance on OpenBSD 6.4

2019-04-12 Thread Stuart Henderson
On 2019-04-09, Mark Schneider  wrote:
> Hi Peter
>
> Thank you very much for your feedback.
>
> It looks like the performance issue is more complex than I have expected.
> Just for the test I have installed OpenBSD 6.4 and FreeBSD 13.0 on few 
> different servers and compared results (details are in attached files).
>
> Pure network speed I have to test with sucht tools like tcpbench, iperf3 
> or netperf to get independent of the mass storage stuff and other things.

It really depends what you want to test. It isn't clear from your mails
what the purpose of this is.

If that is packet forwarding performance, use separate machines either side
of the router, using tcpbench or iperf or various other high-speed packet
generators and sinks. There are big differences between forwarding and
application traffic.

OpenBSD will very likely come out with slower top speeds. But whether that's
important or not, again, depends on the situation.



Re: Answer 2 / Re: 10GBit network performance on OpenBSD 6.4

2019-04-11 Thread Mark Schneider

Hi Karel

Thank you very much for your hint.

Yes, I used FreeBSD 13.0 for final performance testing (scp transfer and 
iperf3).
Before I run some tests with stable FreeBSD 12.0 but the performance was 
much lower (even still approx 3 times better than OpenBSD 6.4). FreeBSD 
12.0 recognized less NIC hardware than FreeBSD 13.0 and OpenBSD 6.4.


Last scp based test I run yesterday and today was with FreeNAS 11.2 
including 1Gbit/s and 10Gbit/s fiber NICs and Linux on the client side.
For diredtly connectet 1Gbit NICs (fiber) the scp transfer spead was 
like 100MBytes/s.
For directly connected 10Gbit NICs (X520-DA2) the scp transfer spead was 
like 120MBytes/s.
Quite small difference beetwen 1Gbit and 10Gbit NICs. The CPU usage for 
10Gbit NICs during the transfer was very high. The iperf3 test delivered 
nearly 10Gbit/s (FreeBSD and Linux).


# Fiber 10Gbit/s
02:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit 
SFI/SFP+ Network Connection (rev 01)
02:00.1 Ethernet controller: Intel Corporation 82599EB 10-Gigabit 
SFI/SFP+ Network Connection (rev 01)


# Fiber 1Gbit/s
04:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708S 
Gigabit Ethernet (rev 12)


# Copper 1Gbit/s
06:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network 
Connection
07:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network 
Connection


I will have a look if I can get 10Gbit NICs from another maker and rerun 
the performance test on OpenBSD 6.4 again.
Probably I will upgrade my few years old hardware (Xeon(R) CPU E31270 @ 
3.40GHz, with 32GB ECC DDR RAM and Samsung 860 pro SSD) to something 
like current AMD Ryzen Threadripper, DDR RAM and Optane SSD.


In case I could help with 10Gbit/s network performance tests for OpenBSD 
6.5 please let me know.


Kind regards
Mark

--
m...@it-infrastrukturen.org


Am 11.04.2019 15:19, schrieb Karel Gardas:



On 4/9/19 6:56 PM, Mark Schneider wrote:

Hi Peter

Thank you very much for your feedback.

It looks like the performance issue is more complex than I have 
expected.
Just for the test I have installed OpenBSD 6.4 and FreeBSD 13.0 on 
few different servers and compared results (details are in attached 
files).


I'm afraid you have installed FBSD 13.0 current which does have a lot 
of debugging code and invariants checking built in and which can't be 
used for any sensible performance evaluations.
If you are curious about FBSD performance, then please install latest 
stable release.


Cheers,
Karel



--
m...@it-infrastrukturen.org



Re: Answer 2 / Re: 10GBit network performance on OpenBSD 6.4

2019-04-11 Thread Karel Gardas




On 4/9/19 6:56 PM, Mark Schneider wrote:

Hi Peter

Thank you very much for your feedback.

It looks like the performance issue is more complex than I have expected.
Just for the test I have installed OpenBSD 6.4 and FreeBSD 13.0 on few 
different servers and compared results (details are in attached files).


I'm afraid you have installed FBSD 13.0 current which does have a lot of 
debugging code and invariants checking built in and which can't be used 
for any sensible performance evaluations.
If you are curious about FBSD performance, then please install latest 
stable release.


Cheers,
Karel