From owner-freebsd-hackers Fri Sep 6 12:52:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFE3237B409 for ; Fri, 6 Sep 2002 12:52:36 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB75543E42 for ; Fri, 6 Sep 2002 12:52:35 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.5/8.12.5) with ESMTP id g86JqUKD019160; Fri, 6 Sep 2002 13:52:30 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.5/8.12.5/Submit) id g86JqUYw019159; Fri, 6 Sep 2002 13:52:30 -0600 (MDT) (envelope-from ken) Date: Fri, 6 Sep 2002 13:52:30 -0600 From: "Kenneth D. Merry" To: Terry Lambert Cc: Dan Ellard , hackers@FreeBSD.ORG Subject: Re: gigabit NIC of choice? Message-ID: <20020906135229.A18971@panzer.kdm.org> References: <3D78E69C.4152CC8@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D78E69C.4152CC8@mindspring.com>; from tlambert2@mindspring.com on Fri, Sep 06, 2002 at 10:32:12AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Sep 06, 2002 at 10:32:12 -0700, Terry Lambert wrote: > Dan Ellard wrote: > > What's the gigabit ethernet NIC of choice these days? (I've had good > > experiences with the NetGear G620T, but apparently this card is no > > longer being sold.) > > > > I'm looking for: > > > > - Easy FreeBSD integration. > > - Reliability. > > - High performance. > > The Tigon II has the best performances, but that's because > software people rewrote the firmware, instead of hardware > engineers moonlighting as programmers. 8-) 8-). You'll get good performance with the Tigon II with jumbo frames under -current with ZERO_COPY_SOCKETS and TI_JUMBO_HDRSPLIT turned on. Note that "good performance" == "lower CPU utilization" here, although it is difficult to see any improvement in -current with SMP enabled, and the improvement isn't as large in UP mode as it used to be. You can easily get wire rates with jumbo frames with a Tigon II without zero copy, given a reasonably fast machine. (At least on -stable. Reasonably fast == 1GHz Pentium III, 64 bit PCI.) With 1500 byte frames, though, the Tigon II won't perform as well as some other controllers. For most folks, performance with 1500 byte frames is what matters, since you usually need a jumbo-capable gigabit switch to take advantage of jumbo frames in anything more than a point to point environment. The modifications I made to the Tigon firmware (the ones that are in FreeBSD) are actually relatively minor. The main "trick" is to make sure that the header is in its own scatter/gather element, so the payload will be page aligned. (Assuming the second and subsequent scatter/gather elements are page aligned.) So if your workload consists of jumbo frames for the most part, and receive performance is important, I would suggest a Tigon II-based board, like the GA620T, if you can find one. (Obviously that's getting more and more difficult nowadays.) Otherwise, I would suggest another card with better performance with 1500 byte frames. (I haven't done any tests with other boards, so I can't make specific recommendations.) Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message