From owner-freebsd-performance@FreeBSD.ORG Sun Nov 4 21:25:39 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 803FC16A474 for ; Sun, 4 Nov 2007 21:25:39 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 461AA13C491 for ; Sun, 4 Nov 2007 21:25:39 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.100] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id lA4LPQAv027031 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sun, 4 Nov 2007 16:25:28 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Sun, 4 Nov 2007 13:27:24 -0800 (PST) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: "Gelsema, P (Patrick) - FreeBSD" In-Reply-To: <1698.10.202.77.103.1194211291.squirrel@webmail.superhero.nl> Message-ID: <20071104132540.S544@10.0.0.1> References: <1698.10.202.77.103.1194211291.squirrel@webmail.superhero.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2007 21:25:39 -0000 On Sun, 4 Nov 2007, Gelsema, P (Patrick) - FreeBSD wrote: > Hi Jeff, > > I tried your patch. Ran a buildkernel, timed. Recompiled kernel including > your patch, rebooted and reran. Please find results below. > > w/o patch > hulk# time make -j8 buildkernel > 837.808u 138.167s 10:28.96 155.1% 6349+1349k 2873+7780io 303pf+0w > > w patch > hulk# time make -j8 buildkernel > 838.554u 168.316s 10:52.10 154.4% 6263+1332k 6489+7791io 11pf+0w > > I only understand the 10:52 seconds thing, but it looks like it's > stressing less and still getting things done. > Well this doesn't look very good at all. System time increased by 30 seconds! Must be too many extra context switches. The minimum slice value is probably too small and you've got an average of 4 threads per-core. Can you try re-running with kern.sched.slice_min = 4 and kern.sched.slice = 12 ? Can you tell me how 4BSD does on this machine? Thanks, Jeff > System is AMD Athlon X264 2.2Ghz > > Kernel is GENERIC. > hulk# uname -a > FreeBSD hulk.superhero.nl 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Sun Nov 4 > 20:30:23 UTC 2007 root@hulk.superhero.nl:/usr/obj/usr/src/sys/GENERIC > amd64 > > I see you have a new patch. Could you send that to me? When I download it > from the mailman site I get weird characters in the downloaded file :( > > Cheers > > Patrick >