Bug 278182 - KIO SFTP upload speed = 1MBPS over 1Gbps link, thunar MUCH faster.
Summary: KIO SFTP upload speed = 1MBPS over 1Gbps link, thunar MUCH faster.
Status: RESOLVED UPSTREAM
Alias: None
Product: kio
Classification: Unmaintained
Component: sftp (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Andreas Schneider
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-21 07:33 UTC by Antonio Orefice
Modified: 2011-07-22 12:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Orefice 2011-07-21 07:33:42 UTC
Version:           unspecified (using Devel) 
OS:                Linux

As the subject says, if i open dolphin and try to upload a file to a remote server over my lan (1gbps link) the speed is about 1.2MBps, sometimes it goes to 12MBps.
But the same file copied via sshfs (with dolphin) is faster, about 33MBps
Thunar reaches the speed of about 50MBps.

Reproducible: Didn't try

Steps to Reproduce:
upload a file via kio sftp over a gigabit link and observe how slow it is.
do the same with thunar and see that is much much faster

Actual Results:  
1,2MBps or sometimes 12MBps

Expected Results:  
at least 50MBps (thunar reaches that)
Comment 1 Andreas Schneider 2011-07-21 11:06:23 UTC
Thanks for reporting this bug. Please open a bug upstream at http://red.libssh.org/ and request async write support for sftp. Thanks!
Comment 2 Antonio Orefice 2011-07-21 11:13:02 UTC
Previous kde releases (4.6.3) uploaded the same file at about 30MBps.
Do you still think that the issue is entirely with libssh or maybe something else changed and make the thing even worse?
Comment 3 Antonio Orefice 2011-07-21 11:16:58 UTC
Just made another try...
Download speed has dropped to ridicolous speed too 1.7MBps.

I forgot to say, 4.6.5 release
Comment 4 Andreas Schneider 2011-07-21 11:19:19 UTC
The code uploading and downloading a file in KDE 4.6 hasn't changed since more than a year.
Comment 5 Andreas Schneider 2011-07-21 11:25:23 UTC
The only change between 4.6.3 and 4.6.5 is a bugfix to the rename function.

http://quickgit.kde.org/?p=kde-runtime.git&a=history&h=24053d80ac862a2b41088476bb087be5e454b338&f=kioslave/sftp/kio_sftp.cpp
Comment 6 Antonio Orefice 2011-07-21 11:36:29 UTC
You are 100% right, i apologize.
I checked the last upgrade of libssh in my installation and downgraded it from
0.5.0 to 0.4.8 and i've the speed i had before.
Comment 7 Andreas Schneider 2011-07-21 12:29:30 UTC
Please report a bug at http://red.libssh.org/
Comment 8 Antonio Orefice 2011-07-22 12:14:08 UTC
https://bugs.kde.org/show_bug.cgi?id=278182
Comment 9 Antonio Orefice 2011-07-22 12:15:32 UTC
Sorry, wrong link:
https://red.libssh.org/issues/55