From owner-freebsd-stable@FreeBSD.ORG Thu Oct 18 16:10:57 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E21816A418 for ; Thu, 18 Oct 2007 16:10:57 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.247]) by mx1.freebsd.org (Postfix) with ESMTP id 3FDF913C442 for ; Thu, 18 Oct 2007 16:10:56 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by ag-out-0708.google.com with SMTP id 35so535996aga for ; Thu, 18 Oct 2007 09:10:56 -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:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=9kdaaP545Us3j+j3gCkBLU54Q3Ta3cXhME8FxeX+Nic=; b=VxzI5VL76RPfxHt0w7RiXeHEzKfgm6+qBNOqbPylxMRj23lroUn1X3brRzCCjkKRvSN5bhDt5ZMKapRoAA1nrsO/qLSVpjNtL/sp4yBBi2zod14ifudW8iV+DFHx/L93j49ILWf16/Y5XWvvBQw4QJaBF7osB1aHxnlzoH+5E4M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rHB0diF5RmmpdFzcv4N1FIWwds3NfT1yecx+LOAC3EYaZkqvphJyoGkbWifEGyH3XX/Iah4bRHkwqeg6jtPmw2pKiUTFCt43SUZ5rZTMcmB/sZZJngleSLMlbhPCYdpTB8umZ54uM6t8WO0LFwqPznlNSBUoOHWVoepkIIVi+hw= Received: by 10.90.99.20 with SMTP id w20mr1229141agb.1192723856280; Thu, 18 Oct 2007 09:10:56 -0700 (PDT) Received: by 10.90.29.9 with HTTP; Thu, 18 Oct 2007 09:10:56 -0700 (PDT) Message-ID: <8cb6106e0710180910u110a1c58tc18f36460ab74776@mail.gmail.com> Date: Thu, 18 Oct 2007 12:10:56 -0400 From: "Josh Carroll" To: freebsd-stable@freebsd.org In-Reply-To: <8cb6106e0710170911x77e72e95qb322f51d84a31813@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8cb6106e0710170911x77e72e95qb322f51d84a31813@mail.gmail.com> Subject: Re: ULE vs. 4BSD in RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 16:10:57 -0000 > I have noticed some performance discrepancies with ULE and 4BSD in > RELENG_7, specifically with ffmpeg. I have all the kernel debugging > options disabled, and as I understand it, the userland debugging is > all off by default in RELENG_7. Here are a couple of additional benchmarks comparing the schedulers on my system: make -j8 -DNOCLEAN buildkernel 4BSD: 3:25.56 ULE: 3:39.20 Difference: -6.6 % ubench (CPU): 4BSD: 1705258 ULE: 1713510 Difference: +0.48 % super-smack (select-key 10 10000): 4BSD: 55044.38 ULE: 68085.21 Difference: +23.69 % super-smack (update-select 10 10000): 4BSD: 16734.15 ULE: 17631.43 Difference: +5.36 % So at least for the MySQL super-smack benchmark (I know it's a rather contrived benchmark), ULE is significantly faster for select-key and a decent improvement for update-select. ubench is about the same, but building a kernel is also slower with ULE. Was ULE tuned with MySQL in mind, without considering other workloads? Are there other benchmarks for "real" workloads I can run to compare (e.g. Apache benchmarks, etc)? I'd like to help in any way I can, so folks can choose the right scheduler for their usage model. Regards, Josh