From owner-freebsd-performance@FreeBSD.ORG Thu May 22 09:17:13 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 143B137B404 for ; Thu, 22 May 2003 09:17:13 -0700 (PDT) Received: from mail.ubergeeks.com (lorax.ubergeeks.com [209.145.65.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A63243F85 for ; Thu, 22 May 2003 09:17:12 -0700 (PDT) (envelope-from adrian+freebsd-perf@ubergeeks.com) Received: from mail.ubergeeks.com (localhost [127.0.0.1]) by mail.ubergeeks.com (8.12.8p1/8.12.8) with ESMTP id h4MGHB0D054063; Thu, 22 May 2003 12:17:11 -0400 (EDT) (envelope-from adrian+freebsd-perf@ubergeeks.com) Received: from localhost (adrian@localhost)h4MGH81E054060; Thu, 22 May 2003 12:17:11 -0400 (EDT) (envelope-from adrian+freebsd-perf@ubergeeks.com) X-Authentication-Warning: lorax.ubergeeks.com: adrian owned process doing -bs Date: Thu, 22 May 2003 12:17:08 -0400 (EDT) From: Adrian Filipi-Martin Sender: adrian@ubergeeks.com To: patpro In-Reply-To: Message-ID: <20030522121542.H54052@lorax.ubergeeks.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-performance@freebsd.org Subject: Re: threads and performances X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 16:17:13 -0000 On Thu, 22 May 2003, patpro wrote: > Hello, > > I use MySQL on several machines running freeBSD, and I was quite > surprised to read this : > http://jeremy.zawodny.com/blog/archives/000697.html > (and http://jeremy.zawodny.com/blog/archives/000203.html) > > here is the summary of the article : > > MySQL now runs very well on FreeBSD. I'm no longer steering people > toward Linux. There are two important things you should do to make > the FreeBSD/MySQL combo work well: (1) build MySQL with LinuxThreads > rather than FreeBSD's native threads, and (2) use MySQL 4.x or newer. > For more details, keep reading. > > Is this guy more or less wrong in his explanations about threads ? (I > was said so) > As I know nothing about threads, but I noticed a similar behavior on > MacOSX, and MySQL performances are as bad on FreeBSD as on MacOSX, > compared to linux. If you read further down you find that realpath(3) was one of the treading problems when using native threads. A thread-safe version is on -CURRENT and looks to be scheduled for an MFC real soon. Adrian -- [ adrian@ubergeeks.com ]