Ticket #153 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Download limit

Reported by: axelgenus@gmail.com Owned by: alamaison
Priority: major (affects peripheral workflow) Milestone: 0.6.x Bug sprint
Component: libssh2 Version: 0.6.0
Keywords: download,bandwidth,limit Cc:

Description

Hi,
I'm trying Swish and it's awesome! I have a problem tough and I'm looking forward to solve it: when I download a file from my server the download is limited to 2MBps. It's quite strange since my server bandwidth is 100Mbps (real ~11MBps) and my ADSL line is 6Mbps (real ~650KBps).

Moreover I noticed that Swish fills up my upload bandwidth which is quite low (512kbps).

Change History

comment:1 Changed 6 years ago by alamaison

  • Status changed from new to accepted
  • Component changed from remote folder to libssh2
  • Milestone set to 0.6.1 Bug sprint

The SSH/SFTP library that Swish is built on, libssh2, had some bandwidth limitations in the version that is included in Swish 0.6.0. The next version of Swish (whenever we find time to make it) will include a new version of libssh2 that should perform much better.

Also, SFTP is quite hard to implement efficiently so that it uses the full bandwidth available. A lot of time is spent waiting for packets to be pieced together and acknowledged. As a comparison, could you please try using the OpenSSH client to perform the same transfer from your server and post the numbers here? They will be much better than Swish but will give us a good target to aim for.

comment:2 Changed 6 years ago by axelgenus@gmail.com

I use Filezilla and it uses every bit available; sometimes I have to stop downloading or set a limit to navigate the web efficently. It steadily downloads @ 680 KBps.

I'll wait for the next release for a performance comparison. I totally get that version 0.6 is still alpha software but it already works great so keep up the good work. ;)

comment:3 Changed 6 years ago by alamaison

We've just made  a new release (v0.6.1) that fixes some bugs and should (we hope) also be much faster. Please give it a try and close this ticket if it fixes the performance issues for you.

comment:4 follow-ups: ↓ 5 ↓ 6 Changed 6 years ago by axelgenus@gmail.com

Uhm... nothing really changed. I'm swill capped down to 2 Mbps (~250kBps).

comment:5 in reply to: ↑ 4 Changed 6 years ago by anonymous

Replying to axelgenus@…:

Uhm... nothing really changed. I'm swill capped down to 2 Mbps (~250kBps).

That would be "still"... :P

comment:6 in reply to: ↑ 4 Changed 6 years ago by alamaison

Replying to axelgenus@…:

Uhm... nothing really changed. I'm swill capped down to 2 Mbps (~250kBps).

Perhaps the new code hasn't kicked in yet. Have you restared since you updated Swish?

comment:7 Changed 6 years ago by alamaison

We have yet another new release (0.6.2) that fixes a problem with the download speed and small files. Does this make a difference for you?

There is still some work to be done here but that won't be for a release or two.

comment:8 Changed 6 years ago by axelgenus@gmail.com

  • Status changed from accepted to closed
  • Version changed from 0.6.0 to 0.6.1
  • Resolution set to worksforme

First try: full bandwidth used!

Thank you so much!!!

comment:9 Changed 6 years ago by alamaison

  • Status changed from closed to reopened
  • Version changed from 0.6.1 to 0.6.0
  • Resolution worksforme deleted

comment:10 Changed 6 years ago by alamaison

  • Status changed from reopened to closed
  • Resolution set to fixed

Our pleasure.

Note: See TracTickets for help on using tickets.