From owner-freebsd-net@FreeBSD.ORG Fri Oct 5 05:18:51 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7C1716A419 for ; Fri, 5 Oct 2007 05:18:51 +0000 (UTC) (envelope-from artem@aws-net.org.ua) Received: from alf.aws-net.org.ua (alf.aws-net.org.ua [85.90.196.192]) by mx1.freebsd.org (Postfix) with ESMTP id BF00813C45A for ; Fri, 5 Oct 2007 05:18:48 +0000 (UTC) (envelope-from artem@aws-net.org.ua) Received: from [192.168.32.4] (aviko.aws-net.org.ua [192.168.32.4]) by alf.aws-net.org.ua (8.13.8/8.13.8) with ESMTP id l954eKWM058045 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 5 Oct 2007 07:40:26 +0300 (EEST) (envelope-from artem@aws-net.org.ua) Message-ID: <4705C035.1020403@aws-net.org.ua> Date: Fri, 05 Oct 2007 07:40:21 +0300 From: Artyom Viklenko Organization: Art&Co. User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Cristian KLEIN References: <4703F9C3.2060601@net.utcluj.ro> <4532.192.168.2.137.1191451931.squirrel@www.codeangels.com> <470535D6.7020601@net.utcluj.ro> In-Reply-To: <470535D6.7020601@net.utcluj.ro> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-3.0 (alf.aws-net.org.ua [192.168.32.253]); Fri, 05 Oct 2007 07:40:27 +0300 (EEST) X-Virus-Scanned: ClamAV version 0.91.1, clamav-milter version 0.91.1 on alf.aws-net.org.ua X-Virus-Status: Clean Cc: lists@codeangels.com, freebsd-net@freebsd.org Subject: Re: FreeBSD as a gigabit router 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: Fri, 05 Oct 2007 05:18:51 -0000 Cristian KLEIN wrote: > Thank you all for your replies. > > Kirill Ponazdyr wrote: >>> Hi list, >>> >>> A few days ago I tested whether a FreeBSD 7 box is able to handle Gigabit >>> Can anybody point me what the bottleneck of this configuration is? CPU was >>> mostly idle and PCIe 1x should carry way more. Or is the experiment >>> perhaps >>> fundamentally flawed? >> ICMP is not a good way to perform such tests as many have mentioned, >> better use iperf. > > I used this test, because it proved perfect when, almost a decade ago, gigabit > appeared. There wasn't anything at that time that could fill 1 Gbps, so we used > the routers themselves to do the job. Also, I used this setup to avoid TCPs > congestion control mecachnism and sub-maximum bandwidth. > > Of course, when I said "ping -f", I didn't mean a single "ping -f", but rather > enough ping -f so that the looping packets would saturate the link. You can use option -i instead of -f: ping -nqs 1472 -i 0.00001 1.2.3.4 will generate large enougth amount of 1500 bytes packets. Even more, use size more than 1472 and number of packets will be increased. Value of -i parameter can be increased too. But remember about sysctl variable net.inet.ip.maxfragsperpacket. By default, in FreeBSD 6.x it's value is 16. > >> We have a FreeBSD 6.2 / pf box handling 2Gbps of traffic, real traffic, it >> will probably handle more, we just had no capacities or need to test. >> >> Hardware is a Single 2.4 Ghz Xeon with 2 x Intel Quad Pro 1000MT PCI-X >> Controllers on separate PCI-X Busses. > > Could you tell me, is there any difference between 1000PT and 1000MT, except the > slot type? Also, is there any difference between Intel Desktop and Intel Server > adaptors, or are these just marketing buzzwords? > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- Sincerely yours, Artyom Viklenko. ------------------------------------------------------- artem@aws-net.org.ua | http://www.aws-net.org.ua/~artem FreeBSD: The Power to Serve - http://www.freebsd.org