From owner-freebsd-current@FreeBSD.ORG Mon Jun 4 00:29:49 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 C6AF916A400 for ; Mon, 4 Jun 2007 00:29:49 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id 81A8F13C457 for ; Mon, 4 Jun 2007 00:29:49 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so349681anc for ; Sun, 03 Jun 2007 17:29:48 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=auFeUsJx8nkSLKVpNloPV4/RS7N3U/Vh2+pbpYMwXPzD6Xf6LalU8lVM5c0AQEbPmyHT8Vd1UKBeA+Vfxr/SnH1TNU/F+XNwajA2n5jpXdWbfqsRVZ2POgl1vRVkVvyuE1GIfp8l6JF2aCfSTAQ8pJONW6v0lpPuwyDACnebP5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XzVLLYr377wiMxvIe6b7nEiW15XtgEYHFzzjiykfSwdQBrzW23uUcf0d5xTRXV6/vx/5M9qKaafFd0MGCE2pyW6SBx977MXWzDD1yT5iSlaJL7lo9SV7FL/bJG/Hm1bemKLvh/pXQMBD3eSQc/XOa1uECyyR3M1QGUxkAY+nzbQ= Received: by 10.100.166.14 with SMTP id o14mr2293850ane.1180916988501; Sun, 03 Jun 2007 17:29:48 -0700 (PDT) Received: by 10.100.9.14 with HTTP; Sun, 3 Jun 2007 17:29:48 -0700 (PDT) Message-ID: <499c70c0706031729t6a4f6b1cubf0ac50b3963036b@mail.gmail.com> Date: Mon, 4 Jun 2007 03:29:48 +0300 From: "Abdullah Ibn Hamad Al-Marri" To: "Jeff Roberson" In-Reply-To: <20070531232525.X799@10.0.0.1> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070531232525.X799@10.0.0.1> Cc: current@freebsd.org 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:29:49 -0000 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/