From owner-freebsd-net@FreeBSD.ORG Tue Nov 28 18:47:41 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 182EA16A4B3; Tue, 28 Nov 2006 18:47:41 +0000 (UTC) (envelope-from vladimir.terziev@gbservices.biz) Received: from dog.gbservices.biz (dog-mtl.gbservices.biz [213.226.50.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9457A43CB9; Tue, 28 Nov 2006 18:47:34 +0000 (GMT) (envelope-from vladimir.terziev@gbservices.biz) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id C17BD192913; Tue, 28 Nov 2006 19:47:35 +0100 (CET) Received: from fs.gbs.gbdom.com (fs.gbs.gbdom.com [192.168.2.244]) by dog.gbservices.biz (Postfix) with ESMTP id 6331E19290C; Tue, 28 Nov 2006 19:47:35 +0100 (CET) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id D6BA828505; Tue, 28 Nov 2006 19:47:32 +0100 (CET) Received: from daemon.gbs.gbdom.com (daemon.gbs.gbdom.com [192.168.2.104]) by fs.gbs.gbdom.com (Postfix) with SMTP id 6F3DB28503; Tue, 28 Nov 2006 19:47:32 +0100 (CET) Date: Tue, 28 Nov 2006 20:47:32 +0200 From: Vladimir Terziev To: freebsd-net@FreeBSD.ORG Message-Id: <20061128204732.3e8790fd.vlady@gbservices.biz> Organization: GB Services Ltd. X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.6.4; i386-unknown-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GBS-F X-Virus-Scanned: ClamAV GBS-D Cc: freebsd-hackers@freebsd.org Subject: 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: Tue, 28 Nov 2006 18:47:41 -0000 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