From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 22 19:12:15 2010 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C81B1065674 for ; Mon, 22 Mar 2010 19:12:15 +0000 (UTC) (envelope-from mpeirwe@ymail.com) Received: from n71.bullet.mail.sp1.yahoo.com (n71.bullet.mail.sp1.yahoo.com [98.136.44.36]) by mx1.freebsd.org (Postfix) with SMTP id 63BD08FC16 for ; Mon, 22 Mar 2010 19:12:15 +0000 (UTC) Received: from [69.147.84.144] by n71.bullet.mail.sp1.yahoo.com with NNFMP; 22 Mar 2010 18:58:36 -0000 Received: from [67.195.9.83] by t6.bullet.mail.sp1.yahoo.com with NNFMP; 22 Mar 2010 18:58:36 -0000 Received: from [67.195.9.99] by t3.bullet.mail.gq1.yahoo.com with NNFMP; 22 Mar 2010 18:58:33 -0000 Received: from [127.0.0.1] by omp103.mail.gq1.yahoo.com with NNFMP; 22 Mar 2010 18:58:33 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 200868.36195.bm@omp103.mail.gq1.yahoo.com Received: (qmail 26367 invoked by uid 60001); 22 Mar 2010 18:58:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1269284313; bh=t5/ZApw9oUvwSb9KP2HtqJieiGjcHFaOjvaRLVPa/a8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=vcKb70URYsgFvIqkyhGhvb2MmzIb2H1A/woo9fQTrA2yXeoGSrwnnbW5mZeYMKDL2NxuINJqQ8o+gDKIMPMdJpyun6OyD4/3rC31mFeur9eYUaOEXJmb0rAAnKmJe6wCArLTae26g/8cBLBLJXd/nhPeyoJ/7QUa9+ljMRC+kI0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=Vyw1CNs+fZr1z47++T/bL2gyiAQPidxocn5YaWhqe8lbaAwdkxF+nVTjCDU6s0qm1P142PYgRSF5ZnfgiMFp5XfXzoCHo43n5O6DNyK0utxnKttrYYUnFkh6ltvQPOa1tCadK/2TBle+0f1xJupiDJkx28UYpWktIeEbskglBNw=; Message-ID: <985049.26017.qm@web114111.mail.gq1.yahoo.com> X-YMail-OSG: UWx306MVM1loYAOJa29eYZh_qkzNHA2nF5nRNkhHZvnKFzA 5qH.K6kzoaA4Dixd5mnGwWJWc955bKPkDpCYnZdyqWGMzqq6izX8ndUcc40M oNjZuQaU72pBVexHiogmCRy3X5ebEHEmtg4rVx3uNHpbXpeOt85q31khl9Xd 785Zd6vL_stLY_..IMEl4.qRxscbXSS.h2mwhGL1Py5kMlOj4FAMtgx.xO_s NEvLXH0hWhJ6oodIte77o.hwv0OTMtsiZh1wWkEXcda20xrO3azxxeaZfq5q 7dwJKZmmsECmZvvyQ18BmwkdECSIYsg-- Received: from [41.221.87.249] by web114111.mail.gq1.yahoo.com via HTTP; Mon, 22 Mar 2010 11:58:32 PDT X-Mailer: YahooMailRC/324.3 YahooMailWebService/0.8.100.260964 References: <720362.1757.qm@web114108.mail.gq1.yahoo.com> <7d6fde3d1003221049i4338d474jf842a2d153023953@mail.gmail.com> Date: Mon, 22 Mar 2010 11:58:32 -0700 (PDT) From: Johnson Mpeirwe To: Garrett Cooper In-Reply-To: <7d6fde3d1003221049i4338d474jf842a2d153023953@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-amd64@freebsd.org Subject: Re: Linux pthreads for AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2010 19:12:15 -0000 Thanks, I meant non-NPTL threads which were working very well with MySQL 5.1 on a 32bit FreeBSD 6.2 installation. I was looking for a FreeBSD thread library that I can try other than libthr. Regards, Johnson ________________________________ From: Garrett Cooper To: Johnson Mpeirwe Cc: freebsd-amd64@freebsd.org Sent: Mon, March 22, 2010 8:49:08 PM Subject: Re: Linux pthreads for AMD64 On Mon, Mar 22, 2010 at 9:44 AM, Johnson Mpeirwe wrote: > Hello, > > Are Linux threads available for FreeBSD 7.2 AMD64? I am trying to compile MySQL5.5 server on a FreeBSD 7.2 AMD64 System with 16 CPUs and 12GB RAM. After running into performance issues (MySQL is painfully slow) when compiled with FreeBSD's native libthr, I have tried recompiling with the libpthread library but failed as follows: > > /usr/ports/databases/mysql55-server# make WITH_LINUXTHREADS=yes > ... > ... > ===> Extracting for mysql-server-5.5.1 > => MD5 Checksum OK for mysql-5.5.1-m2.tar.gz. > => SHA256 Checksum OK for mysql-5.5.1-m2.tar.gz. > ===> Patching for mysql-server-5.5.1 > ===> Applying FreeBSD patches for mysql-server-5.5.1 > ===> mysql-server-5.5.1 depends on shared library: lthread - not found > ===> Verifying install for lthread in /usr/ports/devel/linuxthreads > ===> linuxthreads-2.2.3_24 is only for i386, while you are running amd64. > *** Error code 1 > > Stop in /usr/ports/devel/linuxthreads. > *** Error code 1 > > Stop in /usr/ports/databases/mysql55-server. Do you mean NPTL threading or non-NPTL (linuxthreads) threading? If you meant the latter, that should be dead and gone by now (it has been dead for quite some time in glibc at least...). Thanks, -Garrett