From owner-freebsd-stable@FreeBSD.ORG Mon Oct 6 07:02:33 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 94DCA1065686 for ; Mon, 6 Oct 2008 07:02:33 +0000 (UTC) (envelope-from admin@kkip.pl) Received: from mainframe.kkip.pl (kkip.pl [87.105.164.78]) by mx1.freebsd.org (Postfix) with ESMTP id 458378FC15 for ; Mon, 6 Oct 2008 07:02:33 +0000 (UTC) (envelope-from admin@kkip.pl) Received: from [192.168.0.10] by mainframe.kkip.pl with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Kmk6w-0001N2-L8 for freebsd-stable@freebsd.org; Mon, 06 Oct 2008 09:02:32 +0200 Message-ID: <48E9B809.5080309@kkip.pl> Date: Mon, 06 Oct 2008 09:02:33 +0200 From: Bartosz Stec User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <48E62ABA.6070901@kkip.pl> <20081005075956.GX36572@elvis.mu.org> In-Reply-To: <20081005075956.GX36572@elvis.mu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-User: admin@kkip.pl X-Authenticator: plain X-Sender-Verify: SUCCEEDED (sender exists & accepts mail) X-Spam-Score: -8.9 X-Spam-Score-Int: -88 X-Exim-Version: 4.69 (build at 26-Jun-2008 18:19:28) X-Date: 2008-10-06 09:02:32 X-Connected-IP: 192.168.0.10:1542 X-Message-Linecount: 59 X-Body-Linecount: 46 X-Message-Size: 2299 X-Body-Size: 1765 X-Received-Count: 1 X-Recipient-Count: 1 X-Local-Recipient-Count: 1 X-Local-Recipient-Defer-Count: 0 X-Local-Recipient-Fail-Count: 0 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:02:33 -0000 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? -- Bartosz Stec