From owner-freebsd-performance@FreeBSD.ORG Wed Apr 20 03:55:48 2005 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2947116A4CE for ; Wed, 20 Apr 2005 03:55:48 +0000 (GMT) Received: from smtp814.mail.sc5.yahoo.com (smtp814.mail.sc5.yahoo.com [66.163.170.84]) by mx1.FreeBSD.org (Postfix) with SMTP id E61EC43D1F for ; Wed, 20 Apr 2005 03:55:47 +0000 (GMT) (envelope-from g_jin@lbl.gov) Received: from unknown (HELO ?192.168.2.11?) (jinmtb@sbcglobal.net@68.127.155.26 with plain) by smtp814.mail.sc5.yahoo.com with SMTP; 20 Apr 2005 03:55:47 -0000 Message-ID: <4265D2D3.9040302@lbl.gov> Date: Tue, 19 Apr 2005 20:56:03 -0700 From: "Jin Guojun [VFFS]" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050108 X-Accept-Language: zh, zh-CN, en MIME-Version: 1.0 To: Bruce Evans References: <20050419183335.F18008131@joshua.stabbursmoen.no> <42655887.7060203@alumni.rice.edu> <4265724A.1040705@stabbursmoen.no> <42657420.3040104@he.iki.fi> <20050419214644.GB3656@technokratis.com> <20050420123251.A85348@delplex.bde.org> In-Reply-To: <20050420123251.A85348@delplex.bde.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 20 Apr 2005 12:22:23 +0000 cc: Eivind Hestnes cc: performance@freebsd.org cc: Bosko Milekic cc: Petri Helenius Subject: Re: Performance Intel Pro 1000 MT (PWLA8490MT) X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 03:55:48 -0000 Bruce Evans wrote: > On Tue, 19 Apr 2005, Bosko Milekic wrote: > >> My experience with 6.0-CURRENT has been that I am able to push at >> least about 400kpps INTO THE KERNEL from a gigE em card on its own >> 64-bit PCI-X 133MHz bus (i.e., the bus is uncontested) and that's > > > A 64-bit bus doesn't seem to be essential for reasonable performance. > > I get about 210 kpps (receive) for a bge card on an old Athlon system > with a 32-bit PCI 33MHz bus. Overclocking this bus speeds up at least > sending almost proportionally to the overclocking :-). This is with > my version of an old version of -current, with no mpsafenet, no driver > tuning, and no mistuning (no INVARIANTS, etc., no POLLING, no HZ > 100). > Sending goes slightly slower (about 200 kppps). Yes, 64-bit is not essential for getting 400~700 Mbps as long as the system has enough high memory bandwidth, but it is essential to get full Gigabits. Simple numbers are in "Tips" section at the bottom of the following page: http://www-didc.lbl.gov/NCS/generic/ncs-00.html and the details are described in the papers linked. P.S. Question the unit "kpps" used in original email. I am not sure what this really means. GigE is possible to produce 400 kpps if packet size is 300 bytes or less. If packet size is 1500 byte, the maximum pps is 83k (83kpps). But, 200-400 kbps is kind low, maybe I missed some previous emails. -- ------------ Jin Guojun ----------- v --- jin@george.lbl.gov --- Distributed Systems Department http://www.dsd.lbl.gov/~jin Lawrence Berkeley National Laboratory, Berkeley, CA 94720