From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 10:52:18 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B042216A420 for ; Sun, 4 Dec 2005 10:52:18 +0000 (GMT) (envelope-from mv@roq.com) Received: from vault.mel.jumbuck.com (ppp166-27.static.internode.on.net [150.101.166.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 248DD43D5D for ; Sun, 4 Dec 2005 10:52:18 +0000 (GMT) (envelope-from mv@roq.com) Received: from vault.mel.jumbuck.com (localhost [127.0.0.1]) by vault.mel.jumbuck.com (Postfix) with ESMTP id 86DE78A00D; Sun, 4 Dec 2005 21:52:00 +1100 (EST) Received: from [192.168.0.4] (ppp157-158.static.internode.on.net [150.101.157.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vault.mel.jumbuck.com (Postfix) with ESMTP id D36048A00A; Sun, 4 Dec 2005 21:51:59 +1100 (EST) Message-ID: <4392CA5F.1040502@roq.com> Date: Sun, 04 Dec 2005 21:52:15 +1100 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20051202 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Giorgos Keramidas References: <4B3EE484EEA4F344BBB62F8316489986554676@corpsrv.RedMoon.local> <438FB8DD.8000106@roq.com> <20051202115651.GA1811@flame.pc> In-Reply-To: <20051202115651.GA1811@flame.pc> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-questions@freebsd.org, Cody Holland Subject: Re: BSD vs Linux Threads X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2005 10:52:18 -0000 Giorgos Keramidas wrote: >On 2005-12-02 14:00, Michael Vince wrote: > > >>For 6 Linux threads from my benchmarking and from what I have seen >>some peoples posts gives poor performance compared to libthr or >>libpthread I am using more of libthr over libpthread in 6.0 and have >>been benchmarking best results. >> >>Try this in /etc/libmap.conf >>[mysqld] >>libpthread.so.2 libthr.so.2 >>libpthread.so libthr.so >> >> > >Unfortunately, "I have best results with libthr" is completely >worthless, unless you also describe the exact process of the >benchmark and why this particular benchmark is considered very >important for your specific application vs. other types of >workload :/ > > OK well to put it in another way libthr has beaten libpthread (and everything else you can do in FreeBSD such as linux threads) in ANY MySQL benchmark test I have done.