From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 00:19:02 2004 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 32D0716A4CF for ; Tue, 1 Jun 2004 00:19:02 -0700 (PDT) Received: from calypso.bi.lt (calypso.bi.lt [213.226.153.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E0A443D62 for ; Tue, 1 Jun 2004 00:19:01 -0700 (PDT) (envelope-from hugle@vkt.lt) Received: by calypso.bi.lt (Postfix, from userid 506) id 9AD825982EF; Tue, 1 Jun 2004 10:19:02 +0300 (EEST) X-Original-To: freebsd-questions@freebsd.org Received: from vkt-dell (lan1.vkt.lt [213.226.136.201]) by calypso.bi.lt (Postfix) with ESMTP id CCEA7598243; Tue, 1 Jun 2004 10:19:01 +0300 (EEST) Date: Tue, 1 Jun 2004 10:18:47 +0300 From: hugle Organization: VKT X-Priority: 3 (Normal) Message-ID: <17388683440.20040601101847@vkt.lt> To: Bill Moran , freebsd-questions@freebsd.org In-Reply-To: <40BBBDC9.8090807@potentialtech.com> References: <8935715836.20040531193600@vkt.lt> <20040531142628.E90411-100000@cactus.fi.uba.ar> <553059104.20040601002503@vkt.lt> <40BBBDC9.8090807@potentialtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re[2]: routing for 1000 users and 10Mbit internet. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hugle List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 07:19:02 -0000 BM> hugle wrote: >> FG> On Mon, 31 May 2004, hugle wrote: >> >>>>dammit.. >>>>why then my users eats so much CPU? >>>>look: >>>>CPU states: 0.0% user, 0.0% nice, 0.8% system, 38.0% interrupt, 61.2% idle >>>>Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free >>>> >>>>I have only 61% idle ? >>>>usualy i have ~50 idle.. >>>>now I have P4 2.4GHZ >>>> >>>>maybe my setup is bad (kernel I mean)? >> >> FG> My guess is either cheap hardware (NIC) or bad tuning. What NICs are you >> FG> using? >> >> I'm using Intel cards (fxp) at the moment. But from reading the posts >> I've decided to buy GBIT NIC. >> Now the dilema is what brand name.. INTEL or 3COM ? maybe you guys >> could advice? BM> I've always had good results with fxp cards. how much users do you have? and what model? >> And yes, my PC is dealing with lots of network traffic.. It's a >> gateway + shaping. It deals with almost 1000 users.. >> >> Will this PC (p4 2.4GHZ) deal with 10mbit internet? as a gateway + >> shaper ? with one GBIT NIC connected to 100Mbit swith? BM> A gbit NIC isn't going to run at gbit speed on a 100mbit switch. I know, but as I know it'll have more memory, buffer or smth like that. which somehow will help to deal with the problem, right? BM> I would look elsewhere than the NIC. Intel NICs are good units (in my experience, BM> if someone knows of problems with them, please speak up) from systam -v: 481 fxp0 irq12 226 fxp1 irq3 317 fxp2 irq7 I think it is quite high? right? BM> Read the polling man page and see if it will help you.