From owner-freebsd-questions Sun Apr 15 9:58:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmod.ath.cx (CC2-861.charter-stl.com [24.217.115.99]) by hub.freebsd.org (Postfix) with ESMTP id F2DB637B446 for ; Sun, 15 Apr 2001 09:58:08 -0700 (PDT) (envelope-from ajh3@chmod.ath.cx) Received: by chmod.ath.cx (Postfix, from userid 1001) id 7842DA8D1; Sun, 15 Apr 2001 11:57:03 -0500 (CDT) Date: Sun, 15 Apr 2001 11:57:03 -0500 From: Andrew Hesford To: =?iso-8859-1?Q?Abd=FClkerim_Hasan?= Cc: freebsd-questions@FreeBSD.ORG Subject: Re: why does BSD use so much cpu ? Message-ID: <20010415115703.A8207@cec.wustl.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from a_hasan1@hotmail.com on Sun, Apr 15, 2001 at 03:32:28PM +0300 X-Loop: Andrew Hesford Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Apr 15, 2001 at 03:32:28PM +0300, Abdülkerim Hasan wrote: > I use FreeBSD4.2 stable and only works squid(2.3) proxy on it.When > squid is used by clients BSD uses %40-60 cpu(s) (Certainly this > value changes according to use) > > My machine has multi processor, 512 Mbytes ram > How can I reduce cpu usage ? > will it be problem the server working like this ? Can you tell me why you need the CPU usage lower? What makes it a good thing that your server is doing absolutely nothing most of the time? Since it's not running at 100% all the time, there is no problem here. In fact, I would argue this is a good thing, since you know your machine is making good use of its time. This is not a problem for your server--you shouldn't be concerned until you have around 90% usage all the time, even when the machine doesn't seem to be doing anything. -- Andrew Hesford ajh3@chmod.ath.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message