Hi there,
I'm running imx-kernel 5.15.32 on a i.MX 8M Plus based custom board.
I have 2 nics:
# ethtool -i eth0
driver: fec
version: 5.15.60-tq+g03954e24f9ca-rt49-t
firmware-version:
expansion-rom-version:
bus-info: eth0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no
# ethtool -i eth1
driver: st_gmac
version: Jan_2016
firmware-version:
expansion-rom-version:
bus-info:
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no
I'm experiencing poor results (average, and mdev) when sending ping to eth0, and better results when pinging eth1:
ping eth0 results:
...
...
64 bytes from 90.0.0.2: icmp_seq=34463 ttl=63 time=1.02 ms
64 bytes from 90.0.0.2: icmp_seq=34464 ttl=63 time=0.949 ms
--- 90.0.0.2 ping statistics ---
100000 packets transmitted, 99999 received, 0.001% packet loss, time 107149ms
rtt min/avg/max/mdev = 0.131/0.852/12.708/0.388 ms, pipe 2
ping eth1 results
...
...
64 bytes from 90.0.0.2: icmp_seq=34463 ttl=63 time=0.447 ms
64 bytes from 90.0.0.2: icmp_seq=34464 ttl=63 time=0.401 ms
--- 90.0.0.2 ping statistics ---
100000 packets transmitted, 100000 received, 0% packet loss, time 100018ms
rtt min/avg/max/mdev = 0.205/0.411/8.626/0.045 ms
Why is eth0 ping time double than eth1?
What can I do in order to achieve better performance with eth0?
Thanks a lot,
Nir.