lkml.org 
[lkml]   [2020]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC,PATCH 2/2] net: stmmac: Change the tx clean lock
From
Date
Hi Jose,

From the test I did, there will be some improvement, an improvement of
tens Mbits/sec.

Before patch:
# iperf -c 192.168.1.102 -i 1 -t 10 -w 300K -u -b 1000M
------------------------------------------------------------
Client connecting to 192.168.1.102, UDP port 5001
Sending 1470 byte datagrams, IPG target: 11.76 us (kalman adjust)
UDP buffer size: 600 KByte (WARNING: requested 300 KByte)
------------------------------------------------------------
[ 3] local 192.168.1.103 port 45018 connected with 192.168.1.102 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 103 MBytes 862 Mbits/sec
[ 3] 1.0- 2.0 sec 104 MBytes 868 Mbits/sec
[ 3] 2.0- 3.0 sec 104 MBytes 869 Mbits/sec
[ 3] 3.0- 4.0 sec 104 MBytes 869 Mbits/sec
[ 3] 4.0- 5.0 sec 104 MBytes 870 Mbits/sec
[ 3] 5.0- 6.0 sec 104 MBytes 869 Mbits/sec
[ 3] 6.0- 7.0 sec 104 MBytes 869 Mbits/sec
[ 3] 7.0- 8.0 sec 104 MBytes 870 Mbits/sec
[ 3] 8.0- 9.0 sec 104 MBytes 871 Mbits/sec
[ 3] 0.0-10.0 sec 1.01 GBytes 869 Mbits/sec
[ 3] Sent 738834 datagrams


After patch:
# iperf -c 192.168.1.102 -i 1 -t 10 -w 300K -u -b 1000M
------------------------------------------------------------
Client connecting to 192.168.1.102, UDP port 5001
Sending 1470 byte datagrams, IPG target: 11.76 us (kalman adjust)
UDP buffer size: 600 KByte (WARNING: requested 300 KByte)
------------------------------------------------------------
[ 3] local 192.168.1.103 port 35654 connected with 192.168.1.102 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 114 MBytes 953 Mbits/sec
[ 3] 1.0- 2.0 sec 114 MBytes 956 Mbits/sec
[ 3] 2.0- 3.0 sec 115 MBytes 962 Mbits/sec
[ 3] 3.0- 4.0 sec 114 MBytes 955 Mbits/sec
[ 3] 4.0- 5.0 sec 114 MBytes 957 Mbits/sec
[ 3] 5.0- 6.0 sec 114 MBytes 957 Mbits/sec
[ 3] 6.0- 7.0 sec 114 MBytes 955 Mbits/sec
[ 3] 7.0- 8.0 sec 114 MBytes 956 Mbits/sec
[ 3] 8.0- 9.0 sec 114 MBytes 955 Mbits/sec
[ 3] 0.0- 9.9 sec 1.10 GBytes 957 Mbits/sec
[ 3] Sent 804442 datagrams


在 2020/4/13 下午10:31, Jose Abreu 写道:
> From: David Wu <david.wu@rock-chips.com>
> Date: Mar/24/2020, 09:38:28 (UTC+00:00)
>
>> At tx clean, use a frozen queue instead of blocking
>> the current queue, could still queue skb, which improve
>> performance.
>
> Please provide performance improvement numbers.
>
> ---
> Thanks,
> Jose Miguel Abreu
>
>
>
>


\
 
 \ /
  Last update: 2020-04-16 13:41    [W:0.085 / U:0.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site