[Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Post Reply
domih
Posts: 20
Joined: Mon Feb 11, 2019 4:48 pm
languages_spoken: English, French
ODROIDs: UX4, HC2, N2, Pi 3 B+
Has thanked: 10 times
Been thanked: 1 time
Contact:

[Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by domih » Mon Apr 15, 2019 2:10 pm

Setup on both the N2 and the UX4, all via ssh:

Code: Select all

sudo su -
apt update
apt upgrade
apt dist-upgrade
apt autoremove
systemctl set-default multi-user.target
shutdown -r now
sudo su -
apt install iperf3
Here are the results:

Code: Select all

root@n2a:~# iperf3 -c 192.168.1.210
Connecting to host 192.168.1.210, port 5201
[  4] local 192.168.1.95 port 33936 connected to 192.168.1.210 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   102 MBytes   854 Mbits/sec    0   3.85 MBytes
[  4]   1.00-2.00   sec  97.5 MBytes   817 Mbits/sec    0   5.04 MBytes
[  4]   2.00-3.00   sec  97.5 MBytes   818 Mbits/sec    0   5.04 MBytes
[  4]   3.00-4.00   sec  97.0 MBytes   815 Mbits/sec    0   5.04 MBytes
[  4]   4.00-5.00   sec  99.4 MBytes   833 Mbits/sec    0   5.04 MBytes
[  4]   5.00-6.02   sec  95.0 MBytes   783 Mbits/sec    0   5.04 MBytes
[  4]   6.02-7.00   sec   102 MBytes   872 Mbits/sec    0   5.04 MBytes
[  4]   7.00-8.04   sec  97.5 MBytes   785 Mbits/sec    0   5.04 MBytes
[  4]   8.04-9.00   sec   102 MBytes   896 Mbits/sec    0   5.04 MBytes
[  4]   9.00-10.00  sec   100 MBytes   839 Mbits/sec    0   5.04 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   990 MBytes   830 Mbits/sec    0             sender
[  4]   0.00-10.00  sec   987 MBytes   827 Mbits/sec                  receiver

iperf Done.
root@n2a:~# iperf3 -c 192.168.1.210
Connecting to host 192.168.1.210, port 5201
[  4] local 192.168.1.95 port 33940 connected to 192.168.1.210 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  99.6 MBytes   833 Mbits/sec    0   3.14 MBytes
[  4]   1.00-2.01   sec  98.8 MBytes   821 Mbits/sec    0   4.93 MBytes
[  4]   2.01-3.05   sec   102 MBytes   831 Mbits/sec    0   4.93 MBytes
[  4]   3.05-4.00   sec   101 MBytes   884 Mbits/sec    0   4.93 MBytes
[  4]   4.00-5.00   sec  97.5 MBytes   819 Mbits/sec    0   4.93 MBytes
[  4]   5.00-6.00   sec  97.3 MBytes   814 Mbits/sec    0   4.93 MBytes
[  4]   6.00-7.00   sec  98.8 MBytes   828 Mbits/sec    0   4.93 MBytes
[  4]   7.00-8.00   sec   100 MBytes   840 Mbits/sec    0   5.50 MBytes
[  4]   8.00-9.00   sec  98.8 MBytes   828 Mbits/sec    0   5.50 MBytes
[  4]   9.00-10.00  sec  99.7 MBytes   835 Mbits/sec    0   5.50 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   993 MBytes   833 Mbits/sec    0             sender
[  4]   0.00-10.00  sec   990 MBytes   830 Mbits/sec                  receiver

iperf Done.
root@n2a:~# iperf3 -c 192.168.1.210
Connecting to host 192.168.1.210, port 5201
[  4] local 192.168.1.95 port 33944 connected to 192.168.1.210 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   101 MBytes   844 Mbits/sec   47   1.09 MBytes
[  4]   1.00-2.00   sec  98.6 MBytes   827 Mbits/sec    0   1.09 MBytes
[  4]   2.00-3.00   sec   100 MBytes   839 Mbits/sec    0   1.10 MBytes
[  4]   3.00-4.00   sec  98.6 MBytes   827 Mbits/sec    0   1.12 MBytes
[  4]   4.00-5.00   sec  98.7 MBytes   828 Mbits/sec    0   1.13 MBytes
[  4]   5.00-6.01   sec  93.8 MBytes   784 Mbits/sec    0   1.14 MBytes
[  4]   6.01-7.03   sec   101 MBytes   831 Mbits/sec    0   1.15 MBytes
[  4]   7.03-8.04   sec   102 MBytes   848 Mbits/sec    0   1.15 MBytes
[  4]   8.04-9.00   sec  98.8 MBytes   864 Mbits/sec    0   1.16 MBytes
[  4]   9.00-10.01  sec  95.0 MBytes   791 Mbits/sec    0   1.18 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.01  sec   988 MBytes   828 Mbits/sec   47             sender
[  4]   0.00-10.01  sec   988 MBytes   828 Mbits/sec                  receiver


root@xu4a:~# iperf3 -c 192.168.1.210
Connecting to host 192.168.1.210, port 5201
[  4] local 192.168.1.90 port 41950 connected to 192.168.1.210 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   108 MBytes   903 Mbits/sec    0    461 KBytes
[  4]   1.00-2.00   sec   110 MBytes   924 Mbits/sec    0    461 KBytes
[  4]   2.00-3.00   sec   110 MBytes   925 Mbits/sec    0    484 KBytes
[  4]   3.00-4.00   sec   110 MBytes   925 Mbits/sec    0    533 KBytes
[  4]   4.00-5.00   sec   110 MBytes   926 Mbits/sec    0    563 KBytes
[  4]   5.00-6.00   sec   110 MBytes   925 Mbits/sec    0    563 KBytes
[  4]   6.00-7.00   sec   110 MBytes   924 Mbits/sec    0    563 KBytes
[  4]   7.00-8.00   sec   110 MBytes   925 Mbits/sec    0    621 KBytes
[  4]   8.00-9.00   sec   110 MBytes   925 Mbits/sec    0    621 KBytes
[  4]   9.00-10.00  sec   110 MBytes   923 Mbits/sec    0    621 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.07 GBytes   922 Mbits/sec    0             sender
[  4]   0.00-10.00  sec  1.07 GBytes   921 Mbits/sec                  receiver

iperf Done.
root@xu4a:~# iperf3 -c 192.168.1.210
Connecting to host 192.168.1.210, port 5201
[  4] local 192.168.1.90 port 41954 connected to 192.168.1.210 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   108 MBytes   907 Mbits/sec    0    438 KBytes
[  4]   1.00-2.00   sec   110 MBytes   926 Mbits/sec    0    461 KBytes
[  4]   2.00-3.00   sec   110 MBytes   925 Mbits/sec    0    484 KBytes
[  4]   3.00-4.00   sec   110 MBytes   925 Mbits/sec    0    509 KBytes
[  4]   4.00-5.00   sec   110 MBytes   925 Mbits/sec    0    509 KBytes
[  4]   5.00-6.00   sec   110 MBytes   924 Mbits/sec    0    509 KBytes
[  4]   6.00-7.00   sec   110 MBytes   925 Mbits/sec    0    509 KBytes
[  4]   7.00-8.00   sec   110 MBytes   924 Mbits/sec    0    509 KBytes
[  4]   8.00-9.00   sec   110 MBytes   925 Mbits/sec    0    509 KBytes
[  4]   9.00-10.00  sec   110 MBytes   925 Mbits/sec    0    537 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.07 GBytes   923 Mbits/sec    0             sender
[  4]   0.00-10.00  sec  1.07 GBytes   922 Mbits/sec                  receiver

iperf Done.
root@xu4a:~# iperf3 -c 192.168.1.210
Connecting to host 192.168.1.210, port 5201
[  4] local 192.168.1.90 port 41958 connected to 192.168.1.210 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   109 MBytes   913 Mbits/sec    0    457 KBytes
[  4]   1.00-2.00   sec   110 MBytes   921 Mbits/sec    0    479 KBytes
[  4]   2.00-3.00   sec   110 MBytes   925 Mbits/sec    0    479 KBytes
[  4]   3.00-4.00   sec   110 MBytes   925 Mbits/sec    0    479 KBytes
[  4]   4.00-5.00   sec   109 MBytes   917 Mbits/sec    0    568 KBytes
[  4]   5.00-6.00   sec   110 MBytes   926 Mbits/sec    0    568 KBytes
[  4]   6.00-7.00   sec   110 MBytes   924 Mbits/sec    0    568 KBytes
[  4]   7.00-8.00   sec   110 MBytes   926 Mbits/sec    0    619 KBytes
[  4]   8.00-9.00   sec   110 MBytes   925 Mbits/sec    0    619 KBytes
[  4]   9.00-10.00  sec   110 MBytes   925 Mbits/sec    0    619 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.07 GBytes   923 Mbits/sec    0             sender
[  4]   0.00-10.00  sec  1.07 GBytes   921 Mbits/sec                  receiver

iperf Done.
Last edited by domih on Thu Apr 18, 2019 7:17 pm, edited 1 time in total.

User avatar
tobetter
Posts: 3251
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 17 times
Been thanked: 64 times
Contact:

Re: Am I doing something wrong?

Unread post by tobetter » Mon Apr 15, 2019 5:01 pm

@domih, I am wondering if you have performed the iperf3 test as soon as N2 is up and the system is still being up. What I observed is that iperf3 performance is a bit lower when the system is being up, and later 20~30sec-ish iperf3 becomes a bit better.

Another tip what I have tried is to add this to /etc/sysctl.conf, the change would be affected after reboot.

Code: Select all

net.core.rmem_max=425984
net.core.rmem_default=425984
net.core.wmem_max=425984
net.core.wmem_default=425984
Please let me know how it works.
These users thanked the author tobetter for the post:
domih (Tue Apr 16, 2019 4:57 pm)

domih
Posts: 20
Joined: Mon Feb 11, 2019 4:48 pm
languages_spoken: English, French
ODROIDs: UX4, HC2, N2, Pi 3 B+
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: Am I doing something wrong?

Unread post by domih » Mon Apr 15, 2019 5:56 pm

I will check both tomorrow. Thank for the help!

User avatar
tobetter
Posts: 3251
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 17 times
Been thanked: 64 times
Contact:

Re: Am I doing something wrong?

Unread post by tobetter » Mon Apr 15, 2019 5:58 pm

domih wrote:
Mon Apr 15, 2019 5:56 pm
I will check both tomorrow. Thank for the help!
No worries.

User avatar
mad_ady
Posts: 5830
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 67 times
Been thanked: 41 times
Contact:

Re: Am I doing something wrong?

Unread post by mad_ady » Mon Apr 15, 2019 6:26 pm

Try measuring upload speed as well with -d (dualtest). If it's larger for N2 than download the reason might be that network irq is assigned to a little core instead of a big core. XU4 has had some tweaks in this regard (see /bin/odroid-tweaks)
These users thanked the author mad_ady for the post:
domih (Tue Apr 16, 2019 4:57 pm)

domih
Posts: 20
Joined: Mon Feb 11, 2019 4:48 pm
languages_spoken: English, French
ODROIDs: UX4, HC2, N2, Pi 3 B+
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: Am I doing something wrong?

Unread post by domih » Tue Apr 16, 2019 4:39 pm

@tobetter <<...I am wondering if you have performed the iperf3 test as soon as N2 is up and the system is still being up. What I observed is that iperf3 performance is a bit lower when the system is being up, and later 20~30sec-ish iperf3 becomes a bit better...>>

Nope. Roughly same results 30 min after boot.

@tobetter <<...Another tip what I have tried is to add this to /etc/sysctl.conf, the change would be affected after reboot...>>

Nope. Roughly same results (and I did wait a few minutes after the reboot)

Code: Select all

root@n2a:~# iperf3 -c 192.168.1.210
Connecting to host 192.168.1.210, port 5201
[  4] local 192.168.1.95 port 59224 connected to 192.168.1.210 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.02   sec  98.8 MBytes   816 Mbits/sec    0   3.84 MBytes
[  4]   1.02-2.03   sec   100 MBytes   826 Mbits/sec    0   3.84 MBytes
[  4]   2.03-3.00   sec   101 MBytes   872 Mbits/sec    0   3.84 MBytes
[  4]   3.00-4.00   sec  98.8 MBytes   829 Mbits/sec    0   3.84 MBytes
[  4]   4.00-5.00   sec  98.8 MBytes   828 Mbits/sec    0   3.84 MBytes
[  4]   5.00-6.00   sec   104 MBytes   870 Mbits/sec    0   3.84 MBytes
[  4]   6.00-7.00   sec   101 MBytes   845 Mbits/sec    0   4.57 MBytes
[  4]   7.00-8.00   sec   102 MBytes   856 Mbits/sec    0   4.57 MBytes
[  4]   8.00-9.00   sec  98.3 MBytes   824 Mbits/sec    0   4.57 MBytes
[  4]   9.00-10.01  sec  96.2 MBytes   799 Mbits/sec    0   4.57 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.01  sec   998 MBytes   836 Mbits/sec    0             sender
[  4]   0.00-10.01  sec   997 MBytes   836 Mbits/sec                  receiver

iperf Done.
I also redid the test on XU4 and HC2.

Code: Select all

root@hc2a:~# iperf3 -c 192.168.1.210
Connecting to host 192.168.1.210, port 5201
[  4] local 192.168.1.80 port 52368 connected to 192.168.1.210 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   108 MBytes   902 Mbits/sec    0    503 KBytes
[  4]   1.00-2.00   sec   110 MBytes   925 Mbits/sec    0    503 KBytes
[  4]   2.00-3.00   sec   110 MBytes   926 Mbits/sec    0    532 KBytes
[  4]   3.00-4.00   sec   110 MBytes   925 Mbits/sec    0    532 KBytes
[  4]   4.00-5.00   sec   110 MBytes   922 Mbits/sec    0    622 KBytes
[  4]   5.00-6.00   sec   110 MBytes   926 Mbits/sec    0    653 KBytes
[  4]   6.00-7.00   sec   110 MBytes   925 Mbits/sec    0    691 KBytes
[  4]   7.00-8.00   sec   110 MBytes   926 Mbits/sec    0    725 KBytes
[  4]   8.00-9.00   sec   110 MBytes   925 Mbits/sec    0    725 KBytes
[  4]   9.00-10.00  sec   110 MBytes   924 Mbits/sec    0    783 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.07 GBytes   923 Mbits/sec    0             sender
[  4]   0.00-10.00  sec  1.07 GBytes   921 Mbits/sec                  receiver

iperf Done.

root@xu4a:~# iperf3 -c 192.168.1.210
Connecting to host 192.168.1.210, port 5201
[  4] local 192.168.1.90 port 60208 connected to 192.168.1.210 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   109 MBytes   915 Mbits/sec    0    437 KBytes
[  4]   1.00-2.00   sec   110 MBytes   925 Mbits/sec    0    437 KBytes
[  4]   2.00-3.00   sec   110 MBytes   926 Mbits/sec    0    485 KBytes
[  4]   3.00-4.00   sec   110 MBytes   926 Mbits/sec    0    537 KBytes
[  4]   4.00-5.00   sec   111 MBytes   930 Mbits/sec    0    716 KBytes
[  4]   5.00-6.00   sec   110 MBytes   925 Mbits/sec    0    716 KBytes
[  4]   6.00-7.00   sec   110 MBytes   926 Mbits/sec    0    716 KBytes
[  4]   7.00-8.00   sec   109 MBytes   914 Mbits/sec    0    788 KBytes
[  4]   8.00-9.00   sec   110 MBytes   926 Mbits/sec    0    788 KBytes
[  4]   9.00-10.00  sec   110 MBytes   926 Mbits/sec    0    788 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.08 GBytes   924 Mbits/sec    0             sender
[  4]   0.00-10.00  sec  1.07 GBytes   922 Mbits/sec                  receiver

iperf Done.

domih
Posts: 20
Joined: Mon Feb 11, 2019 4:48 pm
languages_spoken: English, French
ODROIDs: UX4, HC2, N2, Pi 3 B+
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: Am I doing something wrong?

Unread post by domih » Tue Apr 16, 2019 4:56 pm

@mad_ady <<...Try measuring upload speed as well with -d (dualtest). If it's larger for N2 than download the reason might be that network irq is assigned to a little core instead of a big core. XU4 has had some tweaks in this regard (see /bin/odroid-tweaks)...>>

Mmm... in iperf3, -d is for debug. So I instead did:

N2

Code: Select all

root@n2a:~# iperf3 -R -c 192.168.1.210
Connecting to host 192.168.1.210, port 5201
Reverse mode, remote host 192.168.1.210 is sending
[  4] local 192.168.1.95 port 59236 connected to 192.168.1.210 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  76.5 MBytes   641 Mbits/sec
[  4]   1.00-2.00   sec  97.2 MBytes   815 Mbits/sec
[  4]   2.00-3.00   sec  98.4 MBytes   825 Mbits/sec
[  4]   3.00-4.00   sec  90.5 MBytes   759 Mbits/sec
[  4]   4.00-5.00   sec   102 MBytes   858 Mbits/sec
[  4]   5.00-6.00   sec  95.7 MBytes   803 Mbits/sec
[  4]   6.00-7.00   sec  98.5 MBytes   827 Mbits/sec
[  4]   7.00-8.00   sec  90.2 MBytes   757 Mbits/sec
[  4]   8.00-9.00   sec  97.1 MBytes   814 Mbits/sec
[  4]   9.00-10.00  sec  96.2 MBytes   807 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   945 MBytes   793 Mbits/sec  196             sender
[  4]   0.00-10.00  sec   945 MBytes   793 Mbits/sec                  receiver

iperf Done.
XU4

Code: Select all

root@xu4a:~# iperf3 -R -c 192.168.1.210
Connecting to host 192.168.1.210, port 5201
Reverse mode, remote host 192.168.1.210 is sending
[  4] local 192.168.1.90 port 60212 connected to 192.168.1.210 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec   103 MBytes   863 Mbits/sec
[  4]   1.00-2.00   sec   109 MBytes   916 Mbits/sec
[  4]   2.00-3.00   sec   106 MBytes   889 Mbits/sec
[  4]   3.00-4.00   sec   106 MBytes   883 Mbits/sec
[  4]   4.00-5.00   sec   107 MBytes   903 Mbits/sec
[  4]   5.00-6.00   sec   108 MBytes   903 Mbits/sec
[  4]   6.00-7.00   sec   109 MBytes   911 Mbits/sec
[  4]   7.00-8.00   sec   110 MBytes   925 Mbits/sec
[  4]   8.00-9.00   sec   105 MBytes   881 Mbits/sec
[  4]   9.00-10.00  sec   111 MBytes   928 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.05 GBytes   902 Mbits/sec  876             sender
[  4]   0.00-10.00  sec  1.05 GBytes   901 Mbits/sec                  receiver

iperf Done.
Then I totally reversed the roles N2 and UX4 as server, other server as client.
(repeated 3 times, I only give the results of the 3rd iteration)

N2

Code: Select all

root@ubuntu:~# iperf3 -c n2a
Connecting to host n2a, port 5201
[  4] local 192.168.1.210 port 46432 connected to 192.168.1.95 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.01   sec  81.0 MBytes   675 Mbits/sec    2    684 KBytes       
[  4]   1.01-2.00   sec  98.8 MBytes   832 Mbits/sec    0    759 KBytes       
[  4]   2.00-3.01   sec   105 MBytes   876 Mbits/sec    5    608 KBytes       
[  4]   3.01-4.01   sec  91.2 MBytes   764 Mbits/sec    0    676 KBytes       
[  4]   4.01-5.01   sec  96.2 MBytes   810 Mbits/sec    0    731 KBytes       
[  4]   5.01-6.01   sec   102 MBytes   855 Mbits/sec   37    566 KBytes       
[  4]   6.01-7.01   sec   102 MBytes   864 Mbits/sec    0    679 KBytes       
[  4]   7.01-8.01   sec   104 MBytes   865 Mbits/sec    0    728 KBytes       
[  4]   8.01-9.03   sec  86.2 MBytes   712 Mbits/sec   10    547 KBytes       
[  4]   9.03-10.00  sec  90.0 MBytes   773 Mbits/sec    0    632 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   957 MBytes   803 Mbits/sec   54             sender
[  4]   0.00-10.00  sec   955 MBytes   800 Mbits/sec                  receiver

iperf Done.

XU4

Code: Select all

root@ubuntu:~# iperf3 -c xu4a
Connecting to host xu4a, port 5201
[  4] local 192.168.1.210 port 53902 connected to 192.168.1.90 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.01   sec  98.9 MBytes   823 Mbits/sec  361    457 KBytes       
[  4]   1.01-2.01   sec   105 MBytes   880 Mbits/sec   98    421 KBytes       
[  4]   2.01-3.01   sec   112 MBytes   944 Mbits/sec  142    349 KBytes       
[  4]   3.01-4.00   sec   107 MBytes   905 Mbits/sec  147    332 KBytes       
[  4]   4.00-5.01   sec   102 MBytes   854 Mbits/sec  141    325 KBytes       
[  4]   5.01-6.01   sec   109 MBytes   913 Mbits/sec    0    471 KBytes       
[  4]   6.01-7.00   sec   110 MBytes   929 Mbits/sec    0    471 KBytes       
[  4]   7.00-8.00   sec   111 MBytes   932 Mbits/sec    0    471 KBytes       
[  4]   8.00-9.01   sec   110 MBytes   920 Mbits/sec    0    471 KBytes       
[  4]   9.01-10.00  sec   111 MBytes   935 Mbits/sec    0    471 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.05 GBytes   903 Mbits/sec  889             sender
[  4]   0.00-10.00  sec  1.05 GBytes   903 Mbits/sec                  receiver

iperf Done.

domih
Posts: 20
Joined: Mon Feb 11, 2019 4:48 pm
languages_spoken: English, French
ODROIDs: UX4, HC2, N2, Pi 3 B+
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by domih » Thu Apr 18, 2019 7:22 pm

Behold dear forum members. The slightly slower speed on the N2 is with Ubuntu Mate started in multi-user mode (no X running). I installed a Ubuntu Minimal(*) and ran the same tests and it is much much better. See attached screenshot.

(*) Mate tests were made with OS on eMMC. Minimal tests were made with OS on SD card.

So now the question is: what is different between the Mate and Minimal version in regard to network speed?

Anybody?
Attachments
20190418_023647.jpg
20190418_023647.jpg (267.72 KiB) Viewed 700 times

User avatar
mad_ady
Posts: 5830
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 67 times
Been thanked: 41 times
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by mad_ady » Thu Apr 18, 2019 8:06 pm

Hmm, do you get slow speed when mate is stopped as well (sudo service lightdm stop)
These users thanked the author mad_ady for the post:
domih (Fri Apr 19, 2019 6:12 pm)

User avatar
odroid
Site Admin
Posts: 30638
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 13 times
Been thanked: 91 times
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by odroid » Thu Apr 18, 2019 9:02 pm

Did you update the uboot with "apt update && upgrade" after flashing the minimal image?
These users thanked the author odroid for the post:
domih (Fri Apr 19, 2019 5:44 pm)

domih
Posts: 20
Joined: Mon Feb 11, 2019 4:48 pm
languages_spoken: English, French
ODROIDs: UX4, HC2, N2, Pi 3 B+
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by domih » Fri Apr 19, 2019 4:29 pm

odroid wrote:
Thu Apr 18, 2019 9:02 pm
Did you update the uboot with "apt update && upgrade" after flashing the minimal image?
Yes, I did. <-- Strike that, see next post.
Last edited by domih on Fri Apr 19, 2019 5:39 pm, edited 2 times in total.

User avatar
odroid
Site Admin
Posts: 30638
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 13 times
Been thanked: 91 times
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by odroid » Fri Apr 19, 2019 4:41 pm

How was the iperf test result on the Mate image after updating the u-boot?

domih
Posts: 20
Joined: Mon Feb 11, 2019 4:48 pm
languages_spoken: English, French
ODROIDs: UX4, HC2, N2, Pi 3 B+
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by domih » Fri Apr 19, 2019 5:42 pm

@odroid: I repeated the whole thing. The speed falls down after the apt update && apt upgrade and Ubuntu Minimal performs like Ubuntu Mate, ranging at 835.8 Mbits/sec (average) 838 (median) instead of (before the update) 943.4 Mbits/sec (average) 941.5 (median). So after the update the average speed declines to 89% of what is was.

N2 Ubuntu Mate (started in multi-user)(*)

(*) already fully updated.

Code: Select all

root@odroid:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic

root@odroid:~# systemctl list-unit-files | grep enabled | sort
ModemManager.service                       enabled
NetworkManager-dispatcher.service          enabled
NetworkManager-wait-online.service         enabled
NetworkManager.service                     enabled
apt-daily-upgrade.timer                    enabled
apt-daily.timer                            enabled
atd.service                                enabled
autovt@.service                            enabled
console-setup.service                      enabled
cron.service                               enabled
dbus-fi.w1.wpa_supplicant1.service         enabled
dbus-org.freedesktop.ModemManager1.service enabled
dbus-org.freedesktop.nm-dispatcher.service enabled
dbus-org.freedesktop.resolve1.service      enabled
fstrim.timer                               enabled
getty@.service                             enabled
keyboard-setup.service                     enabled
motd-news.timer                            enabled
network-manager.service                    enabled
networkd-dispatcher.service                enabled
ondemand.service                           enabled
pppd-dns.service                           enabled
rc-local.service                           enabled-runtime
rc.local.service                           enabled-runtime
remote-fs.target                           enabled
rsyslog.service                            enabled
setvtrgb.service                           enabled
ssh.service                                enabled
sshd.service                               enabled
syslog.service                             enabled
systemd-fsck-root.service                  enabled-runtime
systemd-resolved.service                   enabled
systemd-timesyncd.service                  enabled
wpa_supplicant.service                     enabled


root@odroid:~# iperf3 -c 192.168.1.210
Connecting to host 192.168.1.210, port 5201
[  4] local 192.168.1.245 port 47910 connected to 192.168.1.210 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  99.8 MBytes   836 Mbits/sec    0   4.74 MBytes
[  4]   1.00-2.00   sec   101 MBytes   849 Mbits/sec    0   5.67 MBytes
[  4]   2.00-3.03   sec  96.2 MBytes   787 Mbits/sec    0   5.67 MBytes
[  4]   3.03-4.05   sec   102 MBytes   844 Mbits/sec    0   5.67 MBytes
[  4]   4.05-5.00   sec  98.8 MBytes   868 Mbits/sec    0   5.67 MBytes
[  4]   5.00-6.00   sec   100 MBytes   839 Mbits/sec    0   5.67 MBytes
[  4]   6.00-7.00   sec  98.8 MBytes   827 Mbits/sec    0   5.67 MBytes
[  4]   7.00-8.00   sec  98.8 MBytes   830 Mbits/sec    0   5.67 MBytes
[  4]   8.00-9.00   sec   100 MBytes   837 Mbits/sec    0   5.88 MBytes
[  4]   9.00-10.00  sec   100 MBytes   841 Mbits/sec    0   5.88 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   996 MBytes   835 Mbits/sec    0             sender
[  4]   0.00-10.00  sec   993 MBytes   833 Mbits/sec                  receiver


N2 Ubuntu Minimal(*)

(*) Freshly re-installed to redo the testing.

Code: Select all

root@odroid:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic

root@odroid:~# systemctl list-unit-files | grep enabled | sort
ModemManager.service                       enabled
NetworkManager-dispatcher.service          enabled
NetworkManager-wait-online.service         enabled
NetworkManager.service                     enabled
apt-daily-upgrade.timer                    enabled
apt-daily.timer                            enabled
atd.service                                enabled
autovt@.service                            enabled
console-setup.service                      enabled
cron.service                               enabled
dbus-fi.w1.wpa_supplicant1.service         enabled
dbus-org.freedesktop.ModemManager1.service enabled
dbus-org.freedesktop.nm-dispatcher.service enabled
dbus-org.freedesktop.resolve1.service      enabled
fstrim.timer                               enabled
getty@.service                             enabled
keyboard-setup.service                     enabled
motd-news.timer                            enabled
network-manager.service                    enabled
networkd-dispatcher.service                enabled
ondemand.service                           enabled
pppd-dns.service                           enabled
rc-local.service                           enabled-runtime
rc.local.service                           enabled-runtime
remote-fs.target                           enabled
rsyslog.service                            enabled
setvtrgb.service                           enabled
ssh.service                                enabled
sshd.service                               enabled
syslog.service                             enabled
systemd-fsck-root.service                  enabled-runtime
systemd-resolved.service                   enabled
systemd-timesyncd.service                  enabled
wpa_supplicant.service                     enabled
Note: The enabled services are the same on Minimal and Mate started in multi-user.

Code: Select all

root@odroid:~# iperf3 -c 192.168.1.210
Connecting to host 192.168.1.210, port 5201
[  4] local 192.168.1.245 port 42922 connected to 192.168.1.210 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   115 MBytes   961 Mbits/sec   47   2.07 MBytes
[  4]   1.00-2.00   sec   112 MBytes   942 Mbits/sec    0   2.07 MBytes
[  4]   2.00-3.00   sec   112 MBytes   941 Mbits/sec    0   2.07 MBytes
[  4]   3.00-4.00   sec   112 MBytes   942 Mbits/sec    0   2.07 MBytes
[  4]   4.00-5.00   sec   112 MBytes   941 Mbits/sec    0   2.07 MBytes
[  4]   5.00-6.00   sec   112 MBytes   941 Mbits/sec    0   2.07 MBytes
[  4]   6.00-7.00   sec   112 MBytes   941 Mbits/sec    0   2.07 MBytes
[  4]   7.00-8.00   sec   112 MBytes   942 Mbits/sec    0   2.07 MBytes
[  4]   8.00-9.00   sec   112 MBytes   942 Mbits/sec    0   2.07 MBytes
[  4]   9.00-10.00  sec   112 MBytes   941 Mbits/sec    0   2.07 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.10 GBytes   943 Mbits/sec   47             sender
[  4]   0.00-10.00  sec  1.09 GBytes   940 Mbits/sec                  receiver

iperf Done.

root@odroid:~# apt update
Get:1 http://deb.odroid.in/n2 bionic InRelease [1712 B]
Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Get:3 http://archive.canonical.com/ubuntu bionic InRelease [10.2 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]
Get:5 http://deb.odroid.in/n2 bionic/main arm64 Packages [1435 B]
Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB]
Get:7 http://archive.canonical.com/ubuntu bionic/partner Sources [1900 B]
Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse Sources [4612 B]
Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main Sources [260 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe Sources [234 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [469 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main Translation-en [214 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [749 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe Translation-en [261 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [2612 B]
Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse Translation-en [3556 B]
Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Sources [83.0 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse Sources [2744 B]
Get:20 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Sources [128 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [237 kB]
Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Translation-en [115 kB]
Get:23 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [242 kB]
Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Translation-en [137 kB]
Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [1696 B]
Get:26 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse Translation-en [2060 B]
Fetched 3413 kB in 3s (1290 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
36 packages can be upgraded. Run 'apt list --upgradable' to see them.

root@odroid:~# apt list --upgradable
Listing... Done
autopoint/bionic-updates,bionic-security 0.19.8.1-6ubuntu0.3 all [upgradable from: 0.19.8.1-6ubuntu0.1]
busybox-initramfs/bionic-updates,bionic-security 1:1.27.2-2ubuntu3.2 arm64 [upgradable from: 1:1.27.2-2ubuntu3.1]
console-setup/bionic-updates 1.178ubuntu2.8 all [upgradable from: 1.178ubuntu2.7]
console-setup-linux/bionic-updates 1.178ubuntu2.8 all [upgradable from: 1.178ubuntu2.7]
distro-info-data/bionic-updates 0.37ubuntu0.4 all [upgradable from: 0.37ubuntu0.3]
gettext/bionic-updates,bionic-security 0.19.8.1-6ubuntu0.3 arm64 [upgradable from: 0.19.8.1-6ubuntu0.1]
gettext-base/bionic-updates,bionic-security 0.19.8.1-6ubuntu0.3 arm64 [upgradable from: 0.19.8.1-6ubuntu0.1]
im-config/bionic-updates 0.34-1ubuntu1.3 all [upgradable from: 0.34-1ubuntu1.2]
keyboard-configuration/bionic-updates 1.178ubuntu2.8 all [upgradable from: 1.178ubuntu2.7]
libgettextpo0/bionic-updates,bionic-security 0.19.8.1-6ubuntu0.3 arm64 [upgradable from: 0.19.8.1-6ubuntu0.1]
libidn11/bionic-updates 1.33-2.1ubuntu1.2 arm64 [upgradable from: 1.33-2.1ubuntu1.1]
libjavascriptcoregtk-4.0-18/bionic-updates,bionic-security 2.24.1-0ubuntu0.18.04.1 arm64 [upgradable from: 2.22.6-0ubuntu0.18.04.1]
libnss-systemd/bionic-updates 237-3ubuntu10.20 arm64 [upgradable from: 237-3ubuntu10.15]
libntfs-3g88/bionic-updates,bionic-security 1:2017.3.23-2ubuntu0.18.04.2 arm64 [upgradable from: 1:2017.3.23-2ubuntu0.18.04.1]
libpam-systemd/bionic-updates 237-3ubuntu10.20 arm64 [upgradable from: 237-3ubuntu10.15]
libpolkit-agent-1-0/bionic-updates,bionic-security 0.105-20ubuntu0.18.04.5 arm64 [upgradable from: 0.105-20ubuntu0.18.04.4]
libpolkit-backend-1-0/bionic-updates,bionic-security 0.105-20ubuntu0.18.04.5 arm64 [upgradable from: 0.105-20ubuntu0.18.04.4]
libpolkit-gobject-1-0/bionic-updates,bionic-security 0.105-20ubuntu0.18.04.5 arm64 [upgradable from: 0.105-20ubuntu0.18.04.4]
libsdl2-2.0-0/bionic-updates 2.0.8+dfsg1-1ubuntu1.18.04.3 arm64 [upgradable from: 2.0.8]
libsystemd0/bionic-updates 237-3ubuntu10.20 arm64 [upgradable from: 237-3ubuntu10.15]
libudev-dev/bionic-updates 237-3ubuntu10.20 arm64 [upgradable from: 237-3ubuntu10.15]
libudev1/bionic-updates 237-3ubuntu10.20 arm64 [upgradable from: 237-3ubuntu10.15]
libunistring2/bionic-updates 0.9.9-0ubuntu2 arm64 [upgradable from: 0.9.9-0ubuntu1]
libwebkit2gtk-4.0-37/bionic-updates,bionic-security 2.24.1-0ubuntu0.18.04.1 arm64 [upgradable from: 2.22.6-0ubuntu0.18.04.1]
libxslt1.1/bionic-updates,bionic-security 1.1.29-5ubuntu0.1 arm64 [upgradable from: 1.1.29-5]
linux-libc-dev/bionic-updates,bionic-security 4.15.0-47.50 arm64 [upgradable from: 4.15.0-46.49]
linux-odroid-n2/unknown 4.9.168-24 arm64 [upgradable from: 4.9.162-22]
ntfs-3g/bionic-updates,bionic-security 1:2017.3.23-2ubuntu0.18.04.2 arm64 [upgradable from: 1:2017.3.23-2ubuntu0.18.04.1]
policykit-1/bionic-updates,bionic-security 0.105-20ubuntu0.18.04.5 arm64 [upgradable from: 0.105-20ubuntu0.18.04.4]
systemd/bionic-updates 237-3ubuntu10.20 arm64 [upgradable from: 237-3ubuntu10.15]
systemd-sysv/bionic-updates 237-3ubuntu10.20 arm64 [upgradable from: 237-3ubuntu10.15]
u-boot/unknown 20190416-62c7795-2 arm64 [upgradable from: 20190321-b9e9dbd-1]
ubuntu-minimal/bionic-updates 1.417.1 arm64 [upgradable from: 1.417]
udev/bionic-updates 237-3ubuntu10.20 arm64 [upgradable from: 237-3ubuntu10.15]
wget/bionic-updates,bionic-security 1.19.4-1ubuntu2.2 arm64 [upgradable from: 1.19.4-1ubuntu2.1]
wpasupplicant/bionic-updates,bionic-security 2:2.6-15ubuntu2.2 arm64 [upgradable from: 2:2.6-15ubuntu2.1]

root@odroid:~# apt upgrade
.../... shorten for clarity .../...

root@odroid:~# iperf3 -c 192.168.1.210
Connecting to host 192.168.1.210, port 5201
[  4] local 192.168.1.245 port 42936 connected to 192.168.1.210 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   115 MBytes   963 Mbits/sec  164   2.26 MBytes
[  4]   1.00-2.00   sec   112 MBytes   942 Mbits/sec    0   2.26 MBytes
[  4]   2.00-3.00   sec   112 MBytes   942 Mbits/sec    0   2.26 MBytes
[  4]   3.00-4.00   sec   112 MBytes   941 Mbits/sec    0   2.26 MBytes
[  4]   4.00-5.00   sec   112 MBytes   942 Mbits/sec    0   2.26 MBytes
[  4]   5.00-6.00   sec   112 MBytes   941 Mbits/sec    0   2.26 MBytes
[  4]   6.00-7.00   sec   112 MBytes   941 Mbits/sec    0   2.26 MBytes
[  4]   7.00-8.00   sec   112 MBytes   941 Mbits/sec    0   2.26 MBytes
[  4]   8.00-9.00   sec   112 MBytes   942 Mbits/sec    0   2.26 MBytes
[  4]   9.00-10.00  sec   112 MBytes   941 Mbits/sec    0   2.26 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.10 GBytes   944 Mbits/sec  164             sender
[  4]   0.00-10.00  sec  1.10 GBytes   941 Mbits/sec                  receiver

iperf Done.

root@odroid:~# shutdown -r now
.../...

root@odroid:~# iperf3 -c 192.168.1.210
Connecting to host 192.168.1.210, port 5201
[  4] local 192.168.1.245 port 54566 connected to 192.168.1.210 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   101 MBytes   848 Mbits/sec    0   3.58 MBytes
[  4]   1.00-2.00   sec  95.8 MBytes   805 Mbits/sec    0   4.25 MBytes
[  4]   2.00-3.00   sec  99.6 MBytes   835 Mbits/sec    0   6.04 MBytes
[  4]   3.00-4.00   sec   100 MBytes   838 Mbits/sec    0   6.04 MBytes
[  4]   4.00-5.02   sec  95.0 MBytes   787 Mbits/sec    0   6.04 MBytes
[  4]   5.02-6.00   sec   102 MBytes   870 Mbits/sec    0   6.04 MBytes
[  4]   6.00-7.00   sec   100 MBytes   840 Mbits/sec    0   6.04 MBytes
[  4]   7.00-8.02   sec  97.5 MBytes   806 Mbits/sec    0   6.04 MBytes
[  4]   8.02-9.00   sec   102 MBytes   872 Mbits/sec    0   6.04 MBytes
[  4]   9.00-10.00  sec   101 MBytes   849 Mbits/sec    0   6.04 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   996 MBytes   835 Mbits/sec    0             sender
[  4]   0.00-10.00  sec   992 MBytes   832 Mbits/sec                  receiver

iperf Done.
CONCLUSION: The speed falls down after the apt update && apt upgrade

User avatar
odroid
Site Admin
Posts: 30638
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 13 times
Been thanked: 91 times
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by odroid » Fri Apr 19, 2019 5:47 pm

Thank you the intensive test results.
We will investigate a root cause next week since it is already Friday evening in Korea.
These users thanked the author odroid for the post:
domih (Fri Apr 19, 2019 5:55 pm)

domih
Posts: 20
Joined: Mon Feb 11, 2019 4:48 pm
languages_spoken: English, French
ODROIDs: UX4, HC2, N2, Pi 3 B+
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by domih » Fri Apr 19, 2019 5:56 pm

Thank you very much. That's fine, I'm still evaluating so take your time. Have a very nice week-end!

User avatar
tobetter
Posts: 3251
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 17 times
Been thanked: 64 times
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by tobetter » Fri Apr 19, 2019 6:24 pm

domih wrote:
Fri Apr 19, 2019 5:56 pm
Thank you very much. That's fine, I'm still evaluating so take your time. Have a very nice week-end!
Have you check how CPU overhead is different between two?

domih
Posts: 20
Joined: Mon Feb 11, 2019 4:48 pm
languages_spoken: English, French
ODROIDs: UX4, HC2, N2, Pi 3 B+
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by domih » Fri Apr 19, 2019 7:09 pm

tobetter wrote:
Fri Apr 19, 2019 6:24 pm
domih wrote:
Fri Apr 19, 2019 5:56 pm
Thank you very much. That's fine, I'm still evaluating so take your time. Have a very nice week-end!
Have you check how CPU overhead is different between two?
Hi Tobetter, no I did not. If you tell me how to do this, I could try it.
Last edited by domih on Fri Apr 19, 2019 7:13 pm, edited 1 time in total.

domih
Posts: 20
Joined: Mon Feb 11, 2019 4:48 pm
languages_spoken: English, French
ODROIDs: UX4, HC2, N2, Pi 3 B+
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by domih » Fri Apr 19, 2019 7:13 pm

*** Deleted - Obsolete ***
Last edited by domih on Sun Apr 21, 2019 11:39 am, edited 2 times in total.

User avatar
tobetter
Posts: 3251
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 17 times
Been thanked: 64 times
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by tobetter » Fri Apr 19, 2019 7:53 pm

domih wrote:
Fri Apr 19, 2019 7:09 pm
tobetter wrote:
Fri Apr 19, 2019 6:24 pm
domih wrote:
Fri Apr 19, 2019 5:56 pm
Thank you very much. That's fine, I'm still evaluating so take your time. Have a very nice week-end!
Have you check how CPU overhead is different between two?
Hi Tobetter, no I did not. If you tell me how to do this, I could try it.
You can run htop.
These users thanked the author tobetter for the post:
domih (Sun Apr 21, 2019 11:39 am)

domih
Posts: 20
Joined: Mon Feb 11, 2019 4:48 pm
languages_spoken: English, French
ODROIDs: UX4, HC2, N2, Pi 3 B+
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by domih » Sun Apr 21, 2019 10:14 am

tobetter wrote:
Fri Apr 19, 2019 7:53 pm
domih wrote:
Fri Apr 19, 2019 7:09 pm
tobetter wrote:
Fri Apr 19, 2019 6:24 pm
domih wrote:
Fri Apr 19, 2019 5:56 pm
Thank you very much. That's fine, I'm still evaluating so take your time. Have a very nice week-end!
Have you check how CPU overhead is different between two?
Hi Tobetter, no I did not. If you tell me how to do this, I could try it.
You can run htop.
See attached screenshots. After upgrade and reboot, the cores are not used the same way.

Using ubuntu-18.04.2-4.9-minimal-odroid-n2-20190329.
Attachments
n2-ubuntu-minimal-after-upgrade-after-reboot.png
apt update && apt upgrade AFTER reboot. Speed reduced.
n2-ubuntu-minimal-after-upgrade-after-reboot.png (137.65 KiB) Viewed 450 times
n2-ubuntu-minimal-after-upgrade-before-reboot.png
apt update && apt upgrade BUT before reboot. Full speed.
n2-ubuntu-minimal-after-upgrade-before-reboot.png (142.38 KiB) Viewed 450 times
n2-ubuntu-minimal-before-upgrade.png
Stock install. Full speed.
n2-ubuntu-minimal-before-upgrade.png (133.08 KiB) Viewed 450 times
xu4.png
xu4.png (181.78 KiB) Viewed 450 times

domih
Posts: 20
Joined: Mon Feb 11, 2019 4:48 pm
languages_spoken: English, French
ODROIDs: UX4, HC2, N2, Pi 3 B+
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by domih » Sun Apr 21, 2019 11:42 am

tobetter wrote:
Fri Apr 19, 2019 7:53 pm
domih wrote:
Fri Apr 19, 2019 7:09 pm
tobetter wrote:
Fri Apr 19, 2019 6:24 pm
domih wrote:
Fri Apr 19, 2019 5:56 pm
Thank you very much. That's fine, I'm still evaluating so take your time. Have a very nice week-end!
Have you check how CPU overhead is different between two?
Hi Tobetter, no I did not. If you tell me how to do this, I could try it.
You can run htop.
And here it is for Ubuntu Mate. Same behavior.

Using ubuntu-18.04.2-4.9-mate-odroid-n2-20190325.
Attachments
n2-ubuntu-mate-before-upgrade.png
n2-ubuntu-mate-before-upgrade.png (406.35 KiB) Viewed 432 times
n2-ubuntu-mate-after-upgrade-before-reboot.png
n2-ubuntu-mate-after-upgrade-before-reboot.png (403.46 KiB) Viewed 432 times
n2-ubuntu-mate-after-upgrade-after-reboot.png
n2-ubuntu-mate-after-upgrade-after-reboot.png (415.54 KiB) Viewed 432 times

Raybuntu
Posts: 1362
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 12 times
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by Raybuntu » Thu Apr 25, 2019 2:03 pm

I'm not sure if that is related but for several days we are hunting an issue where video would slowdown occasionally. It all happened after we pulled HK linux updates to 4.9.168. after we revert that kernel update all seems to be fine to. Now I'm starting to wonder if this is related to Network speed.

Also what comes to mind is:
http://lists.infradead.org/pipermail/li ... 09324.html

It was for gxm not g12b but we also have a different irq type:

https://github.com/CoreELEC/linux-amlog ... .dtsi#L351

User avatar
tobetter
Posts: 3251
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 17 times
Been thanked: 64 times
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by tobetter » Thu Apr 25, 2019 2:08 pm

Raybuntu wrote:
Thu Apr 25, 2019 2:03 pm
I'm not sure if that is related but for several days we are hunting an issue where video would slowdown occasionally. It all happened after we pulled HK linux updates to 4.9.168. after we revert that kernel update all seems to be fine to. Now I'm starting to wonder if this is related to Network speed.

Also what comes to mind is:
http://lists.infradead.org/pipermail/li ... 09324.html

It was for gxm not g12b but we also have a different irq type:

https://github.com/CoreELEC/linux-amlog ... .dtsi#L351
Did you revert the whole commits of 4.9.168 to the previous version?
Can you point out the commit which does not make a problem?

Raybuntu
Posts: 1362
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 12 times
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by Raybuntu » Thu Apr 25, 2019 2:44 pm

tobetter wrote:
Thu Apr 25, 2019 2:08 pm
Raybuntu wrote:
Thu Apr 25, 2019 2:03 pm
I'm not sure if that is related but for several days we are hunting an issue where video would slowdown occasionally. It all happened after we pulled HK linux updates to 4.9.168. after we revert that kernel update all seems to be fine to. Now I'm starting to wonder if this is related to Network speed.

Also what comes to mind is:
http://lists.infradead.org/pipermail/li ... 09324.html

It was for gxm not g12b but we also have a different irq type:

https://github.com/CoreELEC/linux-amlog ... .dtsi#L351
Did you revert the whole commits of 4.9.168 to the previous version?
Can you point out the commit which does not make a problem?
We reverted the whole merge. It is hard to tell now because it's near 400 commits and these slowdowns need sometimes 2h to appear. We tested the last few days extensively. Not sure this is related but as it was said here that Ethernet performance went down after update I thought I mention it.
I will investigate further.

User avatar
tobetter
Posts: 3251
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 17 times
Been thanked: 64 times
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by tobetter » Thu Apr 25, 2019 2:57 pm

Raybuntu wrote:
Thu Apr 25, 2019 2:44 pm
tobetter wrote:
Thu Apr 25, 2019 2:08 pm
Raybuntu wrote:
Thu Apr 25, 2019 2:03 pm
I'm not sure if that is related but for several days we are hunting an issue where video would slowdown occasionally. It all happened after we pulled HK linux updates to 4.9.168. after we revert that kernel update all seems to be fine to. Now I'm starting to wonder if this is related to Network speed.

Also what comes to mind is:
http://lists.infradead.org/pipermail/li ... 09324.html

It was for gxm not g12b but we also have a different irq type:

https://github.com/CoreELEC/linux-amlog ... .dtsi#L351
Did you revert the whole commits of 4.9.168 to the previous version?
Can you point out the commit which does not make a problem?
We reverted the whole merge. It is hard to tell now because it's near 400 commits and these slowdowns need sometimes 2h to appear. We tested the last few days extensively. Not sure this is related but as it was said here that Ethernet performance went down after update I thought I mention it.
I will investigate further.
Well...I am not sure if there is a commit which causes the ethernet performance issue in the commits...the chance is not high, I guess...Let me see the logs again.
By any chance, if you can, would you please use this U-boot with Kernel 4.9.168 which cause the ethernet performance slowdown?
https://github.com/hardkernel/u-boot/re ... droidn2-20

I've asked the commit which changes IRQ type if this could be applied to G12B as well. I was not able to find out the type of IRQ in the datasheet...

Raybuntu
Posts: 1362
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 12 times
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by Raybuntu » Thu Apr 25, 2019 3:09 pm

If I recall correctly we pulled latest uboot from HK. I just looked at the commit tagged there and there is a bug/typo:

2150p60hz does not exist does it?

User avatar
tobetter
Posts: 3251
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 17 times
Been thanked: 64 times
Contact:

Re: [Half-solved, still need resolution] Am I doing something wrong? (speed over eth0)

Unread post by tobetter » Thu Apr 25, 2019 3:31 pm

Raybuntu wrote:
Thu Apr 25, 2019 3:09 pm
If I recall correctly we pulled latest uboot from HK. I just looked at the commit tagged there and there is a bug/typo:

2150p60hz does not exist does it?
Thanks, 2160p60hz is defined in HDMITX and the typo is fixed.

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests