wolpi / prim-ftpd

FTP server app for android
Other
639 stars 81 forks source link

Much lower transfer rates over WiFi Direct than over router #219

Open HT-7 opened 3 years ago

HT-7 commented 3 years ago

If I transfer files via phone→router→PC, it reaches excellent 50 MB/s (downloaded using FileZilla), while phone→PC (hotspot hosted by phone) is only 10 MB/s, and phone→phone is only 2 MB/s.

Why does the speed vary so much?

Shouldn't it always be the highest speed? 2 MB/s is nothing compared to 50 MB/s.

It can not be caused signal strength, because the devices are in proximity of each other.

My closest guess is some Wi-Fi MIMO-related stuff where it connects to both 2.4 GHz and 5 GHz simultaneously (I have not examined that much yet), but it still does not explain the abysmal 2 MB/s compared to the 50 MB/s through router.

I don't think it is a bug of Primitive FTPd, but I just thought I should let you know.

wolpi commented 3 years ago

This sounds a lot like issues in network infrastructure

NightMachinery commented 3 years ago

Just using a single 5ghz connection is enough to reach ~70 MB/s, though the channel width needs to be big. Use an app like Wifi Explorer to check which channel your Wifi networks are on.