From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 19:02:45 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99B3D16A4CE for ; Tue, 12 Apr 2005 19:02:45 +0000 (GMT) Received: from yertle.kcilink.com (yertle.kcilink.com [65.205.34.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id D870F43D39 for ; Tue, 12 Apr 2005 19:02:44 +0000 (GMT) (envelope-from vivek@khera.org) Received: from [192.168.7.103] (host-103.int.kcilink.com [192.168.7.103]) by yertle.kcilink.com (Postfix) with ESMTP id 397EFB850; Tue, 12 Apr 2005 15:02:44 -0400 (EDT) In-Reply-To: <20050413000852.9F7C.NCISOFT@163.com> References: <20050331232901.BC1B.NCISOFT@163.com> <424C1F3C.4020208@bmby.com> <20050413000852.9F7C.NCISOFT@163.com> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-30--266107039; protocol="application/pkcs7-signature" Message-Id: From: Vivek Khera Date: Tue, 12 Apr 2005 15:02:42 -0400 To: Young Lee X-Mailer: Apple Mail (2.619.2) X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 5.3 SMP freezes with MySQL 4.1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 19:02:45 -0000 --Apple-Mail-30--266107039 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Apr 12, 2005, at 12:23 PM, Young Lee wrote: > I had repeated the panic by reset debug.mpsafenet from 0 to 1, > after that, the system automatically reboot after several hours, > and if debug.mpsafenet was set to 0, the system is stable. > > so i guess this is a tcp stack or NIC driver SMP thread-safe issue, > normally my server got over 1000 interrupts/s on bge, I have plan > to replace the onboard bge NIC to fxp and set debug.mpsafenet > to 1 to see what will happen this week. > I just did the exact same thing: disable motherboard bge in preference to em (intel) on a PCI card, and have had 100% stable for the last 6 days. Normally every night during heavy network backup and database reporting the bge ports would either be reset after watchdog timeout, or the whole system would freeze with nothing logged to console, screen, or BIOS... so going 6 days without any events leads me to point a big hairy finger at bge driver. Even with mpsafenet=0, I was having these timeouts and lockups, and bad performance thrown in. :-( I run with mpsafenet default and the em ethernet driver. Be sure to disable the onboard bge in your BIOS. I'm on a dual opteron Tyan S2881 motherboard, for what that's worth. FreeBSD 5.4-STABLE from April 4 is my OS. My guess is with the intel NIC you will find yourself much more stable. On my lesser loaded machines the bge driver holds up ok. Vivek Khera, Ph.D. +1-301-869-4449 x806 --Apple-Mail-30--266107039--