From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 9 10:27:18 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6433F16A4CE for ; Mon, 9 Feb 2004 10:27:18 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3748A43D1D for ; Mon, 9 Feb 2004 10:27:18 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id B1BC0530D; Mon, 9 Feb 2004 19:27:16 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id E1BCE5309; Mon, 9 Feb 2004 19:27:08 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 7208333C6F; Mon, 9 Feb 2004 19:27:08 +0100 (CET) To: Dung Patrick References: <1076348333.b793fda0dkt@digitalme.com> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Mon, 09 Feb 2004 19:27:08 +0100 In-Reply-To: <1076348333.b793fda0dkt@digitalme.com> (Dung Patrick's message of "Tue, 10 Feb 2004 01:38:53 +0800") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: freebsd-hackers@freebsd.org Subject: Re: [call for helpers!] Tuning for the Beaver Challenge X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 18:27:18 -0000 Dung Patrick writes: > For those optionts CPU_FASTER_5X86_FPU through CPU_UPGRADE_HW_CACHE, > it is suggested by an user in the forum. I would like to see the > comments from the mailing list. If those options are dangerous, then > don't use them. CPU_FASTER_5X86_FPU is not likely to have any positive impact on performance, and fairly likely to render the system unbootable. CPU_UPGRADE_HW_CACHE has absolutely no effect on non-PC98 systems. further comments - - symlink /usr/{src,obj,ports} to /slow/{src,obj,ports} where /slow is a filesystem placed on the outside edge of the disk (to free up space near the spindle for the filesystems actually used by the benchmark) - find out what file system the Linux people are using. if they are using ext2fs or ext3fs, mount your filesystems async. - most of what you put in sysctl.conf is completely irrelevant. the rest needs to be tuned according to the actual needs of the benchmark. - you should not tune kern.maxfiles etc. unless the benchmark actually hits those limits. increasing these numbers reduces the amount of kernel memory available for other purposes. btw, maxfiles and maxfilesperproc are tunable at run time. - most of what you put in make.conf is bogus. just use CPUTYPE ?=3D pentiumpro CFLAGS =3D -O -pipe COPTFLAGS =3D -O -pipe - NOPROFILE has absolutely no impact on performance (except that it shortens 'make world' a little) - you *must* use -CURRENT and not 5.2 as the latter has issues with the aac driver. - don't use apm or acpi on 4.x. - regarding jdk 1.4.2, just use the linux version (and make sure to mount linprocfs). I very much doubt you'll notice a difference in performance. - mysql buffer and cache sizes etc. should imho be the same on all test systems. - some of the "papers" you reference ([3] and [4]) contain more incorrect and dangerous information than useful advice. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no