From owner-freebsd-current@FreeBSD.ORG Mon Jul 2 19:06:38 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 7FDD716A46B for ; Mon, 2 Jul 2007 19:06:38 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: from smtp814.mail.ird.yahoo.com (smtp814.mail.ird.yahoo.com [217.146.188.74]) by mx1.freebsd.org (Postfix) with SMTP id 0726113C45A for ; Mon, 2 Jul 2007 19:06:37 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: (qmail 3854 invoked from network); 2 Jul 2007 19:06:36 -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:Cc:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=wvE+u4s5FAmRa6cXGbBk31ji8g5m055zWCt9AhkrLxiDJqg9nPpY6znMgRvC2XvQGgbliPIaeBh1vFb8KfghtMveai3sPBNzHim2dRUIJg+O5scodoR4E1E/54nQIstt9R4V2G28BU8jlMtpfCOOge1eIT8K48Mv5tOKFRAvDug= ; Received: from unknown (HELO w2fzz0vc03.aah-go-on.com) (thomas.sparrevohn@btinternet.com@81.156.175.229 with login) by smtp814.mail.ird.yahoo.com with SMTP; 2 Jul 2007 19:06:36 -0000 X-YMail-OSG: 0Rd0GhMVM1k7tyOlbH2Cfll.FMdHeHsl6_l4QS0UDLs2d6RIUeg2wqIoU4BHOAyklQMG0w2zIbDsrWH7BlJstOn6seixgp7AQ4uqLIk3MLFOpTOyx.K94W3fhtQ- From: Thomas Sparrevohn To: Jeff Roberson Date: Mon, 2 Jul 2007 20:06:35 +0100 User-Agent: KMail/1.9.6 References: <20070701224452.I552@10.0.0.1> <200707021956.01128.Thomas.Sparrevohn@btinternet.com> <20070702120147.F552@10.0.0.1> In-Reply-To: <20070702120147.F552@10.0.0.1> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707022006.35620.Thomas.Sparrevohn@btinternet.com> Cc: freebsd-current@freebsd.org 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 19:06:38 -0000 On Monday 02 July 2007 20:02:41 Jeff Roberson wrote: > On Mon, 2 Jul 2007, Thomas Sparrevohn wrote: > > > 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 > > > > Hi, can you try sysctl kern.sched.steal_busy=1? Please tell me if that > improves things. This will resolve short-term load imbalances by stealing > threads from other processors. > > Thanks, > Jeff > Naturally - It did seem to go idle a lot - I be back in an hour > > > > 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 > > > > > > > > > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > >