Re: 8-STABLE outgoing scp stalling frequently.

2010-02-10 Thread Pyun YongHyeon
On Wed, Feb 10, 2010 at 07:35:27AM +0100, Olivier Cochard-Labb? wrote:
 On Tue, Feb 9, 2010 at 10:51 PM, Pyun YongHyeon pyu...@gmail.com wrote:
 
  I guess I fixed all known vge(4) issues, how recent stable/8 you
  use?
 
 
 Hi,
 
 my mistake, it's a release and not a stable version that I'm using:
 

All issues except poor Tx performance was fixed. I'm still not
sure whether the poor Tx performance on PCIe VT6130 comes from the
limitation of controller which seems to limit the number of
outstanding DMA cycles.

 uname -a
 
 FreeBSD dev.bsdrp.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue
 Jan  5 16:02:27 UTC 2010
 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
 

Ok, if you encounter vge(4) issues in stable/8 let us know.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8-STABLE outgoing scp stalling frequently.

2010-02-09 Thread Olivier Cochard-Labbé
On Tue, Feb 2, 2010 at 8:36 PM, Jonathan Chen j...@chen.org.nz wrote:
 Hi,

 I've noticed that on a recent 8-STABLE/amd64, scp(1) appears to be
 stalling very frequently.

I've got the same problem since I've upgraded from 7.2 to 8-stable (32bit).

My NIC is a vge(4), with txsum and rxsum disabled.
dmesg:
vge0: VIA Networking Gigabit Ethernet port 0xfc00-0xfcff mem
0xfdfff000-0xfdfff0ff irq 18 at device 14.0 on pci0

I can't SCP big file too because my transferts stall and abord.

Regards,

Olivier
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8-STABLE outgoing scp stalling frequently.

2010-02-09 Thread Pyun YongHyeon
On Tue, Feb 09, 2010 at 09:31:54PM +0100, Olivier Cochard-Labb? wrote:
 On Tue, Feb 2, 2010 at 8:36 PM, Jonathan Chen j...@chen.org.nz wrote:
  Hi,
 
  I've noticed that on a recent 8-STABLE/amd64, scp(1) appears to be
  stalling very frequently.
 
 I've got the same problem since I've upgraded from 7.2 to 8-stable (32bit).
 
 My NIC is a vge(4), with txsum and rxsum disabled.
 dmesg:
 vge0: VIA Networking Gigabit Ethernet port 0xfc00-0xfcff mem
 0xfdfff000-0xfdfff0ff irq 18 at device 14.0 on pci0
 
 I can't SCP big file too because my transferts stall and abord.
 

I guess I fixed all known vge(4) issues, how recent stable/8 you
use?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8-STABLE outgoing scp stalling frequently.

2010-02-09 Thread Olivier Cochard-Labbé
On Tue, Feb 9, 2010 at 10:51 PM, Pyun YongHyeon pyu...@gmail.com wrote:

 I guess I fixed all known vge(4) issues, how recent stable/8 you
 use?


Hi,

my mistake, it's a release and not a stable version that I'm using:

uname -a

FreeBSD dev.bsdrp.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue
Jan  5 16:02:27 UTC 2010
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

Regards,

Olivier
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8-STABLE outgoing scp stalling frequently.

2010-02-02 Thread Mike Tancsa

At 02:36 PM 2/2/2010, Jonathan Chen wrote:

Hi,

I've noticed that on a recent 8-STABLE/amd64, scp(1) appears to be
stalling very frequently. This is the output from a scp -v -v
of a 300Mb file from a local to a remote within an internal network:


Hi,
Is it on the same ethernet segment, or does it go through a 
router(s) and is the path asymmetric? I noticed similar symptoms on a 
jailed box where the round trip was asymmetric and an intermediary 
router was generating a lot of ICMP redirects that were ignored by 
the sending host.


---Mike



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8-STABLE outgoing scp stalling frequently.

2010-02-02 Thread Jonathan Chen
On Tue, Feb 02, 2010 at 02:44:09PM -0500, Mike Tancsa wrote:
 At 02:36 PM 2/2/2010, Jonathan Chen wrote:
 Hi,
 
 I've noticed that on a recent 8-STABLE/amd64, scp(1) appears to be
 stalling very frequently. This is the output from a scp -v -v
 of a 300Mb file from a local to a remote within an internal network:
 
 Hi,
 Is it on the same ethernet segment, or does it go through a 
 router(s) and is the path asymmetric?

The 2 hosts are going in on cables to the same switch. I've tried
other ports and hosts , but experience the same problem.
-- 
Jonathan Chen j...@chen.org.nz
--
Irrationality is the square root of all evil
  - Douglas Hofstadter
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8-STABLE outgoing scp stalling frequently.

2010-02-02 Thread Adam Vande More
On Tue, Feb 2, 2010 at 2:51 PM, Jonathan Chen j...@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 ?


-- 
Adam Vande More
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8-STABLE outgoing scp stalling frequently.

2010-02-02 Thread Pete French
 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 ?

I missed the start of this thread, but I have also seen scp stalling
on 8-STABLE, except in my case it as inbound ... i.e. uploading to
the FreeBSd machine. The client was scp on OSX, though I also saw the
same issue with rsync, leading me to belve taht the problem lies
somewhere in ssh.

In the end I just used NFS and didn't worry too much about it, but
just a me too to show it's not just the OP. Mu machines were also
directly connected to the same switch on the same ether.

-pete.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8-STABLE outgoing scp stalling frequently.

2010-02-02 Thread Jeremy Chadwick
On Wed, Feb 03, 2010 at 09:51:11AM +1300, Jonathan Chen wrote:
 On Tue, Feb 02, 2010 at 02:44:09PM -0500, Mike Tancsa wrote:
  At 02:36 PM 2/2/2010, Jonathan Chen wrote:
  Hi,
  
  I've noticed that on a recent 8-STABLE/amd64, scp(1) appears to be
  stalling very frequently. This is the output from a scp -v -v
  of a 300Mb file from a local to a remote within an internal network:
  
  Hi,
  Is it on the same ethernet segment, or does it go through a 
  router(s) and is the path asymmetric?
 
 The 2 hosts are going in on cables to the same switch. I've tried
 other ports and hosts , but experience the same problem.

Do you see this behaviour both directions, or just unidirectional?  E.g.
does the problem happen in both of the below examples, or just one?

box1$ scp u...@box2:/file .
box1$ scp file u...@box2:/some/path

-- 
| Jeremy Chadwick   j...@parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8-STABLE outgoing scp stalling frequently.

2010-02-02 Thread Mike Tancsa

At 04:09 PM 2/2/2010, Adam Vande More wrote:
On Tue, Feb 2, 2010 at 2:51 PM, Jonathan Chen 
mailto:j...@chen.org.nzj...@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=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4
ether 00:1c:c0:95:0d:0d
inet 192.168.1.219 netmask 0xff00 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 mdtan...@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,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org