From owner-freebsd-questions@FreeBSD.ORG Tue Jun 24 17:02:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0698737B401 for ; Tue, 24 Jun 2003 17:02:00 -0700 (PDT) Received: from mail.buzzardnews.com (mail.buzzardnews.com [64.235.227.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D12C43FD7 for ; Tue, 24 Jun 2003 17:01:59 -0700 (PDT) (envelope-from shawn@mail.buzzardnews.com) Received: (from shawn@localhost) by mail.buzzardnews.com (8.11.3/8.11.3) id h5P01ui49687; Tue, 24 Jun 2003 17:01:56 -0700 (PDT) Date: Tue, 24 Jun 2003 17:01:55 -0700 From: Shawn Ramsey To: Karl Pielorz Message-ID: <20030624170155.A46097@cpl.net> References: <009701c339ed$b89daf40$85dd75d8@shawn> <512328439.1056443294@Study.tdx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <512328439.1056443294@Study.tdx.com>; from kpielorz@tdx.co.uk on Tue, Jun 24, 2003 at 08:28:14AM +0100 cc: freebsd-questions@freebsd.org Subject: Re: Network Performace X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 00:02:00 -0000 > > with unused USB and onboard NIC which is also not used. Should I be able > > to push more than 100Mb sec with such a system? It is not doing anything > > else, no NAT, one IPFW rule. OS is FreeBSD 4.7-RELEASE. > > All depends how big the packets are etc. - 90% interrupt time is fairly > typical of x86/PC kit shoveling lots of small packets. > > Try looking into FreeBSD's "polling" mode - i.e. interrupt free Network > cards. If your shifting a lot of small packets (such as online gaming stuff > etc.) - you may find your milage pretty limited using standard PC kit - as > the x86 architecture wasn't really designed for shifting lots of small > packets around [as I've seen many a time in the past :(] This router is routing 99% NNTP traffic, so I wouldn't think small packet size would be it. I tried polling, and its greatly increased the amount of "idle CPU", and Interupt is around 20% now... But something is still very wrong performance wise. It has helped, but I still can't push in/out nearly 100Mb/sec. (100Mb in, 100Mb out I mean). A simple FTP transfer locally through the routers gigabit interface causes our internet performance to plummet. I've disabled all the onboard stuff that was sharing IRQs with PCI cards, but I didn't figure that was an issue, didn't make a difference either way. Would the fact the gigabit is on the same PCI bus have any bearing? I would expect to at least get 100BT performance even so, but I don't have any experience with gigabit ethernet...