From owner-freebsd-threads@FreeBSD.ORG Thu Jun 17 06:37:40 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 725F316A4CE for ; Thu, 17 Jun 2004 06:37:40 +0000 (GMT) Received: from cmsrelay03.mx.net (cmsrelay03.mx.net [165.212.11.112]) by mx1.FreeBSD.org (Postfix) with SMTP id E6F1743D2F for ; Thu, 17 Jun 2004 06:37:39 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from uadvg130.cms.usa.net (165.212.11.130) by cmsoutbound.mx.net with SMTP; 17 Jun 2004 06:35:44 -0000 Received: from optimator.noacks.org [70.240.243.152] by uadvg130.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.13N) with ESMTP id 825iFqgjQ0291M30; Thu, 17 Jun 2004 06:35:41 GMT X-USANET-Auth: 70.240.243.152 AUTH noackjr@usa.net optimator.noacks.org Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 0B0216134; Thu, 17 Jun 2004 01:35:41 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08574-05; Thu, 17 Jun 2004 01:35:39 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id CFBFF617E; Thu, 17 Jun 2004 01:35:39 -0500 (CDT) Received: from [127.0.0.1] (localhost.noacks.org [127.0.0.1]) by compgeek.noacks.org (8.12.11/8.12.11) with ESMTP id i5H6ZZBg067028; Thu, 17 Jun 2004 01:35:35 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <40D13BB6.3020709@alumni.rice.edu> Date: Thu, 17 Jun 2004 01:35:34 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 0.6 (X11/20040531) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brad Knowles References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: freebsd-threads@freebsd.org cc: mike cc: Robert Watson cc: Julian Elischer cc: freebsd-current@freebsd.org Subject: Re: Possible Threading problem with -CURRENT / MySQL? X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 06:37:40 -0000 On 06/17/04 01:07, Brad Knowles wrote: > At 1:31 AM -0400 2004-06-17, Robert Watson wrote: >> - Removing Giant from UNIX domain sockets > > Out of curiosity, is this something that could be relatively safely > done in general? Any ideas on what the plan is for doing this as the > default on -CURRENT? Wasn't this already done? See this commit: http://lists.freebsd.org/pipermail/cvs-src/2004-June/025082.html >> - Disabling HTT - Using ADAPTIVE_MUTEXES > > These both sound like typical improvements, based on what I've seen > on this list. Any ideas on when they might become the default? ADAPTIVE_MUTEXES was already enabled by default on amd64. See this commit (read thread for discussion): http://lists.freebsd.org/pipermail/cvs-src/2004-June/025234.html It appears no comprehensive testing has been done to check whether it really does improve performance. Many signs do point that way, though. >> - Running with SCHED_4BSD instead of SCHED_ULE > > This is the only one that really concerns me. This shows that we > clearly need more work on ULE. Is there one particular thing that we > seem to be tripping up on, or is it a multitude of things? I think I'll switch to 4BSD until I see more work being done on ULE (I read cvs-src as a hobby already so I'll know when to switch back). I noticed a performance drop from 5.2.1-p8 (with 4BSD) to -CURRENT (with ULE) when I upgraded, but I attributed it to other things. However, the system still feels slower than before despite having since disabled INVARIANTS, WITNESS, and userspace malloc debugging flags. Jon Noack