From owner-freebsd-net@FreeBSD.ORG Sat Dec 13 10:17:12 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B15616A4CE for ; Sat, 13 Dec 2003 10:17:12 -0800 (PST) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2344343D1F for ; Sat, 13 Dec 2003 10:17:11 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.9p1/8.12.3) with ESMTP id hBDIHA2e079857; Sat, 13 Dec 2003 10:17:10 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id hBDIH6wA079856; Sat, 13 Dec 2003 10:17:06 -0800 (PST) (envelope-from rizzo) Date: Sat, 13 Dec 2003 10:17:06 -0800 From: Luigi Rizzo To: Don Bowman Message-ID: <20031213101706.A79791@xorpc.icir.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from don@sandvine.com on Sat, Dec 13, 2003 at 10:50:33AM -0500 cc: 'DrumFire' cc: net@freebsd.org Subject: Re: how to saturate 100Mbit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2003 18:17:12 -0000 On Sat, Dec 13, 2003 at 10:50:33AM -0500, Don Bowman wrote: ... > There is a netgraph module called ng_source which can do this. > It can achieve about 400Kpps or >1Gbps on a xeon system with > a gigabit card, should be able to saturate a fxp. the fxp has a problem which does not allow it to go above 103/110/120kpps depending on which descriptor model you use, no matter how fast the CPU is. Even not using any special kernel modules, a simple loop over a sendto() on a udp socket can achieve around 500kpps on a 2.4GHz box (em or bge). With some tricks and a sufficiently fast PCI bus you can reach some 750kpps but then it really depends on how fast is your PCI bus. cheers luigi > 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"