From owner-freebsd-current@FreeBSD.ORG Wed Apr 2 06:45:38 2003 Return-Path: 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 4B4ED37B404 for ; Wed, 2 Apr 2003 06:45:38 -0800 (PST) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2590F43FCB for ; Wed, 2 Apr 2003 06:45:37 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0051.cvx21-bradley.dialup.earthlink.net ([209.179.192.51] helo=mindspring.com) by stork.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 190jUQ-0000iB-00; Wed, 02 Apr 2003 06:45:23 -0800 Message-ID: <3E8AF723.A7D00C14@mindspring.com> Date: Wed, 02 Apr 2003 06:43:47 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Sheldon Hearn References: <20030402070515.40396.qmail@web41803.mail.yahoo.com> <20030402132252.23f4e6f3.Alexander@Leidinger.net> <3E8AEE1E.AB0583B0@mindspring.com> <20030402142935.GA790@starjuice.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4351c49459e4f41d74a4e787fcca89fde350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: Alexander Leidinger cc: csujun@21cn.com cc: current@freebsd.org cc: Jeff Roberson Subject: Re: libthr and 1:1 threading. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 02 Apr 2003 14:45:38 -0000 Sheldon Hearn wrote: > On (2003/04/02 06:05), Terry Lambert wrote: > > > Do I misremember this? If not, does it not apply to UP systems as well? > > > > FWIW: the libc_r reentrancy isn't fixed by a 1:1 model for > > anything but calls for which there are no non-blocking > > alternative kernel APIs. [...long ramble...] When someone asks you a question and you answer it, it's not a "ramble", it's an "answer". 8-). > For all the rambling, I'm happy to report that my SCHED_ULE + libthr > UP workstation feels noticibly more responsive when I have several > Mozilla tabs all loading pages simultaneously while I'm trying to make a > threaded Java IDE do something sensible. You need to read things. I already explained that you were competing unfairly for quantum with other processes, in violation of POSIX.1, by virtue of defaulting to PTHREAD_SCOPE_SYSTEM. If you want to use PTHREAD_SCOPE_SYSTEM, you are supposed to have priviledges. Also, as I suggested, try nice'ing up your old version of Mozilla, and see if that gets you the same priority boost. 8-). > It's possible that I'm actually seeing the impact of other changes that > have been committed in the last week, I suppose. Jeff's recent sceduler changes have improved performance, in general, for most people who have tried them. It's naieve to change 8 or 9 things, and then attribute something as subjective perceived performance to one of them in particular. 8-) 8-). -- Terry