From owner-freebsd-questions@FreeBSD.ORG Wed Jun 25 01:16:29 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 38E4A37B401 for ; Wed, 25 Jun 2003 01:16:29 -0700 (PDT) Received: from mx0.dmpriest.net.uk (mx0.dmpriest.net.uk [62.13.128.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75A1743FB1 for ; Wed, 25 Jun 2003 01:16:27 -0700 (PDT) (envelope-from kpielorz@tdx.co.uk) Received: from raptor (kpielorz.dmpriest.net.uk [62.13.130.13]) by mx0.dmpriest.net.uk (8.11.6/8.11.6/Kp) with ESMTP id h5P8EM035706; Wed, 25 Jun 2003 09:14:22 +0100 (BST) Date: Wed, 25 Jun 2003 09:16:21 +0100 From: Karl Pielorz To: Shawn Ramsey Message-ID: <57377156.1056532581@raptor> In-Reply-To: <20030624170155.A46097@cpl.net> References: <009701c339ed$b89daf40$85dd75d8@shawn> <512328439.1056443294@Study.tdx.com> <20030624170155.A46097@cpl.net> X-Mailer: Mulberry/3.0.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 08:16:29 -0000 --On 24 June 2003 17:01 -0700 Shawn Ramsey wrote: >> 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... That's certainly a step in the right direction :) > 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... The only thing I can suggest is try different PCI slots, or Gigabit cards, or, worst case a different system. Having NIC's on separate PCI busses (as opposed to both on the same PCI bus) may help it [But that's probably going to need a new board etc.] You don't say what Gigabit nic's your using? - I've had a lot of varied results with different nic's, with surprisingly cheap 10/100/1000Mbit cards giving 'reasonable' performance - but get left standing for dust by other more expensive cards. The only other thing I can think of is, check the duplex/media options are all setup properly on the cards / switches etc. - or try forcing things to fdx etc. -Kp