From owner-freebsd-questions@FreeBSD.ORG Wed Mar 1 14:43:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D319116A420 for ; Wed, 1 Mar 2006 14:43:33 +0000 (GMT) (envelope-from u3mgh@utanet.at) Received: from elsa.arz.oeaw.ac.at (elsa.arz.oeaw.ac.at [193.170.80.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id F204F43D46 for ; Wed, 1 Mar 2006 14:43:32 +0000 (GMT) (envelope-from u3mgh@utanet.at) Received: from arzpc2.arz.oeaw.ac.at (arzpc2.arz.oeaw.ac.at [193.170.80.152]) by elsa.arz.oeaw.ac.at (8.12.3/8.12.3) with ESMTP id k21EhQUY017182; Wed, 1 Mar 2006 15:43:27 +0100 From: gh To: freebsd-questions@freebsd.org Date: Wed, 1 Mar 2006 15:43:25 +0100 User-Agent: KMail/1.8.3 References: <200603011325.50909.u3mgh@utanet.at> <5ceb5d550603010515n26d2399q40ef7223f872a483@mail.gmail.com> In-Reply-To: <5ceb5d550603010515n26d2399q40ef7223f872a483@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603011543.25510.u3mgh@utanet.at> X-Virus-Scanned: ClamAV 0.88/1308/Wed Mar 1 11:13:39 2006 on emix8.arz.oeaw.ac.at X-Virus-Status: Clean X-DCC-ARZ-Oeaw-Metrics: emix5.arz.oeaw.ac.at 1145; Body=3 Fuz1=3 Fuz2=3 Cc: Xn Nooby , "Daniel A." Subject: Re: WinSCP mega-slowness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2006 14:43:33 -0000 On Wednesday 01 March 2006 14:15, Daniel A. wrote: > On 3/1/06, gh wrote: > > On Monday 20 February 2006 13:04, Daniel A. wrote: > > > Hi, > > > I have the same issue here. > > > When I use SFTP (WinSCP) to transfer from my Windows XP SP2 box to my > > > local server, I can only utilize about 1/10'th of the bandwith > > > (100mbit). > > > On the other hand, when I use FTP or SMB to transfer files, I can > > > utilize the maximum bandwith. > > > > > > On both boxes, the "symptoms" are the same: > > > - Lots of available CPU time > > > - No significant disk I/O > > > - Quite a lot of available RAM. > > > > but SFTP (WinSCP) is a crypted transfer (ssh tunnel) > > therefor it must be slower than > > any uncrypted transfer like FTP or samba .... > Yes, but one tenth? I would understand the speed difference if at > least the encryption required either a lot of CPU time or memory > utilization, but the fact is that it doesnt. In fact, my PC is > practically idle while it's transferring files through sftp. > > I believe that fbsd_user (at a1poweruser.com) is correct about the > different buffer size being the cause of this problem. > i think that the different operating systems (and their programs) cause this minimized transfer with a ssh tunnel because the transfer run from application to ssh to tcp/ip socket on one machine and the other way round on the peer and both sides had to wait for each other (different platforms - different timing) so the time consumption without really doing usefull