From owner-freebsd-current@FreeBSD.ORG Tue Jul 17 19:00:38 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D421A16A401 for ; Tue, 17 Jul 2007 19:00:38 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.176]) by mx1.freebsd.org (Postfix) with ESMTP id 60DA213C48E for ; Tue, 17 Jul 2007 19:00:38 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so1054689ika for ; Tue, 17 Jul 2007 12:00:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=CzASGtIag82jNKnl0Jt2drpfFwpxbvZBS3Ow3j13k8/uXOpxicEexR1UllVsRL1mis+L4rMxF5CYilmsB4t6O13c2VSEdExgGbzGSAJSTaOm+ZlTmvPzeliYaH3p9mCec9qzv20DdNvqoOc22yujTyXKppiBQctmiYMJsAt3qSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=KfTmY29E1cYC5dl4LOXD70PVmCRNyKiX6cXdH5JhaCDHJpSY7SQkCwURifO69MgGMO0pjfXNcIkaI+ea1VxhFbT+qDOSpPAepmcws9Hgmoqn8zcAsTIomSWUkDc43SsKvJQ4jR2T6zeFr7x5E7VUQ39EKBJ3Ppp5JTgIH+/YmWc= Received: by 10.78.150.7 with SMTP id x7mr210537hud.1184698837009; Tue, 17 Jul 2007 12:00:37 -0700 (PDT) Received: by 10.78.120.9 with HTTP; Tue, 17 Jul 2007 12:00:36 -0700 (PDT) Message-ID: <3bbf2fe10707171200t4f84084bj8a206268215a9570@mail.gmail.com> Date: Tue, 17 Jul 2007 21:00:36 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Abdullah Ibn Hamad Al-Marri" In-Reply-To: <499c70c0707171155w318ece06j88f31bc19de8776b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070716233030.D92541@10.0.0.1> <469CACEC.1000103@freebsd.org> <576dcbc20707170624kb671fe4ia5ddac21af93eccd@mail.gmail.com> <20070717114147.J92541@10.0.0.1> <499c70c0707171155w318ece06j88f31bc19de8776b@mail.gmail.com> X-Google-Sender-Auth: d1932c9af8d03371 Cc: Jeff Roberson , Claus Guttesen , current@freebsd.org, lveax Subject: Re: ULE/SCHED_SMP diff for 7.0, buildkernel & thanks. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2007 19:00:38 -0000 2007/7/17, Abdullah Ibn Hamad Al-Marri : > On 7/17/07, Jeff Roberson wrote: > > With regards to buildkernel times; I do not want to sacrafice performance > > on other benchmarks to improve buildkernel. The problem is that 4BSD is > > as agressive as possible at scheduling work on idle cores. This behavior > > that helps one buildworld hurts on other, in my opinion, more important > > benchmarks. > > > > For example: http://people.freebsd.org/~jeff/sysbench.png > > > > ULE is 33% faster than SCHED_4BSD at this mysql test. This is a direct > > result of prefering to idle to make more efficient scheduling decisions. > > ULE is also faster at various networking benchmarks for similar reasons. > > > > I also believe that while the real time may be slower on buildworld the > > system and user time will be smaller by a degree greater than the delta in > > real time. This means that while you're building packages you have a > > little more cpu time leftover to handle other tasks. Furthermore, as the > > number of cores goes up things start to tip in favor of ULE although this > > is somewhat because it's harder for even 4BSD to keep them busy due to > > disk bandwidth. > > > > Thanks everyone for testing. Can someone confirm that they have tested > > with x86 rather than amd64? I will probably commit later today. > > > > Thanks, > > Jeff > > Did you compare it to latest Linux fixes? is FreeBSD + ULE + MySQL > still faster than linux? Just look at the link Jeff posted, it seems very well explaining :). Attilio -- Peace can only be achieved by understanding - A. Einstein