From owner-freebsd-current@FreeBSD.ORG Mon Jun 4 00:43:51 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0C9016A421 for ; Mon, 4 Jun 2007 00:43:51 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.freebsd.org (Postfix) with ESMTP id B00F913C45B for ; Mon, 4 Jun 2007 00:43:51 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from hymn03.u.washington.edu (hymn03.u.washington.edu [140.142.12.169]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.05) with ESMTP id l540hpfJ016644 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 3 Jun 2007 17:43:51 -0700 Received: from localhost (localhost [127.0.0.1]) by hymn03.u.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l540hpN6028995 for ; Sun, 3 Jun 2007 17:43:51 -0700 X-Auth-Received: from [134.134.136.3] by hymn03.u.washington.edu via HTTP; Sun, 03 Jun 2007 17:43:51 PDT Date: Sun, 3 Jun 2007 17:43:51 -0700 (PDT) From: youshi10@u.washington.edu To: current@freebsd.org In-Reply-To: <499c70c0706031729t6a4f6b1cubf0ac50b3963036b@mail.gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.6.3.172652 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='NO_REAL_NAME 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Cc: Subject: Re: Call for testers, significant sched_lock patch. 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: Mon, 04 Jun 2007 00:43:51 -0000 On Mon, 4 Jun 2007, Abdullah Ibn Hamad Al-Marri wrote: > On 6/1/07, Jeff Roberson wrote: >> I am going to commit a patch that goes significantly towards decomposing >> the scheduler lock into per-cpu scheduler locks. Before this, I would >> like it if a few more people would run it under more circumstances than I >> have. The patch is available at: >> >> http://people.freebsd.org/~jeff/threadlock.diff >> >> So far Kris Kennaway and myself have tested it fairly thoroughly on amd64 >> machines with 1-8 processors. We've mainly done various benchmarks as >> well as Peter Holm's stress2 suite. It has survived our testing so this >> isn't totally unstable code. I would like it if more people would test >> on any other architecture you have available. I have also tested with >> 4BSD and ULE with and without INVARIANTS and WITNESS. >> >> This patch should have 0 or almost 0 effect on performance. It sets the >> stage for a drop-in replacement for ULE that has per-cpu run queue locks. >> That scheduler has a sometimes dramatic effect on performance, depending >> on the workload. I'm mostly looking for regressions here and not any >> particular perf impact. >> >> Any questions on the design of the approach should be directed at the >> arch@ topics on the subject. >> >> Thanks, >> Jeff > > I wish we could try it in i386, do you have plans to do it? > > > -- > Regards, > > -Abdullah Ibn Hamad Al-Marri > Arab Portal > http://www.WeArab.Net/ I'll give it a test on my desktop, once I can verify that the changes to bind and world are sound. -Garrett