From owner-freebsd-threads@FreeBSD.ORG Sat May 22 07:21:55 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 EAC2216A4CE for ; Sat, 22 May 2004 07:21:55 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94D6D43D39 for ; Sat, 22 May 2004 07:21:55 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id i4MELh8Q024387; Sat, 22 May 2004 10:21:43 -0400 (EDT) Date: Sat, 22 May 2004 10:21:43 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: JG In-Reply-To: <5.2.0.9.2.20040521215952.0166c368@mail.ojoink.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org Subject: Re: Why is MySQL nearly twice as fast on Linux? 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: Sat, 22 May 2004 14:21:56 -0000 On Fri, 21 May 2004, JG wrote: > >You can also build mysql with LinuxThreads under FreeBSD > >and see if it performs any better. > > LinuxThreads is not available for FreeBSD/AMD64. > > However, as reported on the freebsd-amd64 thread list archive, > sadly, the best configuration turned out to be running this 64-bit AMD64 > hardware in 32-bit mode under _i386_ FreeBSD rather than FreeBSD/AMD64 > with mysql compiled with linuxthreads -- and those results were still very poor > compared to a "out of the box" Linux + mysql install. > > > If it is comparable, > >that would tend to point to the kernel as the limiting > >factor. > > There is a significant improvement when using LinuxThreads vs > libpthreads or libc_r, others have reported no difference with libthr > as well. Can you point to the results (same hardware, native linux vs libpthread vs linuxthreads)? There is too much volume on amd64 to go searching. -- Dan Eischen