From: Simon Huelck <simonmail@gmx.de>
To: Jose Abreu <jose.abreu@synopsys.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: Emiliano Ingrassia <ingrassia@epigenesys.com>,
Gpeppe.cavallaro@st.com, alexandre.torgue@st.com,
linux-amlogic@lists.infradead.org, netdev@vger.kernel.org
Subject: Re: stmmac / meson8b-dwmac
Date: Mon, 18 Feb 2019 19:05:42 +0100 [thread overview]
Message-ID: <cd0b3dec-af3f-af69-50b7-6ca6f7256900@gmx.de> (raw)
In-Reply-To: <adafe6d7-e619-45e9-7ecb-76f003b0c7d9@synopsys.com>
[-- Attachment #1: Type: text/plain, Size: 2787 bytes --]
Am 18.02.2019 um 18:05 schrieb Jose Abreu:
> On 2/18/2019 4:51 PM, Simon Huelck wrote:
>> Hi,
>>
>> no im testing vanilla mainline kernel and against 4.14. where
>> performance was ok. but turning off EEE via ethtool should have same
>> results than removal of that patch.
>>
>> But, since it was mainlined recently , not long ago, i think this was
>> tested ??
> The thing is that phy_init_eee() is called by stmmac and this
> function does not take into account the broken modes if it's
> called too early which will cause driver to enable LPI in MAC.
>
> And anyway, if you have lpi values in the ethtool stats then EEE
> is being enabled by stmmac.
>
> Please try the change I suggested.
>
> Thanks,
> Jose Miguel Abreu
Hi,
disabling EEE doesnt help ( did it via the entry in the .dtb / .dts ),
the results are the same. I can confirm the LPI counters are zero or one
only after the test.....
C:\Users\Simon\Downloads\iperf-2.0.9-win64>iperf -c 10.10.11.1 -i1 -d
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 208 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 10.10.11.1, TCP port 5001
TCP window size: 208 KByte (default)
------------------------------------------------------------
[ 4] local 10.10.11.100 port 56114 connected with 10.10.11.1 port 5001
[ 5] local 10.10.11.100 port 5001 connected with 10.10.11.1 port 47866
[ ID] Interval Transfer Bandwidth
[ 4] 0.0- 1.0 sec 20.1 MBytes 169 Mbits/sec
[ 5] 0.0- 1.0 sec 75.8 MBytes 635 Mbits/sec
[ 4] 1.0- 2.0 sec 18.1 MBytes 152 Mbits/sec
[ 5] 1.0- 2.0 sec 69.0 MBytes 579 Mbits/sec
[ 4] 2.0- 3.0 sec 15.6 MBytes 131 Mbits/sec
[ 5] 2.0- 3.0 sec 70.7 MBytes 593 Mbits/sec
[ 4] 3.0- 4.0 sec 15.9 MBytes 133 Mbits/sec
[ 5] 3.0- 4.0 sec 70.3 MBytes 590 Mbits/sec
[ 4] 4.0- 5.0 sec 16.4 MBytes 137 Mbits/sec
[ 5] 4.0- 5.0 sec 69.5 MBytes 583 Mbits/sec
[ 4] 5.0- 6.0 sec 16.5 MBytes 138 Mbits/sec
[ 5] 5.0- 6.0 sec 69.0 MBytes 579 Mbits/sec
[ 4] 6.0- 7.0 sec 18.2 MBytes 153 Mbits/sec
[ 5] 6.0- 7.0 sec 69.8 MBytes 585 Mbits/sec
[ 4] 7.0- 8.0 sec 15.6 MBytes 131 Mbits/sec
[ 5] 7.0- 8.0 sec 70.0 MBytes 587 Mbits/sec
[ 4] 8.0- 9.0 sec 16.2 MBytes 136 Mbits/sec
[ 5] 8.0- 9.0 sec 69.6 MBytes 583 Mbits/sec
[ 4] 9.0-10.0 sec 17.1 MBytes 144 Mbits/sec
[ 4] 0.0-10.0 sec 170 MBytes 142 Mbits/sec
[ 5] 9.0-10.0 sec 69.1 MBytes 580 Mbits/sec
[ 5] 0.0-10.0 sec 703 MBytes 589 Mbits/sec
regards,
Simon
[-- Attachment #2: ethtool_test2.txt --]
[-- Type: text/plain, Size: 5373 bytes --]
NIC statistics:
mmc_tx_octetcount_gb: 0
mmc_tx_framecount_gb: 0
mmc_tx_broadcastframe_g: 0
mmc_tx_multicastframe_g: 0
mmc_tx_64_octets_gb: 0
mmc_tx_65_to_127_octets_gb: 0
mmc_tx_128_to_255_octets_gb: 0
mmc_tx_256_to_511_octets_gb: 0
mmc_tx_512_to_1023_octets_gb: 0
mmc_tx_1024_to_max_octets_gb: 0
mmc_tx_unicast_gb: 0
mmc_tx_multicast_gb: 0
mmc_tx_broadcast_gb: 0
mmc_tx_underflow_error: 0
mmc_tx_singlecol_g: 0
mmc_tx_multicol_g: 0
mmc_tx_deferred: 0
mmc_tx_latecol: 0
mmc_tx_exesscol: 0
mmc_tx_carrier_error: 0
mmc_tx_octetcount_g: 0
mmc_tx_framecount_g: 0
mmc_tx_excessdef: 0
mmc_tx_pause_frame: 0
mmc_tx_vlan_frame_g: 0
mmc_rx_framecount_gb: 2348653
mmc_rx_octetcount_gb: 3299190414
mmc_rx_octetcount_g: 3299190413
mmc_rx_broadcastframe_g: 92816
mmc_rx_multicastframe_g: 249
mmc_rx_crc_error: 2
mmc_rx_align_error: 0
mmc_rx_run_error: 2
mmc_rx_jabber_error: 0
mmc_rx_undersize_g: 0
mmc_rx_oversize_g: 0
mmc_rx_64_octets_gb: 0
mmc_rx_65_to_127_octets_gb: 172809
mmc_rx_128_to_255_octets_gb: 15902
mmc_rx_256_to_511_octets_gb: 659
mmc_rx_512_to_1023_octets_gb: 370
mmc_rx_1024_to_max_octets_gb: 2158911
mmc_rx_unicast_g: 2255586
mmc_rx_length_error: 2
mmc_rx_autofrangetype: 0
mmc_rx_pause_frames: 0
mmc_rx_fifo_overflow: 2924
mmc_rx_vlan_frames_gb: 2348591
mmc_rx_watchdog_error: 0
mmc_rx_ipc_intr_mask: 4294377460
mmc_rx_ipc_intr: 0
mmc_rx_ipv4_gd: 2255929
mmc_rx_ipv4_hderr: 0
mmc_rx_ipv4_nopay: 21
mmc_rx_ipv4_frag: 0
mmc_rx_ipv4_udsbl: 1
mmc_rx_ipv4_gd_octets: 3242768541
mmc_rx_ipv4_hderr_octets: 0
mmc_rx_ipv4_nopay_octets: 982
mmc_rx_ipv4_frag_octets: 0
mmc_rx_ipv4_udsbl_octets: 12
mmc_rx_ipv6_gd_octets: 20851
mmc_rx_ipv6_hderr_octets: 0
mmc_rx_ipv6_nopay_octets: 0
mmc_rx_ipv6_gd: 93
mmc_rx_ipv6_hderr: 0
mmc_rx_ipv6_nopay: 0
mmc_rx_udp_gd: 1942
mmc_rx_udp_err: 0
mmc_rx_tcp_gd: 2254045
mmc_rx_tcp_err: 0
mmc_rx_icmp_gd: 34
mmc_rx_icmp_err: 0
mmc_rx_udp_gd_octets: 885355
mmc_rx_udp_err_octets: 0
mmc_rx_tcp_gd_octets: 3196780259
mmc_rx_tcp_err_octets: 0
mmc_rx_icmp_gd_octets: 1300
mmc_rx_icmp_err_octets: 0
tx_underflow: 0
tx_carrier: 0
tx_losscarrier: 0
vlan_tag: 2345667
tx_deferred: 0
tx_vlan: 655982
tx_jabber: 0
tx_frame_flushed: 0
tx_payload_error: 0
tx_ip_header_error: 0
rx_desc: 0
sa_filter_fail: 0
overflow_error: 0
ipc_csum_error: 0
rx_collision: 0
rx_crc_errors: 0
dribbling_bit: 0
rx_length: 0
rx_mii: 0
rx_multicast: 0
rx_gmac_overflow: 0
rx_watchdog: 0
da_rx_filter_fail: 0
sa_rx_filter_fail: 0
rx_missed_cntr: 0
rx_overflow_cntr: 0
rx_vlan: 0
tx_undeflow_irq: 0
tx_process_stopped_irq: 0
tx_jabber_irq: 0
rx_overflow_irq: 0
rx_buf_unav_irq: 0
rx_process_stopped_irq: 0
rx_watchdog_irq: 0
tx_early_irq: 0
fatal_bus_error_irq: 0
rx_early_irq: 20521
threshold: 1
tx_pkt_n: 655982
rx_pkt_n: 2345727
normal_irq_n: 227466
rx_normal_irq_n: 195493
napi_poll: 227438
tx_normal_irq_n: 28972
tx_clean: 227438
tx_set_ic_bit: 26239
irq_receive_pmt_irq_n: 0
mmc_tx_irq_n: 0
mmc_rx_irq_n: 0
mmc_rx_csum_offload_irq_n: 0
irq_tx_path_in_lpi_mode_n: 0
irq_tx_path_exit_lpi_mode_n: 0
irq_rx_path_in_lpi_mode_n: 1
irq_rx_path_exit_lpi_mode_n: 1
phy_eee_wakeup_error_n: 0
ip_hdr_err: 0
ip_payload_err: 0
ip_csum_bypassed: 0
ipv4_pkt_rcvd: 0
ipv6_pkt_rcvd: 0
no_ptp_rx_msg_type_ext: 0
ptp_rx_msg_type_sync: 0
ptp_rx_msg_type_follow_up: 0
ptp_rx_msg_type_delay_req: 0
ptp_rx_msg_type_delay_resp: 0
ptp_rx_msg_type_pdelay_req: 0
ptp_rx_msg_type_pdelay_resp: 0
ptp_rx_msg_type_pdelay_follow_up: 0
ptp_rx_msg_type_announce: 0
ptp_rx_msg_type_management: 0
ptp_rx_msg_pkt_reserved_type: 0
ptp_frame_type: 0
ptp_ver: 0
timestamp_dropped: 0
av_pkt_rcvd: 0
av_tagged_pkt_rcvd: 0
vlan_tag_priority_val: 0
l3_filter_match: 0
l4_filter_match: 0
l3_l4_filter_no_match: 0
irq_pcs_ane_n: 0
irq_pcs_link_n: 0
irq_rgmii_n: 0
mtl_tx_status_fifo_full: 0
mtl_tx_fifo_not_empty: 0
mmtl_fifo_ctrl: 0
mtl_tx_fifo_read_ctrl_write: 0
mtl_tx_fifo_read_ctrl_wait: 0
mtl_tx_fifo_read_ctrl_read: 0
mtl_tx_fifo_read_ctrl_idle: 0
mac_tx_in_pause: 0
mac_tx_frame_ctrl_xfer: 0
mac_tx_frame_ctrl_idle: 0
mac_tx_frame_ctrl_wait: 0
mac_tx_frame_ctrl_pause: 0
mac_gmii_tx_proto_engine: 0
mtl_rx_fifo_fill_level_full: 0
mtl_rx_fifo_fill_above_thresh: 0
mtl_rx_fifo_fill_below_thresh: 0
mtl_rx_fifo_fill_level_empty: 0
mtl_rx_fifo_read_ctrl_flush: 0
mtl_rx_fifo_read_ctrl_read_data: 0
mtl_rx_fifo_read_ctrl_status: 0
mtl_rx_fifo_read_ctrl_idle: 0
mtl_rx_fifo_ctrl_active: 0
mac_rx_frame_ctrl_fifo: 0
mac_gmii_rx_proto_engine: 0
tx_tso_frames: 0
tx_tso_nfrags: 0
next prev parent reply other threads:[~2019-02-18 18:06 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <a38e643c-ed9f-c306-cc95-84f70ebc1f10@gmx.de>
[not found] ` <CAFBinCDebPOsmrhSXecx48nGWHh7g_OGPbr1Y0M+n_v9Ht91ew@mail.gmail.com>
2019-01-17 21:23 ` stmmac / meson8b-dwmac Simon Huelck
2019-02-04 14:34 ` Martin Blumenstingl
2019-02-06 10:36 ` Emiliano Ingrassia
2019-02-06 18:04 ` Simon Huelck
2019-02-06 21:21 ` Simon Huelck
2019-02-07 19:30 ` Simon Huelck
2019-02-09 1:09 ` Martin Blumenstingl
2019-02-11 13:44 ` Jose Abreu
2019-02-14 7:21 ` Simon Huelck
2019-02-17 14:48 ` Martin Blumenstingl
2019-02-17 19:13 ` Simon Huelck
2019-02-18 8:42 ` Jose Abreu
2019-02-18 8:45 ` Jose Abreu
2019-02-18 12:33 ` Simon Huelck
2019-02-18 12:41 ` Jose Abreu
2019-02-18 13:02 ` Jose Abreu
2019-02-18 15:29 ` Simon Huelck
2019-02-18 15:31 ` Jose Abreu
2019-02-18 15:53 ` Simon Huelck
2019-02-18 16:26 ` Jose Abreu
2019-02-18 16:40 ` Simon Huelck
2019-02-18 16:43 ` Jose Abreu
2019-02-18 16:51 ` Simon Huelck
2019-02-18 17:05 ` Jose Abreu
2019-02-18 18:05 ` Simon Huelck [this message]
2019-02-19 8:47 ` Jose Abreu
2019-02-19 19:41 ` Simon Huelck
2019-02-21 14:21 ` Jerome Brunet
2019-02-21 17:27 ` Simon Huelck
2019-02-21 17:46 ` Jerome Brunet
2019-02-21 19:34 ` Simon Huelck
2019-02-22 17:21 ` Anand Moon
2019-02-24 15:00 ` Simon Huelck
2019-02-24 15:02 ` Simon Huelck
2019-02-24 19:42 ` Sebastian Gottschall
2019-02-24 20:34 ` Simon Huelck
2019-02-27 11:09 ` Jose Abreu
2019-02-27 19:02 ` Simon Huelck
2019-03-01 9:23 ` Jose Abreu
2019-03-05 9:55 ` Simon Huelck
2019-03-06 11:35 ` Simon Huelck
2019-03-06 11:45 ` Simon Huelck
2019-05-11 14:53 ` Simon Huelck
2019-05-13 9:07 ` Jose Abreu
2019-05-22 12:48 ` Simon Huelck
2019-05-22 14:02 ` Neil Armstrong
2019-02-27 21:03 ` Simon Huelck
2019-02-18 17:05 ` Simon Huelck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cd0b3dec-af3f-af69-50b7-6ca6f7256900@gmx.de \
--to=simonmail@gmx.de \
--cc=Gpeppe.cavallaro@st.com \
--cc=alexandre.torgue@st.com \
--cc=ingrassia@epigenesys.com \
--cc=jose.abreu@synopsys.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).