From owner-freebsd-performance@FreeBSD.ORG Tue Oct 23 18:13:10 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 C5F1316A41B for ; Tue, 23 Oct 2007 18:13:10 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.237]) by mx1.freebsd.org (Postfix) with ESMTP id 975D513C4AA for ; Tue, 23 Oct 2007 18:13:10 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so769009nzf for ; Tue, 23 Oct 2007 11:13:03 -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:content-transfer-encoding:content-disposition:references; bh=f640NNc0/t9bmNbj1uioFWfv/Q1R91bXR1yNn90FCEk=; b=lDHNCOTiAJnFXQPIUdrKrKsnFZZCF4D5TwYea6ZuqA83Ha3f94P6F6F3zRUACdtz6xlu7739Na2MiT3Ww8gO+eLPcQxUaaMPRnfw9YwdJ0K/lAIfHV0ukD/E+sx+nPWn2q6uuNbP04ExIoP+ufUkute4GMv8ElYVucvv7bflfcg= 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:content-transfer-encoding:content-disposition:references; b=emyAcrNhTjhkZRypmxGBhcpJ/dQRSzXnqb03emuzzMYTICGjITiczRn3H11+UH/WSUZDV8XT1YVAtNdzPbKRdQRWAMlDUUOkwsAd9ZV9SqL3YS3Jio14WXXdp4Yv/F1VBO9G6dhmMQvQJpHEFuOzNaJ4dpVgzr4zjxXqzYSTJdM= Received: by 10.114.106.1 with SMTP id e1mr3865405wac.1193161665480; Tue, 23 Oct 2007 10:47:45 -0700 (PDT) Received: by 10.114.13.15 with HTTP; Tue, 23 Oct 2007 10:47:45 -0700 (PDT) Message-ID: Date: Tue, 23 Oct 2007 10:47:45 -0700 From: "Kip Macy" To: josh.carroll@gmail.com In-Reply-To: <8cb6106e0710230902x4edf2c8eu2d912d5de1f5d4a2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8cb6106e0710230902x4edf2c8eu2d912d5de1f5d4a2@mail.gmail.com> Cc: remy.nonnenmacher@activnetworks.com, 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: Tue, 23 Oct 2007 18:13:10 -0000 On 10/23/07, Josh Carroll wrote: > Hello, > > I posted this to the stable mailing list, as I thought it was > pertinent there, but I think it will get better attention here. So I > apologize in advance for cross-posting if this is a faux pas. :) > > Anyway, in summary, ULE is about 5-6 % slower than 4BSD for two > workloads that I am sensitive to: building world with -j X, and ffmpeg > -threads X. Other benchmarks seem to indicate relatively equal > performance between the two. MySQL, on the other hand, is > significantly faster in ULE. > > I'm trying to understand why ffmpeg and buildworld are slower in ULE > than 4BSD, since it seems to me that ULE was supposed to be the better > scaling scheduler. > > Here is a link to the original thread on the stable mailing list: > > http://lists.freebsd.org/pipermail/freebsd-stable/2007-October/037379.html > > Remy replied with some interesting results for building world between > the two schedulers on an 8-way system. It seems that ULE suffers as > more threads/processes are thrown at it, at least it appears that way > from Remy's data. > > Does anyone have any additional performance tests I can run that might > help indicate where the deficiency is in the ULE scheduler? MySQL > performance is excellent, so I'm wondering if it was tuned to that > particular workload? > > I'm not sure if Remy subscribes to this list, so I am CC'ing him. Hope > you don't mind Remy :) ULE is tuned towards providing cpu affinity compilation and evidently encoding are workloads that do not benefit from affinity. Before we conclude that it is slower, try building with -j5, -j6, j7. -Kip