Hacker News new | ask | show | jobs
by arun-mani-j 915 days ago
On a similar note, can someone tell me what's the fastest (wireless) way to transfer files between two laptops on same network (i.e. hotspot)?

scp, rsync, wormhole give me only 2-3 mb/s.

For the context, I'm trying to transfer about 50-70 GB files.

What's causing the bottleneck here and what am I missing? Thanks in advance!

https://github.com/magic-wormhole/magic-wormhole

2 comments

Filezilla server + client is very fast and has a resume option
Are you transferring a large amount of small files?
No, it is a large zip file.
Are speed tests (e.g. speed.cloudflare.com) on both laptop also giving similar number?

If speed test result is much faster, the bottleneck could be the CPU incapable of encrypting/decrypting data fast enough using the default encryption method used by SCP/rsync. In that case, try unencrypted file transfer instead. Maybe just serve the file temporarily with `python -m http.server`

I shall check the speed on Cloudflare but the speed is not much improved on Python HTTP server too. :(
Then the issue might be in your wireless access point, maybe one of these:

- there is a max speed limit rule added to your access point to limit download/upload speed on one of your laptop. Remove them if you have access to the access point control panel, or use another access point

- the access point is overloaded, too many clients connected and its cpu can't keep up. Use another access point

- you are using 2.4Ghz band and it has a lot of interference in your area, try switching to 5Ghz or 6Ghz band if possible

- use adhoc transfer, directly connect to the other machine without using an access point: https://help.gnome.org/users/gnome-help/stable/net-wireless-...

Thank you! Shall check.

(Sorry for replying late, I forgot to check back for replies)