From owner-freebsd-stable@FreeBSD.ORG Tue Feb 2 21:22:41 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7A10106568B for ; Tue, 2 Feb 2010 21:22:41 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id 883A78FC1A for ; Tue, 2 Feb 2010 21:22:41 +0000 (UTC) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id o12LMbWX001373; Tue, 2 Feb 2010 16:22:37 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <201002022122.o12LMbWX001373@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 02 Feb 2010 16:22:43 -0500 To: Jonathan Chen From: Mike Tancsa In-Reply-To: <6201873e1002021309t74415d5ah1b92b15da6074d4c@mail.gmail.co m> References: <20100202193616.GA16953@osiris.chen.org.nz> <201002021944.o12Ji3L4000876@lava.sentex.ca> <20100202205111.GA18184@osiris.chen.org.nz> <6201873e1002021309t74415d5ah1b92b15da6074d4c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: 8-STABLE outgoing scp stalling frequently. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2010 21:22:42 -0000 At 04:09 PM 2/2/2010, Adam Vande More wrote: >On Tue, Feb 2, 2010 at 2:51 PM, Jonathan Chen ><jonc@chen.org.nz> wrote: >The 2 hosts are going in on cables to the same switch. I've tried >other ports and hosts , but experience the same problem. > > >I run a similar network setup at home, and am unable to replicate >your experience regardless which host is being copied >to/from. Perhaps you have a more specific issue eg nic driver ? This is to a box on the same ethernet and subnet 0(ich10)% dd if=/dev/urandom of=testfile bs=1024k count=100 100+0 records in 100+0 records out 104857600 bytes transferred in 1.879028 secs (55804169 bytes/sec) 0(ich10)% scp testfile 192.168.1.207:/dev/null testfile 100% 100MB 12.5MB/s 00:08 0(ich10)% scp -C testfile 192.168.1.207:/dev/null testfile 100% 100MB 11.1MB/s 00:09 0(ich10)% From RELENG_8 to RELENG_7 em0: flags=8843 metric 0 mtu 1500 options=19b ether 00:1c:c0:95:0d:0d inet 192.168.1.219 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (100baseTX ) status: active uname -a FreeBSD ich10.sentex.ca 8.0-STABLE FreeBSD 8.0-STABLE #13: Tue Jan 19 12:24:57 EST 2010 mdtancsa@ich10.sentex.ca:/usr/obj/usr/src/sys/server i386 If you are using an em nic, does sysctl -w dev.em.0.stats=1 give any interesting numbers in /var/log/messages ? em0: Excessive collisions = 0 em0: Sequence errors = 0 em0: Defer count = 0 em0: Missed Packets = 0 em0: Receive No Buffers = 0 em0: Receive Length Errors = 0 em0: Receive errors = 0 em0: Crc errors = 0 em0: Alignment errors = 0 em0: Collision/Carrier extension errors = 0 em0: RX overruns = 0 em0: watchdog timeouts = 0 em0: RX MSIX IRQ = 0 TX MSIX IRQ = 0 LINK MSIX IRQ = 0 em0: XON Rcvd = 0 em0: XON Xmtd = 0 em0: XOFF Rcvd = 0 em0: XOFF Xmtd = 0 em0: Good Packets Rcvd = 1003041 em0: Good Packets Xmtd = 690690 em0: TSO Contexts Xmtd = 15709 em0: TSO Contexts Failed = 0 Results from RELENG_8 to RELENG_9 are about the same, but on a different nic 0(ich10)% scp testfile 10.255.255.117:/dev/null testfile 100% 100MB 11.1MB/s 00:09 0(ich10)% igb1: Excessive collisions = 0 igb1: Sequence errors = 0 igb1: Defer count = 0 igb1: Missed Packets = 0 igb1: Receive No Buffers = 0 igb1: Receive Length Errors = 0 igb1: Receive errors = 0 igb1: Crc errors = 0 igb1: Alignment errors = 0 igb1: Collision/Carrier extension errors = 0 igb1: RX overruns = 0 igb1: watchdog timeouts = 0 igb1: XON Rcvd = 0 igb1: XON Xmtd = 0 igb1: XOFF Rcvd = 0 igb1: XOFF Xmtd = 0 igb1: Good Packets Rcvd = 36484881 igb1: Good Packets Xmtd = 50922117 igb1: TSO Contexts Xmtd = 5452450 igb1: TSO Contexts Failed = 0 >-- >Adam Vande More -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike