Problem with Univention Corporate Server (UCS) - strange network adapter behaviour

Post Reply
Jens_1
Posts: 2
Joined: Sun Aug 30, 2020 7:04 pm
languages_spoken: english
ODROIDs: ODROID H2+
Has thanked: 0
Been thanked: 0
Contact:

Problem with Univention Corporate Server (UCS) - strange network adapter behaviour

Post by Jens_1 »

Hi,
I switched a server installation of the UCS server from an Intel NUC to this ODROID H2+ without any big problems.
Also installing the Realtek network drivers (from the Realtek website - version 9.003.05) into this system was working without any problems - the network interface was detected and came up immediately and the server was connected with the network. I thought, wow, this was easy...until I did some performance tests:

First I copied a bigger file from the server to the NAS and reached nearly the line speed for a 2.5gbe adaptor.

Next I tried the other way around and - big surprise - the reading speed was only 100Mbits/sec (Fast-Ethernet).

I changed the network port on the switch from a 1/2.5/5/10gbe-port to a 1gbe-port and the performance was OK (1Gbits/sec of course in both directions (send and receive)).
I tried re-installing the drivers a lot of times - no success.
I changed also the switches (MikroTik and QNAP), ports and cables (all CAT7) - nothing helped.
At the end the advantage of a 2.5gbe adapter (and the corresponding network speed) was gone for me and the server is now running with 1gbe network connection.

Am I the only one with this problem?


Some details of testing:

Kernel:
4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64 GNU/Linux

Driver in use:
driver: r8125
version: 9.003.05-NAPI
firmware-version:
expansion-rom-version:
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseX/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseX/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Speed: 2500Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes

iperf3 Testing:

Server (nnn.nnn.nnn.1 [server]) attached to a 10GBe Switch port:

root@server:~# iperf3 -c nnn.nnn.nnn.2 [client]
Connecting to host nnn.nnn.nnn.2 [client], port 5201
[ 4] local nnn.nnn.nnn.1 [server] port 60956 connected to nnn.nnn.nnn.2 [client] port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 275 MBytes 2.30 Gbits/sec 0 220 KBytes
[ 4] 1.00-2.00 sec 282 MBytes 2.36 Gbits/sec 0 220 KBytes
[ 4] 2.00-3.00 sec 283 MBytes 2.37 Gbits/sec 0 220 KBytes
[ 4] 3.00-4.00 sec 283 MBytes 2.37 Gbits/sec 0 220 KBytes
[ 4] 4.00-5.00 sec 281 MBytes 2.36 Gbits/sec 0 220 KBytes
[ 4] 5.00-6.00 sec 283 MBytes 2.37 Gbits/sec 0 220 KBytes
[ 4] 6.00-7.00 sec 281 MBytes 2.36 Gbits/sec 0 220 KBytes
[ 4] 7.00-8.00 sec 283 MBytes 2.37 Gbits/sec 0 220 KBytes
[ 4] 8.00-9.00 sec 283 MBytes 2.37 Gbits/sec 0 220 KBytes
[ 4] 9.00-10.00 sec 282 MBytes 2.37 Gbits/sec 0 220 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 2.75 GBytes 2.36 Gbits/sec 0 sender
[ 4] 0.00-10.00 sec 2.75 GBytes 2.36 Gbits/sec receiver
iperf Done.

root@server:~# iperf3 -c nnn.nnn.nnn.2 [client] -R
Connecting to host nnn.nnn.nnn.2 [client], port 5201
Reverse mode, remote host nnn.nnn.nnn.2 [client] is sending
[ 4] local nnn.nnn.nnn.1 [server] port 33060 connected to nnn.nnn.nnn.2 [client] port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 12.1 MBytes 101 Mbits/sec
[ 4] 1.00-2.00 sec 26.4 MBytes 221 Mbits/sec
[ 4] 2.00-3.00 sec 15.5 MBytes 130 Mbits/sec
[ 4] 3.00-4.00 sec 4.24 MBytes 35.6 Mbits/sec
[ 4] 4.00-5.00 sec 5.39 MBytes 45.2 Mbits/sec
[ 4] 5.00-6.00 sec 4.92 MBytes 41.3 Mbits/sec
[ 4] 6.00-7.00 sec 14.9 MBytes 125 Mbits/sec
[ 4] 7.00-8.00 sec 17.6 MBytes 148 Mbits/sec
[ 4] 8.00-9.00 sec 15.9 MBytes 134 Mbits/sec
[ 4] 9.00-10.00 sec 5.62 MBytes 47.1 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 123 MBytes 103 Mbits/sec sender
[ 4] 0.00-10.00 sec 123 MBytes 103 Mbits/sec receiver
iperf Done.


