06-19-2022, 09:11 PM
(This post was last modified: 06-19-2022, 09:13 PM by disctanger.)
I am working on https://wiki.pine64.org/wiki/PineCube#Pi...s_a_webcam section of PineCube wiki.
I am trying to get USB 2.0 port to reach maximum bandwidth with OTG port (Hi-Speed - 480 MegaBits/second) on PineCube device. Currently it is performing as Full-Speed (12.5 MegaBytes/second) usb port.
I have measured the speed and performance using iperf + g_ether kernel mod + OTG port (details below)
Official datasheet of PineCube (https://files.pine64.org/doc/datasheet/p...180123.pdf) tells that the port can perform up to 60 MegaBytes/second or 480 MegaBits/second.
UVC gadget (g_webcam module) is also performing at Full-Speed mode.
armbianmonitor tool output (detailed logs) : http://ix.io/40o2
My questions are:
I am trying to get USB 2.0 port to reach maximum bandwidth with OTG port (Hi-Speed - 480 MegaBits/second) on PineCube device. Currently it is performing as Full-Speed (12.5 MegaBytes/second) usb port.
I have measured the speed and performance using iperf + g_ether kernel mod + OTG port (details below)
Official datasheet of PineCube (https://files.pine64.org/doc/datasheet/p...180123.pdf) tells that the port can perform up to 60 MegaBytes/second or 480 MegaBits/second.
UVC gadget (g_webcam module) is also performing at Full-Speed mode.
Code:
root@pinecube:~/uvs-gadget# iperf3 -c 192.168.10.5 -f M
Connecting to host 192.168.10.5, port 5201
[ 5] local 192.168.10.2 port 38834 connected to 192.168.10.5 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 14.0 MBytes 14.0 MBytes/sec 0 133 KBytes
[ 5] 1.00-2.00 sec 12.9 MBytes 12.9 MBytes/sec 0 165 KBytes
[ 5] 2.00-3.01 sec 13.3 MBytes 13.3 MBytes/sec 0 165 KBytes
[ 5] 3.01-4.00 sec 13.7 MBytes 13.8 MBytes/sec 0 165 KBytes
[ 5] 4.00-5.00 sec 13.0 MBytes 13.0 MBytes/sec 0 175 KBytes
[ 5] 5.00-6.00 sec 13.6 MBytes 13.6 MBytes/sec 0 252 KBytes
[ 5] 6.00-7.00 sec 12.7 MBytes 12.7 MBytes/sec 0 252 KBytes
[ 5] 7.00-8.00 sec 12.6 MBytes 12.6 MBytes/sec 0 264 KBytes
[ 5] 8.00-9.00 sec 13.1 MBytes 13.1 MBytes/sec 0 431 KBytes
[ 5] 9.00-10.00 sec 12.9 MBytes 12.9 MBytes/sec 0 431 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 132 MBytes 13.2 MBytes/sec 0 sender
[ 5] 0.00-10.00 sec 131 MBytes 13.1 MBytes/sec receiver
iperf Done.
armbianmonitor tool output (detailed logs) : http://ix.io/40o2
My questions are:
- How can i reach high speed on USB 2.0 port. (probably too general)
- Could the issue be be related to USB drivers or Device Tree set up?