From owner-freebsd-current@FreeBSD.ORG Mon Jul 2 18:56:04 2007 Return-Path: X-Original-To: freebsd-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 7446916A400 for ; Mon, 2 Jul 2007 18:56:04 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: from smtp807.mail.ird.yahoo.com (smtp807.mail.ird.yahoo.com [217.146.188.67]) by mx1.freebsd.org (Postfix) with SMTP id D9A6413C44B for ; Mon, 2 Jul 2007 18:56:03 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: (qmail 8567 invoked from network); 2 Jul 2007 18:56:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Received:X-YMail-OSG:From:To:Subject:Date:User-Agent:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=n2GEAQoOP2MR2dypw8Kj4p+u45hXiAvLlOcsTsAYJhoKmT+oh4AHgWih7XMeXQTDQrhd4EfoFzH8IRPkEnlc0QiAjuBQIsRbMRThtpao9+3dIqHsWNSuOOgQssQQl7BYUmmgtDzQE4olRmvwSEAXLY7SJ+/F+hTTDCQx7bNAAUU= ; Received: from unknown (HELO w2fzz0vc03.aah-go-on.com) (thomas.sparrevohn@btinternet.com@81.156.175.229 with login) by smtp807.mail.ird.yahoo.com with SMTP; 2 Jul 2007 18:56:02 -0000 X-YMail-OSG: r3kzIPAVM1mlcosRfmRKi3CCnJHGJGFGL2zIGWOben0H97_mNFERivil1Mi5JQSx3w0k771hwQ-- From: Thomas Sparrevohn To: freebsd-current@freebsd.org Date: Mon, 2 Jul 2007 19:56:00 +0100 User-Agent: KMail/1.9.6 References: <20070701224452.I552@10.0.0.1> <499c70c0707020950p180d88e1q109b1a1c820d8283@mail.gmail.com> In-Reply-To: <499c70c0707020950p180d88e1q109b1a1c820d8283@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707021956.01128.Thomas.Sparrevohn@btinternet.com> Subject: Re: New SCHED_SMP diff. 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, 02 Jul 2007 18:56:04 -0000 On Monday 02 July 2007 17:50:44 Abdullah Ibn Hamad Al-Marri wrote: > On 7/2/07, Jeff Roberson wrote: > > I fixed a major bug in SCHED_SMP that impacted some users causing bad > > performance and invalid load counts. Attilio also added support for i386 > > based machines. I have tested on UP which works although INVARIANTS and > > WITNESS don't work properly on UP kernels. Single processor SMP kernels > > work fine. > > > > This diff also includes another patch that I intend to commit to current > > which significantly improved write performance for mysql by removing > > all use of Giant in fcntl(). > > > > Please report any stability or performance problems with this patch. The > > more positive reports I get the more likely it will go into 7.0. > > > > Thanks, > > Jeff > > Jeff, > > This makes my Intel C2D E6660 get really busy, and MySQL 5.0.41 from > ports run faster :) > > Thanks for making such great SCHED, when will you make it in the tree? :) > Hmm - Weird it gives negative results on my C2D XQ6700 - I ran four tests using "make world" benchmark - I am using ZFS for all filesystems except root - however I would not think that matters - I tested with "-j 8" and "-j 4" but it did not change the overall result SCHED_SMP - rm -rf /usr/obj/* && /usr/bin/time -l make -j 4 buildworld 1272.53 real 2482.83 user 945.08 sys 1268.45 real 2483.46 user 950.95 sys 1274.19 real 2481.91 user 953.19 sys 1292.27 real 2482.59 user 957.37 sys 2423814 voluntary context switches 885934 involuntary context switches SCHED_4BSD - rm -rf /usr/obj/* && /usr/bin/time -l make -j 4 buildworld 1125.28 real 2675.17 user 1055.18 sys 1124.74 real 2684.95 user 1057.64 sys 1123.76 real 2678.64 user 1061.89 sys 1120.68 real 2676.78 user 1061.03 sys 2587885 voluntary context switches 708274 involuntary context switches