From owner-freebsd-current@FreeBSD.ORG Sat Mar 28 09:53:01 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9C82106564A for ; Sat, 28 Mar 2009 09:53:01 +0000 (UTC) (envelope-from sebastiaan@akiha.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id 42EC58FC13 for ; Sat, 28 Mar 2009 09:53:00 +0000 (UTC) (envelope-from sebastiaan@akiha.nl) Received: from akiha.nl (boe.xs4all.nl [82.95.74.163]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id n2S9fJGM002046 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 28 Mar 2009 10:41:19 +0100 (CET) (envelope-from sebastiaan@akiha.nl) Received: from [192.168.178.3] (boe.xs4all.nl [82.95.74.163]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sebastiaan) by akiha.nl (Postfix) with ESMTP id 5596650B92 for ; Sat, 28 Mar 2009 10:41:18 +0100 (CET) Message-Id: <3DB40EE4-80C8-49D4-8094-27A6F424D601@akiha.nl> From: Sebastiaan van Doesselaar To: freebsd-current@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: Sat, 28 Mar 2009 10:41:17 +0100 X-Mailer: Apple Mail (2.930.3) X-Virus-Scanned: by XS4ALL Virus Scanner X-Mailman-Approved-At: Sat, 28 Mar 2009 11:39:11 +0000 Subject: Slow network problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2009 09:53:01 -0000 Dear all, At the moment I'm running a CURRENT snapshot from February, yet somehow my network speeds are quite low. I've tested this with iperf, SMB and SCP, yet all give me more or less the same speeds, which is about 50 - 60Mbps. The weird thing is that this is only the case when the FreeBSD machine receives data, sending data is all fine. At least, with a 100Mbps link iperf gives me quite decent speeds (>90Mbps) This is the case for gigabit as well as 100Mbps, depending on what cable I use to the switch. I've also tested this directly, with a cable to a machine, but this was to no avail. I've tried changing some variables with sysctl (net.inet.tcp.recvspace, sendspace, recvbuf_auto, kern.ipc.maxsockbuf), yet those did not do anything. dmesg has this to say about the network card: rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, aut I cannot say I've tested this with a STABLE release, but in Windows and Gentoo Linux this worked fine. I have found one person with a seemingly similar problem, but this person had the problem a couple of years ago and did not resolve it at the time, or so it seems. See http://kerneltrap.org/mailarchive/freebsd-hackers/2006/5/30/214298 for his thread. I hope someone can give me some tips that will solve this problem. If information is lacking, please do say so. With kind regards, Sebastiaan van Doesselaar