Ax88179 slow transfer

Hi ,

I have opernwrt as vm on proxmox with bridge nic & ax88179 gigabit as usb ethernet

kmod-usb-net-asix-ax88179 installed . but its have slow tranfer measured by iperf3 as below result : 192.168.10.134 is ip for bridged Ethernet nic
iperf3 -c 192.168.10.134
Connecting to host 192.168.10.134, port 5201
[ 4] local 192.168.10.1 port 56757 connected to 192.168.10.134 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.04 sec 11.2 MBytes 90.1 Mbits/sec 19 24.0 KBytes
[ 4] 1.04-2.06 sec 11.2 MBytes 91.9 Mbits/sec 24 26.9 KBytes
[ 4] 2.06-3.05 sec 10.7 MBytes 90.7 Mbits/sec 18 29.7 KBytes
[ 4] 3.05-4.04 sec 10.7 MBytes 90.8 Mbits/sec 21 31.1 KBytes
[ 4] 4.04-5.06 sec 11.0 MBytes 90.4 Mbits/sec 19 25.5 KBytes
[ 4] 5.06-6.02 sec 10.4 MBytes 90.3 Mbits/sec 20 25.5 KBytes
[ 4] 6.02-7.09 sec 11.8 MBytes 91.8 Mbits/sec 25 24.0 KBytes
[ 4] 7.09-8.02 sec 9.88 MBytes 89.9 Mbits/sec 14 24.0 KBytes
[ 4] 8.02-9.06 sec 11.4 MBytes 91.2 Mbits/sec 26 28.3 KBytes
[ 4] 9.06-10.05 sec 10.9 MBytes 92.2 Mbits/sec 18 29.7 KBytes


[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.05 sec 109 MBytes 90.9 Mbits/sec 204 sender
[ 4] 0.00-10.05 sec 109 MBytes 90.9 Mbits/sec receiver

iperf Done.

==========
192.168.10.135 is ip for ax88179 usb ethernet
iperf3 -c 192.168.10.135
Connecting to host 192.168.10.135, port 5201
[ 4] local 192.168.10.1 port 60113 connected to 192.168.10.135 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 632 KBytes 5.18 Mbits/sec 0 56.6 KBytes
[ 4] 1.00-2.00 sec 577 KBytes 4.73 Mbits/sec 0 82.0 KBytes
[ 4] 2.00-3.00 sec 557 KBytes 4.56 Mbits/sec 0 102 KBytes
[ 4] 3.00-4.00 sec 557 KBytes 4.56 Mbits/sec 0 113 KBytes
[ 4] 4.00-5.00 sec 557 KBytes 4.56 Mbits/sec 0 122 KBytes
[ 4] 5.00-6.00 sec 560 KBytes 4.59 Mbits/sec 0 123 KBytes
[ 4] 6.00-7.00 sec 559 KBytes 4.58 Mbits/sec 0 123 KBytes
[ 4] 7.00-8.00 sec 560 KBytes 4.59 Mbits/sec 0 123 KBytes
[ 4] 8.00-9.00 sec 560 KBytes 4.59 Mbits/sec 0 123 KBytes
[ 4] 9.00-10.00 sec 560 KBytes 4.59 Mbits/sec 0 123 KBytes


[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 5.55 MBytes 4.65 Mbits/sec 0 sender
[ 4] 0.00-10.00 sec 5.53 MBytes 4.64 Mbits/sec receiver

openwrt 18.06.1 & snapshot same behavior .

Also i have tried same ethernet on Ubuntu with kernel 4.15.0-43 , its working good as expected so its not hardware problem .

So i think its kernel problem 4.14.90 "snapshot one" & below this version or kmod modules problem ?

Just to clarify , you think youve found a kernel bug or kmod bug? Maybe edit your thread’s title and put that in brackets . Ill preface this that i dont have knowledge if fixing kernel bugs, but will try assist with gathering info for others to help you.

  • What modules are being used during all openwrt variations youve tried so far? (Pastebin the output from dmesg somewhere)
  • What hardware devices is the kernel seeing (eg what does lspci -v show pre and post)
  • You mentioned this is running as a VM, anything else you can change to simplify/isolate this? Can you temporarily reserve full cpu, memory, and disk resources?
  • have you tried on an earlier openwrt version ?eg first 18.0 version? Same result?
  • have you tried on latest trunk snapshot version? (Double check lspci and lsmod and show differences first )

I have tried 17.06.1 lede with same issue

Did you tried to run "top" from terminal and watch at cpu usage?, maybe for some reason your out of cpu when
you doing the test!

Ended by assign usb ethernet as ethernet in the host then forward it to guest . that worked good for me

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.