tabby icon indicating copy to clipboard operation
tabby copied to clipboard

sftp download speed is too low

Open leonmt opened this issue 1 year ago • 18 comments

Describe the problem: [A clear and concise description of what the bug is.] In the same file and network environment, downloading files through the SFTP plugin is slow, but copying files through the SCP command is fast. To Reproduce: [Steps to reproduce the behavior]

leonmt avatar Sep 12 '23 12:09 leonmt

Upload speed is also very slow, usually 500kb/s where in other places I can get 17MB/s

talkshowhost avatar Oct 04 '23 10:10 talkshowhost

me tooooo

yanite avatar Oct 12 '23 04:10 yanite

The translator bot has detected that this issue body's language is not English, and has translated it automatically.


me tooooo

Issues-translate-bot avatar Oct 12 '23 04:10 Issues-translate-bot

me tooooo

leochien0102 avatar Oct 14 '23 00:10 leochien0102

I confirm this bug !

Alexis-SDK avatar Oct 23 '23 22:10 Alexis-SDK

Same bug experiencing!

kalelbot avatar Dec 18 '23 13:12 kalelbot

Is this bug not going to be fixed?

VeddySama avatar Jan 04 '24 06:01 VeddySama

Still having issues. It's maxxing out at 5.5MB/s on my gigabit network (I'm getting 120MB/s with the same machine on FileZilla)

Frontesque avatar Feb 13 '24 22:02 Frontesque

Same for me, uploading from Win11 to a LXC on proxmox. All machines are in the same network.

grafik grafik

mwLabs-eu avatar Mar 11 '24 23:03 mwLabs-eu

So I assume the code for SFTP is here: https://github.com/Eugeny/tabby/blob/master/tabby-ssh/src/session/sftp.ts Can we e.g. increase the buffer size for downloads, up from the current 256Kb to something larger? The whole thing is looping I/O in TypeScript, which might be sub-optimal, but maybe a larger chunk size might help?

GitHub
A terminal for a more modern age. Contribute to Eugeny/tabby development by creating an account on GitHub.

ginkage avatar Mar 23 '24 22:03 ginkage

Confirm the same bug too. I have used iperf3 to test the speed limit on my server and clients , it has over 960Mbits/sec . while download some file from the same server , i got 2.65MB/sec speed. That is weird .

kenshin912 avatar Mar 28 '24 05:03 kenshin912

Same, I copy files from other terminals in LAn through Tabby at a very slow speed, it forces me to use PowerShell to finish.

PhoenixTrees avatar Jul 08 '24 02:07 PhoenixTrees