Bad performance: VIM3L 1Gbps Ethernet only get 320Mbps with Khadas official Android image

Which Khadas SBC do you use?


Which system do you use? Android, Ubuntu, OOWOW or others?

Khadas Android 9,

Which version of system do you use? Khadas official images, self built images, or others?

Khadas official images,

Please describe your issue below:

PC(Iperf3)====Ethernet cable========VIM3L (Iperf3)

DL TCP (PC ==> VIM3L): 940Mbps
DL UDP (PC ==> VIM3L): 320Mbps

320Mbps is VERY BAD performance. This issue is VERY CRITICAL. Please put it in priority.
Same issue exist on AOSP 12 + kernel 5.10.

While if image changed to Ubuntu 20.04 and keep others the same, the DL UDP can get 956Mbps.

Post a console log of your issue below:

@David_Zou VIM3/VIM3L Android 9.0 64bit V220719 Preview Rom Release
We just released Android 9.0 64 bit firmware. You can try it. In addition, you can also send out your test method. I’ll try it when I’m free.

Hi @goenjoy
The test is quite straightforward.

PC(Iperf3)====Ethernet cable========VIM3L(Iperf3)

Cmds on VIM3L:
sysctl -w net.core.rmem_max=2100000000
sysctl -w net.core.rmem_default=2100000000
sysctl -w net.core.wmem_max=2100000000
sysctl -w net.core.wmem_default=2100000000
iperf3 -s -fm

Cmds on PC:
sudo sysctl -w net.core.rmem_max=2100000000
sudo sysctl -w net.core.rmem_default=2100000000
sudo sysctl -w net.core.wmem_max=2100000000
sudo sysctl -w net.core.wmem_default=2100000000

For TCP:
$ iperf3 -c ip_of_vim3l_ether -t60 -fm -w4M -P4

For UDP:
$ iperf3 -c ip_of_vim3l_ether -t60 -fm -w4M -P4 -u -b250m

@goenjoy Can you replicate the issue?
Please let me know if you need more info.

@David_Zou What version do you use? The version you give doesn’t correspond to the board. The version corresponds to VIM3, and you say VIM3L. We have tested it and it is OK. See the following pictures:

We use VIM3L-64bit firmware verification. VIM3/VIM3L Android 9.0 64bit V220719 Preview Rom Release