From owner-freebsd-current@FreeBSD.ORG Mon Mar 30 02:00:12 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 132C71065674 for ; Mon, 30 Mar 2009 02:00:12 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 6007D8FC13 for ; Mon, 30 Mar 2009 02:00:10 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2000555wfg.7 for ; Sun, 29 Mar 2009 19:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=eCg2JSa1S1qzvbdpYI+7S2EEQ7WDWi3i14Jk0nGvDT0=; b=F6s7EtxK16zTEVz8UtdKH4sk15HHfyKQmW/t5bLBU+de9ZL1aIzKIQpuQBR/w5zP8X wW2Wxy78a2mhWyPsBg597bmI7vO6FpRheEletg+BL/fBRIChWXVIVGTdLgNgGJDoZEuA zoOOuQudNbOTpsX8z1c6MxkCpnOKveeDS2azE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=CeiqmQS8CVafeB7oTO4k8p+CKtI2IZu9Hls6MyeBUqi2eN2iXc20wydNFzTR+8e891 1/8vXUJdFczLV1u12l4buLwh71LtBvy21dZs/z3PdK6MtZIRZ8IGIrtLgMrRwVfDeuiA MevPyWyFPqzpF+V0Ear8rGITHnK8m9B2hJZo8= Received: by 10.143.3.7 with SMTP id f7mr1903455wfi.92.1238378410031; Sun, 29 Mar 2009 19:00:10 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([114.111.62.249]) by mx.google.com with ESMTPS id l31sm8726070rvb.11.2009.03.29.19.00.08 (version=SSLv3 cipher=RC4-MD5); Sun, 29 Mar 2009 19:00:09 -0700 (PDT) Received: by michelle.cdnetworks.co.kr (sSMTP sendmail emulation); Mon, 30 Mar 2009 10:59:07 +0900 From: Pyun YongHyeon Date: Mon, 30 Mar 2009 10:59:07 +0900 To: Sebastiaan van Doesselaar Message-ID: <20090330015907.GB7076@michelle.cdnetworks.co.kr> References: <3DB40EE4-80C8-49D4-8094-27A6F424D601@akiha.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DB40EE4-80C8-49D4-8094-27A6F424D601@akiha.nl> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: Slow network problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2009 02:00:13 -0000 On Sat, Mar 28, 2009 at 10:41:17AM +0100, Sebastiaan van Doesselaar wrote: > 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 > Show me complete dmesg output, the above just tells what PHY hardware is used. > 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. >