From owner-freebsd-threads@FreeBSD.ORG Tue Feb 10 17:08:14 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E466016A4CE for ; Tue, 10 Feb 2004 17:08:14 -0800 (PST) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id DECA843D1D for ; Tue, 10 Feb 2004 17:08:14 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc13) with ESMTP id <2004021101081201500cbkqee>; Wed, 11 Feb 2004 01:08:13 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id RAA86948; Tue, 10 Feb 2004 17:08:12 -0800 (PST) Date: Tue, 10 Feb 2004 17:08:10 -0800 (PST) From: Julian Elischer To: Craig Rodrigues In-Reply-To: <20040211005752.GA90415@crodrigues.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org Subject: Re: Question about threads [beaver challenge] X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 01:08:15 -0000 On Tue, 10 Feb 2004, Craig Rodrigues wrote: > On Tue, Feb 10, 2004 at 06:22:28PM -0500, Daniel Eischen wrote: > > That's why I wanted to know what top -H showed. We saw the > > same problem with python -- it was using system scope threads > > by default. The port has since been changed to use process > > scope threads. > > Is this a Linux-ism that we will need to be aware of > for other ports that use pthreads? process scope threads a re perfectly reasonable.. they however use more resources and are more heavily limitted. On the other hand process scope threads can lead to nasty surprises with the limits as they can "suddenly" hit th ekernel limit after running usccessfully for a time when they all (by some fluke) all decide to enter the kernel at the same time. We probably should increase the limits from 150 and 50 to 600 and 300 or something. > > -- > Craig Rodrigues > http://crodrigues.org > rodrigc@crodrigues.org > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" >