From owner-freebsd-performance@FreeBSD.ORG Mon Nov 5 09:42:02 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 DCE8116A419 for ; Mon, 5 Nov 2007 09:42:02 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id 8E1F013C48E for ; Mon, 5 Nov 2007 09:42:02 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so3081307pyb for ; Mon, 05 Nov 2007 01:41:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=OPCdtrGq3LrKa1KTK97Te5Dm+DSDgeYa6gC/lmLhNuI=; b=VnhHECgnYxRu1P/vztAt5kdQorkUgOE38kdiIbOZFfN56vOg1jF7Aj66u4Wpf60jgOFxhf4zbvm7yM4ERE5Ynx6niGDbfO7voNt5iTUDK+rG5R/1GcB851n+k8zQ8nBPhG/IRxRmyyLVpwJP+A62M3A5/BvFhOglVgq3UIdlRHs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NuCPOUIuNapueZdyfRbJ4oFpW5mBz6GEkxv+ZAe5C0ilOTyEXaGLgl8vAAxqrFFRH8rxPWkw7tCz9hGq9k47nphVxQMEhOoN0cLUqA1OyZmhQEKI84pO47xyDgGEjrgfsrJ9elZ/dBW5DqJbMFEWoV1swnx3Do4hBJmpwO+SK7A= Received: by 10.35.38.17 with SMTP id q17mr5886844pyj.1194255713875; Mon, 05 Nov 2007 01:41:53 -0800 (PST) Received: by 10.35.110.17 with HTTP; Mon, 5 Nov 2007 01:41:53 -0800 (PST) Message-ID: <8cb6106e0711050141g674a7733h53f7e6a20e75ad07@mail.gmail.com> Date: Mon, 5 Nov 2007 01:41:53 -0800 From: "Josh Carroll" To: "Jeff Roberson" In-Reply-To: <20071104151722.M544@10.0.0.1> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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> 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 Reply-To: josh.carroll@gmail.com List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 09:42:02 -0000 > 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 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