From owner-freebsd-net@FreeBSD.ORG Fri May 1 18:06:08 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B4CE106568B for ; Fri, 1 May 2009 18:06:08 +0000 (UTC) (envelope-from toasty@dragondata.com) Received: from tokyo01.jp.mail.your.org (tokyo01.jp.mail.your.org [204.9.54.5]) by mx1.freebsd.org (Postfix) with ESMTP id 1A3B78FC0C for ; Fri, 1 May 2009 18:06:07 +0000 (UTC) (envelope-from toasty@dragondata.com) Received: from tokyo01.jp.mail.your.org (localhost.your.org [127.0.0.1]) by tokyo01.jp.mail.your.org (Postfix) with ESMTP id 352952AD583B for ; Fri, 1 May 2009 17:46:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=dragondata.com; h= message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date; s=selector1; bh=W5FLG7q3IsAl/IRtWyCq fquc134=; b=JCfUFriRcSahpH3HVg3sdhGwivfHjRLBZtPJ5AbuwGEgG54O+Cxf W6VHjBgi37nnG0HXPhSoWFgX7UW+8ROaWyXamvUiVZWmYDvuzJNMN/pNmrYEMVSI BXev4dDif9N9zi994jnU+Uclra8b4vfgpal66E1qADi9r0q16OAKxjE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=dragondata.com; h=message-id:from :to:content-type:content-transfer-encoding:mime-version:subject: date; q=dns; s=selector1; b=orBk6eyFJquiUaN5xoduGzfCFtnrRAikv4zg BfkyHwV5ED3AGqhHFTSE7hYHfrt5hUiA9mCTewNOD1uqCSLY76PadoFItNWsWclL z51wzI01NSBaqVx3WaO7PCW5Ta92LVx10B+B6qr+TlCKitriWFX6sNGbJ/rfqY6y GlBKmw8= Received: from mail.your.org (server2-a.your.org [216.14.97.66]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by tokyo01.jp.mail.your.org (Postfix) with ESMTPS id 0AED42AD560D for ; Fri, 1 May 2009 17:46:58 +0000 (UTC) Received: from [216.14.99.244] (unknown [216.14.99.244]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.your.org (Postfix) with ESMTPSA id 86EFB2C9017 for ; Fri, 1 May 2009 17:46:56 +0000 (UTC) Message-Id: <00C19FCC-837A-44B8-A0C9-C56E3D02F8EF@dragondata.com> From: Kevin Day To: freebsd-net@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Fri, 1 May 2009 12:46:55 -0500 X-Mailer: Apple Mail (2.930.3) Subject: Slow local TCP transfers on -CURRENT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2009 18:06:08 -0000 I've been seeing this for a few months now on -CURRENT. TCP transfers to local IP addresses (but not 127.0.0.1) are incredibly slow. Transfer from localhost: # scp "root@127.0.0.1:/boot/kernel/kernel" . kernel 100 % 11MB 11.1MB/s 00:00 Appropriately fast. Transfer from an IP on a local interface: # scp "root@216.14.96.4:/boot/kernel/kernel" . kernel 0 % 16KB 13.0KB/s 14:37 ETA The routes seem normal: # route get 127.0.0.1 route to: localhost destination: localhost interface: lo0 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 16384 1 0 # route -n get 216.14.96.4 route to: 216.14.96.4 destination: 216.14.96.0 mask: 255.255.255.128 interface: nfe0 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 nfe0: flags=8843 metric 0 mtu 1500 options=19b ether 00:30:48:c6:dd:9c inet 216.14.96.4 netmask 0xffffff80 broadcast 216.14.96.127 Takes 10-60 minutes to copy, stalling frequently during the transfer. It's not limited to just scp either, all TCP transfers seem to stall this way. I don't believe I'm doing anything unusual, has anyone seen anything like this? -- Kevin