Eugeny / tabby

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

sftp download speed is too low #8972

Open leonmt opened 12 months ago

leonmt commented 12 months 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 11 months ago

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

yanite commented 11 months ago

me tooooo

Issues-translate-bot commented 11 months ago

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


me tooooo

leochien0102 commented 10 months ago

me tooooo

Alexis-SDK commented 10 months ago

I confirm this bug !

kalelbot commented 8 months ago

Same bug experiencing!

VeddySama commented 8 months ago

Is this bug not going to be fixed?

Frontesque commented 6 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 5 months ago

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

grafik grafik

ginkage commented 5 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 5 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 2 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.