From owner-freebsd-questions@FreeBSD.ORG Wed Mar 1 13:16:02 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 CA5C016A420 for ; Wed, 1 Mar 2006 13:16:02 +0000 (GMT) (envelope-from ldrada@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id B20F243D64 for ; Wed, 1 Mar 2006 13:15:58 +0000 (GMT) (envelope-from ldrada@gmail.com) Received: by nproxy.gmail.com with SMTP id m18so90035nfc for ; Wed, 01 Mar 2006 05:15:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=W029ppXnOAl3B34Eb4jVVtVo7jYEOVgfUtXFswcfoOB8CSdWimOdvMomovdvZpmjhap+6SUJNZQqIWUwchUQ22u8eOvCAekolT785nqIe07l0JmI0G6RKz9v0k2KKSreQJ0WsyryDNWRiFFEaB6DBliF09KaLXoSM32oMbt6zdo= Received: by 10.48.3.20 with SMTP id 20mr87270nfc; Wed, 01 Mar 2006 05:15:56 -0800 (PST) Received: by 10.48.108.10 with HTTP; Wed, 1 Mar 2006 05:15:56 -0800 (PST) Message-ID: <5ceb5d550603010515n26d2399q40ef7223f872a483@mail.gmail.com> Date: Wed, 1 Mar 2006 14:15:56 +0100 From: "Daniel A." To: gh In-Reply-To: <200603011325.50909.u3mgh@utanet.at> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5ceb5d550602200404v66aa5f89y147658431957bf9a@mail.gmail.com> <200603011325.50909.u3mgh@utanet.at> Cc: Xn Nooby , freebsd-questions@freebsd.org 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 13:16:02 -0000 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.