Stash Clone via SSH on windows 2008

When we clone via SSH on our Windows 2008 server we get slow speeds around 100-120KiB/s. From where we are testing. If we put Cygwin on that same windows server, we'll get ~600KiB/s transfer speeds. We've tried installling Stash on several bare-bones servers nowm and we still get these slow speeds, but only going to Stash via SSH. The minute we use Cygwin as the SSH server, we get much better times.

As another test we installed Stash on a 2012 server, in the same subnet and it is fast. So does anyone know what about 2008 that woud cause SSH on Stash to run slow, but not on Cygwin?

6 answers

This widget could not be displayed.

We experienced similar behaviour when using the same repo with HTTP versus SSH. There is a significant speed difference.

This widget could not be displayed.

Is this just a known issue then? It could lead us to use another prodcut if so.

This widget could not be displayed.

We experienced a "speed limit" for SSH transfers of 1MB/s with Stash 2.10.1 and now 10MB/s with 2.11.3. It is a suspiciously round number, seems like there is a setting somewhere we need to find.

This widget could not be displayed.

Unfortunately, we are also running on 2.11.3 and that hasn't changed anything.

This widget could not be displayed.

Hi Balazs and Scott,

We have a known issue with slowness on Windows environments and we have documented it:

I was wondering if that could be the case for you too after seeing your posts.

As described on our Supported Platforms document, we do not support Cygwin.

Best regards,

Thiago Bomfim

Atlassian Support - DevTools

This widget could not be displayed.

So unfortunately, it does not solve our problems. We've made a local user with non-admin rights and start Stash with this user. There are are still slow downs. We've tried multiple bare-bones Microsoft Windows 2008 servers. We've provisioned one from the Azure cloud and the same results exists, Stash is slow, and Cygwin is fast. Run it on 2012 and Stash is fast again. Unfortuantely we cannot run it on 2012 in our production environment.

It seems somehow latency sensitive. If we run it on the local LAN, we get ~19MB of throughput, with very little other traffic. If we make a single hop over a dedicated 150Mb PIP line with 2-4ms latency, it drops down to 4MB. Then we go over our MPLS link from datacenter to datacenter with about 30ms latency and the connection drops down to the 100KB range. All the while Cygwin is exceptionally.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Friday in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

212 views 14 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you