From owner-freebsd-threads@FreeBSD.ORG Tue Jun 15 11:07:08 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCF0616A549; Tue, 15 Jun 2004 11:07:08 +0000 (GMT) Received: from angel.grumly.eu.org (angel.grumly.eu.org [193.138.90.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60E3F43D64; Tue, 15 Jun 2004 11:07:08 +0000 (GMT) (envelope-from ced@grumly.eu.org) Received: by angel.grumly.eu.org (Postfix, from userid 1001) id 7B9B9FDAA; Tue, 15 Jun 2004 13:06:13 +0200 (CEST) Date: Tue, 15 Jun 2004 13:06:13 +0200 From: Cedric Tabary To: freebsd-current@freebsd.org Message-ID: <20040615110613.GB81104@efrei.fr> References: <03db01c4524f$f60d5760$6401a8c0@animal> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.1i X-URL: http://tabary.eu.org/ cc: mike cc: freebsd-threads@freebsd.org Subject: Re: Possible Threading problem with -CURRENT / MySQL? X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 11:07:08 -0000 On 14/06/2004 17:43, Robert Watson wrote: > On Mon, 14 Jun 2004, Lasse Laursen wrote: > > > Also on a SMP machine? I think that the problem is somehow related to > > SMP machines since the problems started when we moved to a SMP box :( > > If you haven't already, it would certainly be worth removing SMP from the > kernel on that box and just running a UP kernel to confirm that it's a > problem using SMP. I don't doubt it's the case, but it's worth checking > anyway to be sure. I have a similar smp config (dell poweredge 2650, dual Xeon 2.8, RAID5) I have best performance with linux 2.4.21-smp (not tried 2.6), but very poor (5x less) with mysqld using libpthreads on CURRENT. mysqld process is always in state 'kserel' or sometimes '*Giant' http://grumly.eu.org/~ced/dmesg.txt http://grumly.eu.org/~ced/CED-SMP.txt (no invariants, no witness) mysqld with linuxthreads seems to work better ... and even better with libc_r (but using only 1 cpu) Everything with HTT disabled in bios. Enabling HTT gives even worst performance :/ -- Cédric Tabary