Repository navigation
SW2Transfer 1.4.3
Fixed
- Network stall under load. With more than about 12 connections open, the Switch's socket memory ran out and every connection on the console stalled (ftpd included) until SW2Transfer was closed. Socket buffers are now 1 MB (as fast as before in tests: 46 MB/s on one connection, 54 MB/s on 8), and the app never has more than 16 connections open, 8 transfers moving data or 24 files open. Tested with up to 64 files at once.
- The Switch's transfers panel no longer keeps showing a file as running after its connection ended mid-transfer.
Faster with many files
Up to 4 files now move at once, one connection each; connections with no file of their own help a big file with its next chunks, so a file on its own still uses all 8 connections. Applies to the web page (uploads) and sw2xfer.py (uploads and downloads).
100 typical emulator files (saves, configs, box art, ROMs; 21.6 MB):
| Time | Speed | |
|---|---|---|
| SW2Transfer 1.4.3 | 0.9 s | 23 MB/s |
| SW2Transfer 1.4.0 | 3.0 s | 7.2 MB/s |
| FTP (kaiHEN ftpd) | 3.9 s | 5.5 MB/s |
Other changes since 1.4.0
- Web page shows the current folder clearly (and in the tab title).
- Finished rows on the Switch show how many connections the file used.
- The graph label on the Switch has a backing so bars behind it don't hide it.
GET/PUT /api/speed: memory-only network speed test (no SD card access).
Install
Copy sw2transfer.nro to sdmc:/switch/sw2transfer/ (replacing the old one) and launch it from hbmenu. Download the updated sw2xfer.py too if you use the command line.