From owner-freebsd-performance@FreeBSD.ORG Thu Feb 14 20:24:11 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 991B616A468 for ; Thu, 14 Feb 2008 20:24:11 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 6B56C13C455 for ; Thu, 14 Feb 2008 20:24:11 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.14.2/8.14.2) with ESMTP id m1EKOA1R089881; Thu, 14 Feb 2008 15:24:10 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id m1EKO9QY079465 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Feb 2008 15:24:09 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200802142024.m1EKO9QY079465@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 14 Feb 2008 15:24:25 -0500 To: Brett Bump From: Mike Tancsa In-Reply-To: <20080214124929.Y75492@mail.rsts.org> References: <20080214114759.R75215@mail.rsts.org> <200802141942.m1EJgrKD079291@lava.sentex.ca> <20080214124929.Y75492@mail.rsts.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: freebsd-performance@freebsd.org 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: Thu, 14 Feb 2008 20:24:11 -0000 At 03:09 PM 2/14/2008, Brett Bump wrote: >On Thu, 14 Feb 2008, Mike Tancsa wrote: > > > At 02:22 PM 2/14/2008, Brett Bump wrote: > > > > >I've recently upgraded a mailserver from a 4.x version to 6.2. > > > > I would say move to 6.3R as its a better release with a lot of bug > > fixes. In terms of your general performance issues, choice of > > hardware really makes a difference as quality of drivers can be an > > issue. You might have a really awesome controller that works well on > > Windows or LINUX, but does not do so well under FreeBSD because there > > isnt any good driver support for it. > >Again, that isn't diagnosing the problem as much as just saying that 5.0 >through 6.2 were all bad releases??? No, but you havent given the list much to go on as to what the problems are or what hardware you are using, or really quantified the issue. By "slow" is the disk blocking on IO ? or are processes blocking on network IO etc etc. 6.2 was not a "bad" release, but 6.3 is better than 6.2. By starting with a more contemporary release, less effort by developers and other users need to be exerted in figuring out if the problem(s) you are running into have already been fixed. >I doubt that can be the case. Why >would the driver support for this machine (working FLAWLESSLY on 4.10) >now have bad drivers (this machine has been running 4.x for 4 years). Because the drivers have changed since 4.10. "improvements" could have introduced regressions... Change in the driver to support newer versions of a chipset might break older chipsets. > > >I'm seeing signal 6's on apache and imapd (never happened before) > > > > Did you do a fresh install or did you try and migrate from RELENG_4 > > to RELENG_6 ? What network card are you using ? What are the errors > > (CRC?). How about a dmesg from the box. > >bge0: Broadcom BCM5704 A2, ASIC rev. 0x2002 >bge1: Broadcom BCM5704 A2, ASIC rev. 0x2002 bge is a good example of a driver that has had a lot of changes and hasnt worked all that well at times.... hence the suggestion to try 6.3 as there have been many bug fixes. Whether or not it fixes your problem its hard to say, but start there to see if things are faster and stable for you etc. e.g. http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c You should also post a full dmesg of the box as well as kernel config etc... what does netstat -ni give and what options do you have on ifconfig ? Are the errors seen on your switch port as well or just in netstat -ni ? >-bash-2.05b$ dmesg >pid 31611 (milter-greylist), uid 25: exited on signal 3 >pid 43464 (httpd), uid 80: exited on signal 6 >pid 86995 (imapd), uid 2151: exited on signal 6 >pid 85706 (httpd), uid 80: exited on signal 6 >pid 87600 (imapd), uid 1376: exited on signal 6 >pid 45621 (httpd), uid 80: exited on signal 6 >pid 45617 (httpd), uid 80: exited on signal 6 > >The greylist entry is a standard 3am cron restart. Why are the processes sigabrting ? Is there anything in the application logs to indicate why they are exiting ? ---Mike