slow scp transfer

fbsd_user fbsd_user at a1poweruser.com
Wed Mar 29 22:05:35 UTC 2006


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 at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Miguel
Sent: Wednesday, March 29, 2006 4:43 PM
To: freebsd-questions at 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 at 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        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 <full-duplex>)
        status: active
tl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:08:c7:56:ce:3e
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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 <Link#1>      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 <Link#2>      00:08:c7:56:ce:3e        0     0        0
0     0
lo0   16384 <Link#3>                           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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list