From owner-freebsd-questions@FreeBSD.ORG Wed Mar 29 22:05:35 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 B219F16A424 for ; Wed, 29 Mar 2006 22:05:35 +0000 (UTC) (envelope-from fbsd_user@a1poweruser.com) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6653B43DD8 for ; Wed, 29 Mar 2006 22:05:12 +0000 (GMT) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([70.39.69.56]) by mta9.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20060329220511.TOEV19976.mta9.adelphia.net@barbish>; Wed, 29 Mar 2006 17:05:11 -0500 From: "fbsd_user" To: "Miguel" , Date: Wed, 29 Mar 2006 17:05:07 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <442AFF72.1040209@123.com.sv> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 Importance: Normal Cc: Subject: RE: slow scp transfer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 22:05:35 -0000 There is a patch to OpenSSH to fix the buffer size problem caused by the different operating systems OpenSSH runs on. When the host and remote are different operating systems the send/receive buffer sizes do not match and this causes drastic slow down. Like in using gentoo client connecting to a FreeBSD box or Linux box. ports/security/hpn-ssh/ contains the patch code to fix this problem in sshd/ssh. Check out the patches home page at http://www.psc.edu/networking/projects/hpn-ssh/ -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Miguel Sent: Wednesday, March 29, 2006 4:43 PM To: freebsd-questions@freebsd.org Subject: slow scp transfer Hi, i have freebsd 6.0 in a dl380 g3, im copying a 3.0G file from one server (with gentoo) to the freebsd server using scp, the transfer rate is terrible slow, check out this napstats# scp postgres@192.168.10.120:NAPSTATS_TRANSFER/stopacct_borrar stopacct_borrar stopacct_borrar 26% 802MB 423.2KB/s 1:30:57 ETA this are my interfaces: napstats# ifconfig -a bge0: flags=8843 mtu 1500 options=1a inet6 fe80::213:72ff:fe0c:9065%bge0 prefixlen 64 scopeid 0x1 inet 192.168.10.49 netmask 0xfffff000 broadcast 192.168.15.255 ether 00:13:72:0c:90:65 media: Ethernet autoselect (100baseTX ) status: active tl0: flags=8802 mtu 1500 ether 00:08:c7:56:ce:3e media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 i dont have any errors: napstats# netstat -i Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll bge0 1500 00:13:72:0c:90:65 1574833 0 994478 0 0 bge0 1500 fe80:1::213:7 fe80:1::213:72ff: 0 - 4 - - bge0 1500 192.168.0/20 192.168.10.49 1335972 - 991596 - - tl0* 1500 00:08:c7:56:ce:3e 0 0 0 0 0 lo0 16384 12620 0 12620 0 0 lo0 16384 localhost ::1 12476 - 12476 - - lo0 16384 fe80:3::1 fe80:3::1 0 - 0 - - lo0 16384 your-net localhost 144 - 144 - - what can be wrong? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"