From owner-freebsd-net@FreeBSD.ORG Wed Nov 29 13:09:55 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E52A716A416; Wed, 29 Nov 2006 13:09:55 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.200.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BF9143CAE; Wed, 29 Nov 2006 13:09:53 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from gimpy (c-24-118-173-219.hsd1.mn.comcast.net[24.118.173.219]) by comcast.net (sccrmhc13) with ESMTP id <2006112913095401300lrghse>; Wed, 29 Nov 2006 13:09:54 +0000 From: Josh Paetzel To: freebsd-hackers@freebsd.org Date: Wed, 29 Nov 2006 07:09:33 -0600 User-Agent: KMail/1.9.4 References: <20061128204732.3e8790fd.vlady@gbservices.biz> In-Reply-To: <20061128204732.3e8790fd.vlady@gbservices.biz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611290709.34059.josh@tcbug.org> Cc: Vladimir Terziev , freebsd-net@freebsd.org Subject: Re: FreeBSD-6.1/amd64 bge(4) driver performance problems X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 13:09:56 -0000 On Tuesday 28 November 2006 12:47, Vladimir Terziev wrote: > Hi, > > i have a machine with Pentium 4-D processor utilizing > FreeBSD-6.1-RELEASE-p10/amd64. > > The machine is running SMP kernel. > > The machine has 2 on-board Broadcom BCM5721 NICs, which are > handeled by the bge(4) driver and 4 D-Link DL10050 NICs, which are > handeled by the ste(4) driver. Machine is targeted for a > gateway/firewall and will handle a big amount of network traffic. > > It seems the bge(4) driver has severe performance problems (may be > especially in my configuration). I tried test scp(1) to a remote > machine, using one of the BCM5721 NICs. The average speed which has > been reached was 200kBps. > > Just for comparison, when i tryed the same test scp(1), to the > same remote machine, but using one of the D-Link DL10050 NICs, the > average speed which has been reached was 10MBps. > > Could someone point me to a good performance tuning document for > bge(4) handeled NICs, under SMP kernel or at all? > > Thanks in advance! > > Vladimir So you have 2 gig-E and 4 100tx interfaces on the same PCI bus? If so you're going to run into bus saturation long before you're able to max out the throughput on the NICs. Which isn't to say that 200 kBps isn't a problem, but perhaps you are dealing with a bad cable or switchport. -- Thanks, Josh Paetzel