Server (nnn.nnn.nnn.1 [server]) attached to a 1GBe Switch port:

root@server:~# iperf3 -c nnn.nnn.nnn.2 [client]
Connecting to host nnn.nnn.nnn.2 [client], port 5201
[ 4] local nnn.nnn.nnn.1 [server] port 33248 connected to nnn.nnn.nnn.2 [client] port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 95.3 MBytes 799 Mbits/sec 0 220 KBytes
[ 4] 1.00-2.00 sec 96.2 MBytes 807 Mbits/sec 0 220 KBytes
[ 4] 2.00-3.00 sec 96.0 MBytes 806 Mbits/sec 0 220 KBytes
[ 4] 3.00-4.00 sec 96.2 MBytes 807 Mbits/sec 0 220 KBytes
[ 4] 4.00-5.00 sec 95.3 MBytes 800 Mbits/sec 0 220 KBytes
[ 4] 5.00-6.00 sec 95.0 MBytes 797 Mbits/sec 0 220 KBytes
[ 4] 6.00-7.00 sec 95.5 MBytes 801 Mbits/sec 0 220 KBytes
[ 4] 7.00-8.00 sec 95.7 MBytes 803 Mbits/sec 0 220 KBytes
[ 4] 8.00-9.00 sec 95.3 MBytes 800 Mbits/sec 0 220 KBytes
[ 4] 9.00-10.00 sec 95.3 MBytes 799 Mbits/sec 0 220 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 956 MBytes 802 Mbits/sec 0 sender
[ 4] 0.00-10.00 sec 955 MBytes 801 Mbits/sec receiver
iperf Done.

root@server:~# iperf3 -c nnn.nnn.nnn.2 [client] -R
Connecting to host nnn.nnn.nnn.2 [client], port 5201
Reverse mode, remote host nnn.nnn.nnn.2 [client] is sending
[ 4] local nnn.nnn.nnn.1 [server] port 33276 connected to nnn.nnn.nnn.2 [client] port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 94.0 MBytes 788 Mbits/sec
[ 4] 1.00-2.00 sec 111 MBytes 934 Mbits/sec
[ 4] 2.00-3.00 sec 109 MBytes 916 Mbits/sec
[ 4] 3.00-4.00 sec 110 MBytes 926 Mbits/sec
[ 4] 4.00-5.00 sec 111 MBytes 930 Mbits/sec
[ 4] 5.00-6.00 sec 111 MBytes 927 Mbits/sec
[ 4] 6.00-7.00 sec 110 MBytes 927 Mbits/sec
[ 4] 7.00-8.00 sec 111 MBytes 929 Mbits/sec
[ 4] 8.00-9.00 sec 109 MBytes 917 Mbits/sec
[ 4] 9.00-10.00 sec 111 MBytes 928 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 1.06 GBytes 912 Mbits/sec sender
[ 4] 0.00-10.00 sec 1.06 GBytes 912 Mbits/sec receiver
iperf Done.

User avatar
odroid
Site Admin
Posts: 35266
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 1074 times
Been thanked: 821 times
Contact:

Re: Problem with Univention Corporate Server (UCS) - strange network adapter behaviour

Post by odroid »

Can you try Kernel 5.9 RC?
viewtopic.php?p=303434#p303434

univention
Posts: 1
Joined: Wed Sep 02, 2020 11:47 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Problem with Univention Corporate Server (UCS) - strange network adapter behaviour

Post by univention »

Disclaimer: I work at Univention and found this thread

I wanted to provide some additional information regarding the Kernel in use by UCS.
Unfortunately, UCS doesn't provide a 5.x Kernel. UCS 4.4 is based on Debian 9 which uses the quite old 4.9 Kernel. UCS 5.0 is scheduled for the end of the year and will be based on Debian 10, but that ships only Kernel 4.19.
If you are okay with "voiding warranties" you could try to install a 5.x Kernel on your own and see if that fixes the problem.

Best regards

Jens_1
Posts: 2
Joined: Sun Aug 30, 2020 7:04 pm
languages_spoken: english
ODROIDs: ODROID H2+
Has thanked: 0
Been thanked: 0
Contact:

Re: Problem with Univention Corporate Server (UCS) - strange network adapter behaviour

Post by Jens_1 »

Thank you very much for your replies.
I tried to install the 5.9 rc3 kernel, but I failed because of unresolved dependencies (package in question was linux-base).
For time being I will let it run as it is - for the main server tasks the 800 Mbits/sec on a 1GbE NIC port is sufficient (at least much better than 100 Mbits/sec on a 10 GbE NIC port).
Thanks again for your help.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest