From owner-freebsd-performance@FreeBSD.ORG Sun Feb 17 15:51:33 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B498616A417 for ; Sun, 17 Feb 2008 15:51:33 +0000 (UTC) (envelope-from gemini@geminix.org) Received: from geminix.org (geminix.org [213.73.82.81]) by mx1.freebsd.org (Postfix) with ESMTP id 7C43C13C45B for ; Sun, 17 Feb 2008 15:51:33 +0000 (UTC) (envelope-from gemini@geminix.org) Message-ID: <47B857FB.9090700@geminix.org> Date: Sun, 17 Feb 2008 16:51:23 +0100 From: Uwe Doering Organization: Private UNIX Site User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 SeaMonkey/1.1.8 (Ubuntu-1.1.8+nobinonly-0ubuntu1) MIME-Version: 1.0 To: Brett Bump References: <20080214114759.R75215@mail.rsts.org> <47B49A16.1080103@FreeBSD.org> <20080214131026.Y75492@mail.rsts.org> <47B4C19F.6000900@palisadesys.com> <20080214154528.N75492@mail.rsts.org> <47B4E0A6.3010205@geminix.org> <20080215083930.P79197@mail.rsts.org> In-Reply-To: <20080215083930.P79197@mail.rsts.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Received: from gemini by geminix.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JQlnY-000Ow9-Ig; Sun, 17 Feb 2008 16:51:24 +0100 Cc: freebsd-performance@freebsd.org, Guy Helmer Subject: Re: System perforamance 4.x vs. 5.x and 6.x X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2008 15:51:33 -0000 Brett Bump wrote: > On Fri, 15 Feb 2008, Uwe Doering wrote: > >> Have you tried sorting this list alphabetically? Believe it or not, >> when I tried to use Apache 1.3.x with PHP 5.2.x with extensions in >> arbitrary order I got inexplicable crashes, too. >> >> Now, of course it was just a coincidence that it worked for me after >> sorting the extension list. What this in fact points to is that the >> order of extensions can be important in that list, for whatever reason. >> For me it worked after sorting the list, but YMMV. Might be worth a >> try, though. > > Ran it stock, sorted, read a thread a while back about someone who thought > you should have mysql first, then imap, then blah blah blah, nothing made > any difference. The machine tends to always show about 98% memory used, > although at any point in time 1/2 of that could be inact. This is normal. FreeBSD uses almost all RAM for caching purposes if it isn't needed otherwise. > The malloc > errors in the apache logs made me consider the idea of adding more memory > to the box (but there are always pundits that say, "wow, more than 2g?"). As long as swap is barely touched (as I believe you stated in another mail) too little RAM is not your problem. However, 'RAM' brings me to another possibility. There have been reports in the past that certain BIOSes can cause some parts of the RAM to be uncached, which would result in anemic server performance under load. You may want to check with memcontrol list that all relevant memory regions are set to 'write-back'. Note that regions not mentioned explicitly are normally dealt with by a catch-all line towards the end of the list. IIRC, doing a BIOS upgrade usually fixed the problem, but that is of course not guaranteed. Regards, Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers gemini@geminix.org | http://www.escapebox.net