From owner-freebsd-questions Sun Sep 15 6:23:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C752537B400 for ; Sun, 15 Sep 2002 06:23:09 -0700 (PDT) Received: from infinity.aesredfish.net (ns1.aesredfish.net [65.168.0.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F06443E6E for ; Sun, 15 Sep 2002 06:23:05 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (mhope-dhcp-65-168-1-181.dashfast.com [65.168.1.181]) by infinity.aesredfish.net (8.11.6/8.11.0) with ESMTP id g8FDMJD20638; Sun, 15 Sep 2002 09:22:59 -0400 Message-ID: <3D848B52.3060108@potentialtech.com> Date: Sun, 15 Sep 2002 09:29:54 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc1) Gecko/20020502 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Ritchie Cc: freebsd-questions@FreeBSD.ORG Subject: Re: SAMBA throughput increases when NIC bandwidth is decreased References: <5.1.1.6.0.20020915183202.00b94808@mail.bigpond.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Michael Ritchie wrote: > I am running SAMBA 2.24 on a FreeBSD 4.6.2 box, a 1GHz PIII with 256MB > RAM and a nice big, fast scsi hard drive. My problem is that I cannot > get a decent amount of bandwidth out of it. I have tried adjusting the > smb.conf file, based on SPEED.TXT, but I still cannot draw more than 300 > or 400 k bytes/second out of it. I tried scaling its ethernet switch > port down from 100MBPS full duplex to 10half, and the speed more than > tripled -- up to 1200 kbytes / second. I can't explain this --- help?? > I have also tried a variety of NICs, from 3com etherlink 905b to Intel > EtherExpress Pro100 and a D-Link card. All exhibit similar behaviour, > although not to the extent of the 3com. Sounds like a problem with the switch and/or autonegotiation. Set the switch back to 100mbs and check "ifconfig" on FreeBSD to ensure it is negotiating the correct speed/duplex. You may have to manually set it if it doesn't detect correctly. Bunged autonegotiation will cause lousy speeds. Verify that your wiring is up to spec! Out of spec wiring will cause higher speed transmission to have lots of problems. If all else fails, try a different port on the switch and see if the problem disappears. If that fails, try a different switch. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message