8-STABLE outgoing scp stalling frequently.

Mike Tancsa mike at sentex.net
Tue Feb 2 21:22:42 UTC 2010


At 04:09 PM 2/2/2010, Adam Vande More wrote:
>On Tue, Feb 2, 2010 at 2:51 PM, Jonathan Chen 
><<mailto:jonc at chen.org.nz>jonc at 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
         ether 00:1c:c0:95:0d:0d
         inet 192.168.1.219 netmask 0xffffff00 broadcast 192.168.1.255
         media: Ethernet autoselect (100baseTX <full-duplex>)
         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 at 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 at sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike



More information about the freebsd-stable mailing list