From owner-cvs-all@FreeBSD.ORG Mon Jun 14 18:22:55 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C75A616A4CE; Mon, 14 Jun 2004 18:22:55 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E52643D2D; Mon, 14 Jun 2004 18:22:55 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i5EILK25037207; Mon, 14 Jun 2004 14:21:20 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i5EILKpL037204; Mon, 14 Jun 2004 14:21:20 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Mon, 14 Jun 2004 14:21:20 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: John Baldwin In-Reply-To: <200406141418.16848.jhb@FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: "David E. O'Brien" Subject: Re: cvs commit: src/sys/amd64/conf GENERIC X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 18:22:55 -0000 On Mon, 14 Jun 2004, John Baldwin wrote: > On Sunday 13 June 2004 07:03 pm, David E. O'Brien wrote: > > obrien 2004-06-13 23:03:57 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/amd64/conf GENERIC > > Log: > > The majority of FreeBSD/amd64 machines are SMP, so use ADAPTIVE_MUTEXES > > by default to improve performance. > > We don't know if it improves performance yet. :) Yeah, as I was mentioning to David over the weekend, it's believed to help performance anecdotally in a number of interesting cases, and if we can show it helps in a majority of interesting cases (and doesn't substantially hurt the others) then I think this should actually be in GENERIC across all platforms, not just amd64. I also found I misunderstood his commit message as it seems to suggest it helps SMP at the cost of UP, but in fact does not say that. Kris reported that he experienced some apparent hangs related to running with ADAPTIVE_MUTEXES and we should resolve if it was actually the cause or whether it just triggered an existing race. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research