From owner-freebsd-questions@FreeBSD.ORG Sun Dec 14 14:39:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4D31106564A for ; Sun, 14 Dec 2008 14:39:09 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5548A8FC08 for ; Sun, 14 Dec 2008 14:39:09 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id mBEEd6mE056612 for ; Sun, 14 Dec 2008 15:39:06 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id F18D7BAA2; Sun, 14 Dec 2008 15:39:05 +0100 (CET) Date: Sun, 14 Dec 2008 15:39:05 +0100 From: Roland Smith To: freebsd-questions@freebsd.org Message-ID: <20081214143905.GA9275@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Subject: send performance of rl(4) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2008 14:39:09 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Transferring files from my desktop to my laptop with rsync (over a point-to-point netowork connection) is extremely slow, maxing out at around 50 kB/s and often dropping to 0. Both systems show hardly any activity. Is this normal for rsync running over a network? There is a rsync daemon running on the laptop. Network interface on the laptop is xl(4), the desktop is rl(4). I think that the link is OK, because transferring dumps with nc from the laptop to the desktop can max out the connection (9000-10000 kB/s over 100baseTX full-duplex). However, when I try nc to transfer a file from the desktop to the laptop it is extremely slow, topping out at around 200 kB/s. When I check with netstat, the qeues on the laptop are empty, while the send-queue on the desktop shows a large value: Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 40951 192.168.0.1.55460 rfs.65000 ESTABLIS= HED I've tried disabling the firewall on the desktop (laptop doesn't have one) and enabling polling on both interfaces. It doesn't seem to make any difference. Are there any bottlenecks I could check for? Or is this just a case of crappy hardware? The rl(4) based cards don't seem to have a very good reputation. I've got an old 3com 905B card lying around. Would it help if I used that instead? Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklFGokACgkQEnfvsMMhpyWY2QCfZFINCqTaBZx9+pGxBzvjKOtw 6rcAn1FP0H9v2cPJJa250Og7vRs7k9PQ =EZ5J -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt--