From owner-freebsd-current@FreeBSD.ORG Wed Nov 15 18:22:22 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D037216A412 for ; Wed, 15 Nov 2006 18:22:22 +0000 (UTC) (envelope-from chrcoluk@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00D1843D5E for ; Wed, 15 Nov 2006 18:22:21 +0000 (GMT) (envelope-from chrcoluk@gmail.com) Received: by nz-out-0102.google.com with SMTP id i11so103637nzh for ; Wed, 15 Nov 2006 10:22:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=B+SZ0neYo7Jx3A9JLRSEQHnnpzC2s9HxMngN41zb78oEOJK4cHrhaZuzUwww1r5CiBybqTy44TcVZZ13MgvyXAa5RU1YsAXfxpuDInZZJGP3hVq9ns4Xx6Y3/P457D25x/57uXgFyk938GI4dCFJLuQZc92O3fdUBcYiGk/DFE4= Received: by 10.35.103.1 with SMTP id f1mr3725027pym.1163614939476; Wed, 15 Nov 2006 10:22:19 -0800 (PST) Received: by 10.35.29.20 with HTTP; Wed, 15 Nov 2006 10:22:19 -0800 (PST) Message-ID: <3aaaa3a0611151022s38655a92ne2a7f450f97975bd@mail.gmail.com> Date: Wed, 15 Nov 2006 18:22:19 +0000 From: Chris To: "David Xu" In-Reply-To: <200611131701.25572.davidxu@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061110151247.GA64530@zone3000.net> <200611130707.10220.davidxu@freebsd.org> <3aaaa3a0611122020n461719nfad2adf378498f5a@mail.gmail.com> <200611131701.25572.davidxu@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: libpthread vs libthr. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2006 18:22:22 -0000 On 13/11/06, David Xu wrote: > On Monday 13 November 2006 12:20, Chris wrote: > > > > Interesting libthr can use system or process scope? as far as I am > > aware it was using whatever the default is for libthr. > > > > Chris > > FreeBSD 6.1, the default is libthr uses process scope, but I know > mysql explicitly uses system scope thread unless you forced it > to use process scope(there is a knob in the ports's Makefile). > if the mysql uses system scope (the default), you should see > the same effect with libpthread, i.e you said it starved your > server. > > David Xu > in that case it was using process scope as I have that knob enabled. thanks Chris