From owner-freebsd-performance@FreeBSD.ORG Wed Nov 7 01:10:17 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 520A416A418 for ; Wed, 7 Nov 2007 01:10:17 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 152E913C49D for ; Wed, 7 Nov 2007 01:10:16 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.100] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id lA71AAgS073046 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 6 Nov 2007 20:10:12 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Tue, 6 Nov 2007 17:12:02 -0800 (PST) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: Josh Carroll In-Reply-To: <8cb6106e0711050141g674a7733h53f7e6a20e75ad07@mail.gmail.com> Message-ID: <20071106171059.M544@10.0.0.1> References: <8cb6106e0710230902x4edf2c8eu2d912d5de1f5d4a2@mail.gmail.com> <8cb6106e0711021839i4714bdfbh74d412b3e14e808@mail.gmail.com> <8cb6106e0711031227t1e829969s2e6062e1db5167af@mail.gmail.com> <20071103121921.M544@10.0.0.1> <8cb6106e0711031416l4183e2beueb87fade0d56f504@mail.gmail.com> <20071103133711.Q544@10.0.0.1> <8cb6106e0711032221i2ecf1d59ge82f368d4162a827@mail.gmail.com> <20071104122546.S544@10.0.0.1> <8cb6106e0711041243s37ef92e3i9c5c79827f547dbb@mail.gmail.com> <20071104151722.M544@10.0.0.1> <8cb6106e0711050141g674a7733h53f7e6a20e75ad07@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-performance@freebsd.org 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, 07 Nov 2007 01:10:17 -0000 On Mon, 5 Nov 2007, Josh Carroll wrote: >> Turns out the last patch I posted had a small compile error because I >> edited it by hand to remove one section. Here's an updated patch that >> fixes that and changes the min/max slice values to something more >> reasonable. Slice min should be around 4 with a max of 12. >> >> Also looks like 4BSD's slice handling got more precise recently as well. >> jhb changed it from using a callout to an actual counter based on runtime. > > ffmpeg runtime with the new patch: 1:39.09 > > buildworld: 13:55.689 > > Looks like things got a little worse with this patch. One thing of > note, the slice_min and slice values are: > > kern.sched.slice_min: 5 > kern.sched.slice: 13 That's expected due to the fuzzy rounding of 128 / 10, etc. Can you set slice_min and slice both equal to 7 and see if the numbers come out better than without the patch but with a slice value of 7? Basically I'm trying to isolate the effects of the different slice handling in this patch from the other changes. Thanks, Jeff > > Did I do something wrong to cause the slice min to be 5 instead of 4 > and the max to be 13 instead of 12? > > Thanks, > Josh > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org" >