Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2016 17:55:58 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Achilleas Mantzios <achill@matrix.gatewaynet.com>
Cc:        freebsd-net@freebsd.org, Ilias Seperis <ilisepe1@gmail.com>
Subject:   Re: Strange issue with scp performance
Message-ID:  <20161001005558.GB1751@funkthat.com>
In-Reply-To: <57EB9AC8.3050102@matrix.gatewaynet.com>
References:  <57EB9AC8.3050102@matrix.gatewaynet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Achilleas Mantzios wrote this message on Wed, Sep 28, 2016 at 13:26 +0300:
> We have a weird situation here. We just made a clone of a virtual image running Linux and sent it over to some could provider. The problem is that the scp performance to *many* hosts in our office 
> center has worsened considerably, including one freebsd box.
> 
> In this freebsd box I run also a jail, and a linux ubuntu image with bhyve. The crazy thing here is that :
> 
> 1) scp from the original (local office center) linux image to the host FreeBSD, its jailed FreeBSD and its bhyve linux is 2.7 MB/s
> 2) scp from the cloud linux image to the host FreeBSD is slow (~300KB/s)
> 3) scp from the cloud linux image to the above FreeBSD's jail is slow(~300KB/s)
> 4) scp from the cloud linux image to the above FreeBSD's bhyve ubuntu is fast(~1->1.5MB/s)
> 
> What can cause this behavior?
> 
> PS
> Please answer to me directly as I am not subscribed to -net.
> Thanks a lot for any ideas.

I worked on this last year a bit, but was never able to track it down.

It may be an issue w/ internal SSH's buffering not growing properly to
handle the latency.

I posted some info on the wiki about this:
https://wiki.freebsd.org/SSHPerf

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161001005558.GB1751>