lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 25 Feb 2023 22:56:09 +0300
From:   Arınç ÜNAL <arinc.unal@...nc9.com>
To:     Frank Wunderlich <frank-w@...lic-files.de>,
        Vladimir Oltean <olteanv@...il.com>
Cc:     netdev <netdev@...r.kernel.org>, erkin.bozoglu@...ont.com,
        Andrew Lunn <andrew@...n.ch>,
        Florian Fainelli <f.fainelli@...il.com>,
        Felix Fietkau <nbd@....name>, John Crispin <john@...ozen.org>,
        Mark Lee <Mark-MC.Lee@...iatek.com>,
        Lorenzo Bianconi <lorenzo@...nel.org>,
        Matthias Brugger <matthias.bgg@...il.com>,
        Landen Chao <Landen.Chao@...iatek.com>,
        Sean Wang <sean.wang@...iatek.com>,
        DENG Qingfang <dqfext@...il.com>
Subject: Re: Aw: Re: Choose a default DSA CPU port

On 25.02.2023 19:11, Arınç ÜNAL wrote:
> On 25.02.2023 16:50, Frank Wunderlich wrote:
>> Hi
>>
>>> Gesendet: Freitag, 24. Februar 2023 um 22:08 Uhr
>>> Von: "Vladimir Oltean" <olteanv@...il.com>
>>
>>> On Fri, Feb 24, 2023 at 09:44:43PM +0100, Frank Wunderlich wrote:
>>>> 6.1.12 is clean and i get 940 Mbit/s over gmac0/port6
>>>
>>> Sounds like something which could be bisected?
>>
>> managed to do a full bisect...
>>
>> most steps needed the fix from Vladimir 
>> (1a3245fe0cf84e630598da4ab110a5f8a2d6730d net: ethernet: mtk_eth_soc: 
>> fix DSA TX tag hwaccel for switch port 0)
>>
>> here is the result:
>>
>> f63959c7eec3151c30a2ee0d351827b62e742dcb is the first bad commit
> 
> Thanks a lot for finding this. I can confirm reverting this fixes the 
> low throughput on my Bananapi BPI-R2 as well.
> 
> $ iperf3 -c 192.168.2.1 -R
> Connecting to host 192.168.2.1, port 5201
> Reverse mode, remote host 192.168.2.1 is sending
> [  5] local 192.168.2.2 port 56840 connected to 192.168.2.1 port 5201
> [ ID] Interval           Transfer     Bitrate
> [  5]   0.00-1.00   sec  74.6 MBytes   626 Mbits/sec
> [  5]   1.00-2.00   sec  74.4 MBytes   624 Mbits/sec
> [  5]   2.00-3.00   sec  74.4 MBytes   624 Mbits/sec
> [  5]   3.00-4.00   sec  74.3 MBytes   624 Mbits/sec
> [  5]   4.00-5.00   sec  74.4 MBytes   624 Mbits/sec
> [  5]   5.00-6.00   sec  74.3 MBytes   623 Mbits/sec
> [  5]   6.00-7.00   sec  74.4 MBytes   624 Mbits/sec
> [  5]   7.00-8.00   sec  74.3 MBytes   623 Mbits/sec
> [  5]   8.00-9.00   sec  74.4 MBytes   624 Mbits/sec
> [  5]   9.00-10.00  sec  74.3 MBytes   624 Mbits/sec
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bitrate         Retr
> [  5]   0.00-10.00  sec   745 MBytes   625 Mbits/sec    0             
> sender
> [  5]   0.00-10.00  sec   744 MBytes   624 Mbits/sec receiver
> 
> After reverting f63959c7eec3151c30a2ee0d351827b62e742dcb (and removing 
> the lines that appeared on HEAD which caused a conflict):
> 
> $ iperf3 -c 192.168.2.1 -R
> Connecting to host 192.168.2.1, port 5201
> Reverse mode, remote host 192.168.2.1 is sending
> [  5] local 192.168.2.2 port 36364 connected to 192.168.2.1 port 5201
> [ ID] Interval           Transfer     Bitrate
> [  5]   0.00-1.00   sec   112 MBytes   938 Mbits/sec
> [  5]   1.00-2.00   sec   112 MBytes   939 Mbits/sec
> [  5]   2.00-3.00   sec   112 MBytes   939 Mbits/sec
> [  5]   3.00-4.00   sec   112 MBytes   939 Mbits/sec
> [  5]   4.00-5.00   sec   112 MBytes   939 Mbits/sec
> [  5]   5.00-6.00   sec   112 MBytes   939 Mbits/sec
> [  5]   6.00-7.00   sec   112 MBytes   939 Mbits/sec
> [  5]   7.00-8.00   sec   112 MBytes   939 Mbits/sec
> [  5]   8.00-9.00   sec   112 MBytes   939 Mbits/sec
> [  5]   9.00-10.00  sec   112 MBytes   939 Mbits/sec
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bitrate         Retr
> [  5]   0.00-10.00  sec  1.09 GBytes   940 Mbits/sec    0             
> sender
> [  5]   0.00-10.00  sec  1.09 GBytes   939 Mbits/sec receiver

Just tested on an MT7621 Unielec U7621-06 board. MT7621 is not affected.

$ iperf3 -c 192.168.2.1 -R
Connecting to host 192.168.2.1, port 5201
Reverse mode, remote host 192.168.2.1 is sending
[  5] local 192.168.2.2 port 38946 connected to 192.168.2.1 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  96.5 MBytes   809 Mbits/sec
[  5]   1.00-2.00   sec  97.6 MBytes   819 Mbits/sec
[  5]   2.00-3.00   sec  91.5 MBytes   767 Mbits/sec
[  5]   3.00-4.00   sec  91.7 MBytes   769 Mbits/sec
[  5]   4.00-5.00   sec  90.8 MBytes   762 Mbits/sec
[  5]   5.00-6.00   sec  91.3 MBytes   766 Mbits/sec
[  5]   6.00-7.00   sec  91.5 MBytes   768 Mbits/sec
[  5]   7.00-8.00   sec  93.9 MBytes   788 Mbits/sec
[  5]   8.00-9.00   sec  93.8 MBytes   787 Mbits/sec
[  5]   9.00-10.00  sec  93.3 MBytes   783 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.01  sec   932 MBytes   782 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   932 MBytes   782 Mbits/sec 
receiver

After reverting:

$ iperf3 -c 192.168.2.1 -R
Connecting to host 192.168.2.1, port 5201
Reverse mode, remote host 192.168.2.1 is sending
[  5] local 192.168.2.2 port 57204 connected to 192.168.2.1 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  92.7 MBytes   778 Mbits/sec
[  5]   1.00-2.00   sec  94.0 MBytes   788 Mbits/sec
[  5]   2.00-3.00   sec  93.4 MBytes   783 Mbits/sec
[  5]   3.00-4.00   sec  92.0 MBytes   772 Mbits/sec
[  5]   4.00-5.00   sec  92.0 MBytes   772 Mbits/sec
[  5]   5.00-6.00   sec  92.8 MBytes   779 Mbits/sec
[  5]   6.00-7.00   sec  92.4 MBytes   775 Mbits/sec
[  5]   7.00-8.00   sec  92.1 MBytes   773 Mbits/sec
[  5]   8.00-9.00   sec  92.7 MBytes   777 Mbits/sec
[  5]   9.00-10.00  sec  94.3 MBytes   791 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   929 MBytes   779 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   928 MBytes   779 Mbits/sec 
receiver

Arınç

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