Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
59.4k stars 3.39k forks source link

sftp download speed is too low #8972

Open leonmt opened 1 year ago

leonmt commented 1 year ago

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]

talkshowhost commented 1 year ago

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

yanite commented 1 year ago

me tooooo

Issues-translate-bot commented 1 year ago

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


me tooooo

leochien0102 commented 1 year ago

me tooooo

Alexis-SDK commented 1 year ago

I confirm this bug !

kalelbot commented 11 months ago

Same bug experiencing!

VeddySama commented 10 months ago

Is this bug not going to be fixed?

Frontesque commented 9 months ago

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)

mwLabs-eu commented 8 months ago

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

grafik grafik

ginkage commented 7 months ago

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
tabby/tabby-ssh/src/session/sftp.ts at master · Eugeny/tabby
A terminal for a more modern age. Contribute to Eugeny/tabby development by creating an account on GitHub.
kenshin912 commented 7 months ago

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 .

PhoenixTrees commented 4 months ago

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

chaoqunxie commented 1 month ago

same

Nineteen93 commented 1 month ago

I have the same issue.