From owner-freebsd-performance@FreeBSD.ORG Tue Feb 26 02:07:47 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A77C916A400 for ; Tue, 26 Feb 2008 02:07:47 +0000 (UTC) (envelope-from boheme@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 35C1713C461 for ; Tue, 26 Feb 2008 02:07:46 +0000 (UTC) (envelope-from boheme@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so1506242fgg.35 for ; Mon, 25 Feb 2008 18:07:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=7buJ47txogJLRoBOUnL3JhjPapP084mBTx0KwYHkZaE=; b=ZjXq8Fcd6nbT23fXVlcliFgaekFlw/3+x6xhizOo8YdJVRlQUGaIm/hkd8qO5cNaZPvyiIQXjipGzxQeDoUJbjtFPGVw1K1iFRhjRE9Z/VUUiFMy7eKpGMYF3Znms43Yc2+guBO4WM2puF7p6rhWtOLY/6tehVa7rN5SP3t9qcQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Xzj8t+pX4zlJkEgUoEX3/eKCKgu1qTDCUmbXDJG17X+GvIdV9A8z38PjIfZj84EVkgT9O1R9qOXE+TPQgNEW6sZgvewE9q1hdCCXjqdBnGVS9XiSbxC6UH3Gh2sUnZsR5W/sL7uC1uagUZwqK+oPyN7dG6oEMr90FRLh453UCDM= Received: by 10.86.99.9 with SMTP id w9mr3777637fgb.22.1203989912088; Mon, 25 Feb 2008 17:38:32 -0800 (PST) Received: by 10.86.89.19 with HTTP; Mon, 25 Feb 2008 17:38:32 -0800 (PST) Message-ID: Date: Mon, 25 Feb 2008 17:38:32 -0800 From: "Chris Knight" To: "Bc. Radek Krejca" In-Reply-To: <107794589.20080205140018@starnet.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <107794589.20080205140018@starnet.cz> Cc: FreeBSD Mailing Lists Subject: Re: FBSD 1GBit router? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2008 02:07:47 -0000 What kind of network cards are you using, and what bus type are they using? >From my experience, I was never able to get over ~300Mbps routing from one PCI-X NIC to another PCI-X NIC. I switched out the bus to a PCI-Express and put a couple of Intel PCI-E 4x gigabit cards in and I was able to get over 950Mbps throughput. Sorry I don't have my sysctl.conf settings, that box was reallocated after we replaced it with some Cisco junk. -Chris On Tue, Feb 5, 2008 at 5:00 AM, Bc. Radek Krejca wrote: > Hi, > > I have FreeBSD box as router > FreeBSD pvt-gw.starnet.cz 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #2: Wed Jan 31 21:28:44 CET 2007 root@pvt-gw.starnet.cz:/usr/obj/usr/src/sys/DL360-G4 i386 > But speed is only about 382 Mbit. I have following values in > sysctl.conf: > > net.inet.ip.fastforwarding=1 > net.inet.tcp.recvspace=262144 > net.inet.tcp.sendspace=262144 > kern.ipc.maxsockbuf=33554432 > > I need about 600-700 Mbit. Is any chance on freebsd? Hardware is HP > DL360-G4, interrupt takes about 55 % of CPU. I tested it over > netperf and result is about 382 Mbit. > > > -- > Regards, > Bc. Radek Krejca > ICQ: 65895541 > > > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org" >