From owner-freebsd-performance@FreeBSD.ORG Sat Nov 10 03:02:31 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 96A8F16A419 for ; Sat, 10 Nov 2007 03:02:31 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.freebsd.org (Postfix) with ESMTP id 0C71813C48A for ; Sat, 10 Nov 2007 03:02:30 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so30619pyb for ; Fri, 09 Nov 2007 19:02:20 -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=mDWWmZnjqrKw2vLBGt8K3h7ttqzvhSM7tUmopi9geAM=; b=oMYLQPdP9NUOQG8k+k/+FOAEHaUxlOAk06xw60xHlO2V5AZXqNYzooLVQrYe4HYN8x6IO69uU2/URM5YXLGMcYavROAABWH9clsI58pms4n79s35w+xEPmSlIq98msMtZFJ3WQ8k6hHU0MDqB2dTmn2dQMu8t1+ZtthKsAz4W7s= 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=SDRtDhGpTSLdFowQclmu7fzYlXSJRjNxZlPsnRrQdyJbyQYYHJJEa9SURTMa9LLgC1nPpZHBdkDE/Lxds8cbSr4D8zbr84CJzAK52br8jpxdJFWX+jzjTrwMPNPVfNZp2xoPGiWyJelw8BAF/azbWpJPLF2JtzFX7piFAc0W7xs= Received: by 10.35.65.17 with SMTP id s17mr2837079pyk.1194663319839; Fri, 09 Nov 2007 18:55:19 -0800 (PST) Received: by 10.35.57.12 with HTTP; Fri, 9 Nov 2007 18:55:19 -0800 (PST) Message-ID: <8cb6106e0711091855x1305ee2bt6d57696df7c7564@mail.gmail.com> Date: Fri, 9 Nov 2007 18:55:19 -0800 From: "Josh Carroll" To: "Jeff Roberson" In-Reply-To: <20071109145827.W639@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> <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> <20071106171059.M544@10.0.0.1> <8cb6106e0711062136r18ca8e67sbdb4d4372e10e086@mail.gmail.com> <20071109145827.W639@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: Sat, 10 Nov 2007 03:02:31 -0000 > Josh, I had an interesting thought today. What if the reason 4BSD is > faster is because it distributes load more evenly across all packages > because it distributes randomly? ULE distributed across cores evenly but > not packages. Can you try the attached patch? This also turns the > default slice size down but does not contain the other context switch > performance improvements. Hi Jeff, here are the results: ffmpeg: 1:38.885 sysbench: (4,8,12,16 threads respectively): 2221.93 2327.87 2292.49 2269.29 And buildworld: 13m47.052s Much improved! :) Josh