From owner-freebsd-stable@FreeBSD.ORG Sat Jun 11 08:02:38 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A13E16A41C for ; Sat, 11 Jun 2005 08:02:38 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DDE743D49 for ; Sat, 11 Jun 2005 08:02:37 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so991074nzo for ; Sat, 11 Jun 2005 01:02:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TaY5RPiGsPyPVcdZsoWK1aV3QaDf1Y40QzcOQ7jP19BMT70sfm7CqsyeC0kYkcUzLkITn206TcPrB09B7WiwzEWmukIQLpt5b+sNI1yDn6hNfB2PrbrMwUeaJXnkA9l2sH4XPgvybTcFVYjUQEkMgiKTGp2JLdS4yoKGrlOGzgE= Received: by 10.36.90.14 with SMTP id n14mr1687098nzb; Sat, 11 Jun 2005 01:02:32 -0700 (PDT) Received: by 10.36.88.8 with HTTP; Sat, 11 Jun 2005 01:02:32 -0700 (PDT) Message-ID: Date: Sat, 11 Jun 2005 16:02:32 +0800 From: Jiawei Ye To: Robert Watson In-Reply-To: <20050611085604.J75625@fledge.watson.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <746fd037f6ca8131a8fb8938f1e346e9@lonres.com> <20050610170537.GA67849@bibipentium.lonres.com> <20050611085604.J75625@fledge.watson.org> Cc: Steve Roome , freebsd-stable@freebsd.org Subject: Re: FreeBSD MySQL still WAY slower than Linux X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jiawei Ye List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jun 2005 08:02:38 -0000 On 6/11/05, Robert Watson wrote: > I think there's a compile-time option to make libpthread use system sco= pe > threads but the details ellude me. The Linuxthreads library may well > provide a substantial improvement -- not as good for MySQL as the 6.x > libthr, but perhaps much more appropriate than libpthread. It is a sysctl in -current "kern.threads.thr_scope", it had a different name under 5-stable but does the same thing I think. Jiawei --=20 "Without the userland, the kernel is useless." --inspired by The Tao of Programming