From owner-freebsd-questions@FreeBSD.ORG Thu Feb 9 12:01:23 2006 Return-Path: X-Original-To: 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 D7E3B16A420 for ; Thu, 9 Feb 2006 12:01:23 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out5.blueyonder.co.uk (smtp-out5.blueyonder.co.uk [195.188.213.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09EF043D48 for ; Thu, 9 Feb 2006 12:01:21 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [192.168.0.2] ([62.31.10.130]) by smtp-out5.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Thu, 9 Feb 2006 12:02:25 +0000 Message-ID: <43EB2F10.7020806@dial.pipex.com> Date: Thu, 09 Feb 2006 12:01:20 +0000 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.12) Gecko/20051106 X-Accept-Language: en MIME-Version: 1.0 To: mark.jacobs@custserv.com References: <7867115D33789747BE4994F8700BB5862AB0F6@tmpmailmb02.enterprise.corpad.timeinc.com> In-Reply-To: <7867115D33789747BE4994F8700BB5862AB0F6@tmpmailmb02.enterprise.corpad.timeinc.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Feb 2006 12:02:25.0255 (UTC) FILETIME=[B0CE8770:01C62D70] Cc: questions@freebsd.org Subject: Re: showdown transfering files with scp 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: Thu, 09 Feb 2006 12:01:24 -0000 mark.jacobs@custserv.com wrote: >I was using scp to copy several large (300-800mb) each files between two >Freebsd machines. Both are on the same hub, 100MB Ethernet connection. >The source box is FreeBSD 5.4 stable at a late October build date. The >target is running 6.0 stable at a current build date. > > > >The first three files showed a transfer rate of about 3mb/sec and >transfer took about a 5-7 minutes for each file. After the third one >however the transfer rate dropped to 100-200 KB/sec. There was nothing >else going on in the internal network at the time. > > scp can be surprisingly crap and slow. If the machines are both internal try using ftp and see how that does. If that's slow too then you have a problem :-) If it isn't slow, then try the ssh-hpn port which, among other things, supports a -z flag to scp which turns off all the encryption after the initial authentication. It's also possible that one of the machines got loaded with something else around the time of your slowdown and it couldn't keep up the the encryption/description. Other things to try: 1) repeat what you did and see if it happens again. If it doesn't, then there was something going on the first time. 2) If it does happen again, try transferring the files individually, inside a for loop perhaps, and see if the problem persists. If it does, try ssh-hpn and see if that works better. Hth, --Alex