From owner-freebsd-questions@FreeBSD.ORG Mon May 31 10:14:45 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 B5BEC16A4CE for ; Mon, 31 May 2004 10:14:45 -0700 (PDT) Received: from out006.verizon.net (out006pub.verizon.net [206.46.170.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E41C43D48 for ; Mon, 31 May 2004 10:14:45 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.161.84.3]) by out006.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040531171426.ZUZB3317.out006.verizon.net@[192.168.1.3]>; Mon, 31 May 2004 12:14:26 -0500 Message-ID: <40BB67F1.8030201@mac.com> Date: Mon, 31 May 2004 13:14:25 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 To: hugle References: <1025899241.20040531165223@vkt.lt> <20040531121948.T84772-100000@cactus.fi.uba.ar> <8935715836.20040531193600@vkt.lt> In-Reply-To: <8935715836.20040531193600@vkt.lt> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [68.161.84.3] at Mon, 31 May 2004 12:14:25 -0500 cc: freebsd-questions@freebsd.org Subject: Re: routing for 1000 users and 10Mbit internet. 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: Mon, 31 May 2004 17:14:45 -0000 hugle wrote: [ ... ] > 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)? > ps. what those interrupt means? English as a second language, hmm? Very well: Your network card generates a signal when it receives a network packet and wants the OS to "pay attention". That signal is called an interupt, and has a strong correlation with the term "IRQ". You are seeing lots of interrupts because your router is dealing with lots of packets. It is very likely that you can improve the way your system handles this load by tuning your system better, yes. Read "man tuning", and consider rebuilding your kernel using HZ=1000 or so, and enabling DEVICE_POLLING. You should also make sure you've got good network cards in the machine... -- -Chuck