From owner-freebsd-performance@FreeBSD.ORG Wed Oct 24 17:12:23 2007 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FF7C16A421 for ; Wed, 24 Oct 2007 17:12:23 +0000 (UTC) (envelope-from mgowda82@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.230]) by mx1.freebsd.org (Postfix) with ESMTP id E1A2C13C4AA for ; Wed, 24 Oct 2007 17:12:22 +0000 (UTC) (envelope-from mgowda82@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so228033nzf for ; Wed, 24 Oct 2007 10:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; 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:references; bh=yJFXsusxMFwzlMuD2I0+fSP901/7X+Bj83EC97MfGNA=; b=b+Y4KG4iBj19sj8KvMBBoK+DsffRU0/79/MB4bpnJLX6A7vW8oL7W4+4b9Scly/AsEZX4gMu4aRv2GqrxnLCnxYHb7ohtFn9+yj9J/DhO2VUlpbgbPKzMPL/MB5L6VWlkzYkN4haKXvdB8kTj95PpeMdpAjvGiov5FVNrrdty9A= 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:references; b=NmB3jYw6/y0b5mFTxypbTJ5s4pCnKRQZKb1EBi3rm2d95YP1EbRZjb5DusTfvZSgHwfSxkmIt127PzgalH61DBZdJUyjnxVPg+Zl1ODkcqC6bh7gUFTgw2bYrqtSTxhUxhwbHo1rzCMmv+GeB+HH2ojVxHItAh5xj6gGMdqNshc= Received: by 10.142.174.8 with SMTP id w8mr241977wfe.1193244222149; Wed, 24 Oct 2007 09:43:42 -0700 (PDT) Received: by 10.142.192.12 with HTTP; Wed, 24 Oct 2007 09:43:42 -0700 (PDT) Message-ID: Date: Wed, 24 Oct 2007 09:43:42 -0700 From: "Manjunath R Gowda" To: josh.carroll@gmail.com In-Reply-To: <8cb6106e0710240907p28f351f1w3d638e578a4aeb42@mail.gmail.com> MIME-Version: 1.0 References: <8cb6106e0710230902x4edf2c8eu2d912d5de1f5d4a2@mail.gmail.com> <471E343C.2040509@FreeBSD.org> <20071024171915.E84143@delplex.bde.org> <8cb6106e0710240639r20e03ce9w81ed3354338b7395@mail.gmail.com> <20071024113434.326c3749@pleiades.nextvenue.com> <8cb6106e0710240839h1a59f9f9y919e6b297c3efb8e@mail.gmail.com> <20071024114954.5ea1b37b@pleiades.nextvenue.com> <8cb6106e0710240907p28f351f1w3d638e578a4aeb42@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Nick Evans , remy.nonnenmacher@activnetworks.com, Kris Kennaway , freebsd-performance@freebsd.org, Bruce Evans Subject: Re: ULE vs. 4BSD in RELENG_7 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2007 17:12:23 -0000 On 10/24/07, Josh Carroll wrote: > > > Yes, that's the proper default. You could try setting steal_thresh to 1. > I > > noticed a problem with building ports on an 8 core Xeon system while 8 > > distributed.net crunchers were running. The port build would proceed > > incredibly slowly, steal_thresh=1 helped a little bit. It might not make > up > > the 5% gap you're seeing though. During early ULE2/3 testing the other > > variables Jeff recommended trying were sched.pick_pri (which I never saw > > effect from), sched_tryself and sched.balance. They're all bools IIRC. > Since > > this workload is a bit different from any of mine it would be worthwhile > to > > try those variables. > > Thanks for the information. Setting sched_tryself to 0 improved things > slightly. sched.balance didn't seem to help. I'm trying to > increase/decrease the balance_interval to see if that helps. It's worth noting that there are kernel threads competing to run as well. For example ithread and taskqueue threads. How does ULE differentiate and schedule I/O bound threads?