From owner-freebsd-stable@FreeBSD.ORG Mon Oct 6 07:17:59 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 384A11065688 for ; Mon, 6 Oct 2008 07:17:59 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id D87D28FC1A for ; Mon, 6 Oct 2008 07:17:58 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA03.westchester.pa.mail.comcast.net ([76.96.62.27]) by QMTA09.westchester.pa.mail.comcast.net with comcast id PK6W1a0010bG4ec59KHyDi; Mon, 06 Oct 2008 07:17:58 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA03.westchester.pa.mail.comcast.net with comcast id PKHx1a0022P6wsM3PKHxVu; Mon, 06 Oct 2008 07:17:58 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=wL8UUASt4PfW_GMri9MA:9 a=8zYyqe2S12Fxtn6Zax0A:7 a=9-CM6pqvdTCQ5JIavHDpH8xWtKIA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 1553EC9419; Mon, 6 Oct 2008 00:17:57 -0700 (PDT) Date: Mon, 6 Oct 2008 00:17:57 -0700 From: Jeremy Chadwick To: Bartosz Stec Message-ID: <20081006071757.GA13076@icarus.home.lan> References: <48E62ABA.6070901@kkip.pl> <20081005075956.GX36572@elvis.mu.org> <48E9B809.5080309@kkip.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E9B809.5080309@kkip.pl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org Subject: Re: fxp performance with POLLING X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 07:17:59 -0000 On Mon, Oct 06, 2008 at 09:02:33AM +0200, Bartosz Stec wrote: > Alfred Perlstein wrote: >> * Bartosz Stec [081003 07:23] wrote: >> >>> Hello again :) >>> >>> With POLLING enabled I experience about 10%-25% performance drop when >>> copying files over network. Tested with both SAMBA and NFS. Is it >>> normal? >>> >>> FreeBSD 7.1-PRERELEASE #0: Sat Sep 6 01:52:12 CEST 2008 >>> fxp0: port 0xc800-0xc83f mem >>> 0xe1021000-0xe1021fff irq 20 at device 8.0 on pci1 >>> >>> # ifconfig fxp0 >>> fxp0: flags=9843 >>> metric 0 mtu 1500 >>> options=8 >>> ether 00:20:ed:42:87:13 >>> inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 >>> media: Ethernet autoselect (100baseTX ) >>> status: active >>> >>> BTW overall SAMBA performance still sucks on 7.1-pre as much as on >>> RELENG_5 ...:( - 7.5 MB/s peak. >>> >> >> 7.5MB is 75% effeciency of a 100mbit card. Not amazing, but >> not "sucks". >> >> Where do you see faster performance? >> >> Between windows machines on the same hardware or linux server? >> >> > It sucks because it is a peak performance. About 5-6 MB/s average. I > tried polling only because I found some suggestions on mailing lists, > that it could improve performance with SAMBA on FreeBSD. As you see at > the top of this thread - not in my case :) I also tried sysctl tunings, > and smb.conf settings, also suggested on maling lists, with no or very > little improvements noticed. Most of suggestions unfortunately end with > "change OS to Linux if you want to use SAMBA". I think I will try to > change NIC to 1Gbit - hope that helps :) Or maybe there's some "FreeBSD > and SAMBA tuning guide" which I didn't found? Can you please test network I/O using something like netperf or one of the other network-benchmark tools and not things like NFS or Samba which rely on disk I/O and other aspects? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |