WLAN-Pi / wlanpi-bridge

Mode to bridge WLAN Pi interfaces
MIT License
2 stars 0 forks source link

Low speed #1

Open lruizdeni opened 3 weeks ago

lruizdeni commented 3 weeks ago

The speed it's low when I connect the smartphone via usb to raspberry pi than when I connect directly to the device. Why it happened?

jiribrejcha commented 3 weeks ago

Can you share a bit more detail, please?

  1. What WLAN Pi model are you using?
  2. Are you bridging your smartphone's cellular internet connection to the WLAN Pi? Or to another device connected via Ethernet?
  3. How slow exactly? How do you measure throughput? You can browse to the WLAN Pi web UI and measure speed using LibreSpeed.
lruizdeni commented 3 weeks ago

What WLAN Pi model are you using?

Raspberry pi 3b+

Are you bridging your smartphone's cellular internet connection to the WLAN Pi?

Directly with usb to rpi

How slow exactly? How do you measure throughput?

On smartphone speed it's 500mb/s with Speedtest and try on device connect to eth rpi port measure 80mb/s

jiribrejcha commented 3 weeks ago

Thanks for checking. I tested things at my end as well.

Setup iPhone 15 Pro connected to cellular 5G MNO <-USB 3.0 port-> WLAN Pi R4 (RPi4)

Throughput From the Pi itself I can measure cellular internet speeds of up to 111 Mbps.

image

If I measure from the iPhone directly using Speedtest.net app, I get 184 Mbps. So we are potentially losing some speed somewhere.

36159648-405F-478F-B7E2-7B5E9B6435E0_1_201_a

Now, if I test throughput of the direct USB connection between the Pi and the iPhone (no internet involved), I get 121 Mbps. So it is the USB connection between the Pi and the iPhone handled by the Linux libimobiledevice library that is the bottleneck. Apparently, it doesn't handle more traffic than 121 Mbps.

98137E0B-9A97-424E-83C1-0CEE6A2E104E_1_102_o

I don't think there is much we can do from our end. If you want to explore libimobiledevice further, please let us know. Perhaps there is a newer version available.

lruizdeni commented 3 weeks ago

Thanks for the work.