From owner-freebsd-questions Thu Feb 20 11: 4: 3 2003 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 F2D3937B401 for ; Thu, 20 Feb 2003 11:04:01 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 431D243FCB for ; Thu, 20 Feb 2003 11:04:01 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id h1KJ3qTK056330; Thu, 20 Feb 2003 13:03:52 -0600 (CST) (envelope-from dan) Date: Thu, 20 Feb 2003 13:03:52 -0600 From: Dan Nelson To: Will Saxon Cc: questions@FreeBSD.ORG Subject: Re: network tuning Message-ID: <20030220190349.GQ13096@dan.emsphone.com> References: <0E972CEE334BFE4291CD07E056C76ED8CBBC02@bragi.housing.ufl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0E972CEE334BFE4291CD07E056C76ED8CBBC02@bragi.housing.ufl.edu> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Feb 20), Will Saxon said: > From: Dan Nelson [mailto:dnelson@allantgroup.com] > > You first need to determine what is being overloaded. Run top. Is > > ntop running at 100% cpu? If so, you'll need a faster machine. If > > it's close to 100%, bumping debug.bpf_bufsize might help. What are > > the user/system/irq CPU percentages while ntop is running? > > It's pretty close to 100% all the time. I guess I am overestimating > the horsepower of this machine. > > Oddly enough, while ntop itself claims to be using 80-95% of the cpu, > the user/system/irq generally does not add up to 100%. In fact, user > is generally 15-20%, system is 20-50%, irq is <10% and idle is >35% > all the time. That's consistent with a dual-CPU box. The CPU states are for the system as a whole, but the CPU usages in the process listing are per-process. A single CPU-heavy process will cause its process line to hit 100% CPU, but that will only force the User percentage to 50%, since there is antoher CPU sitting idle. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message