Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Feb 2004 19:27:08 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        Dung Patrick <dkt@digitalme.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: [call for helpers!] Tuning for the Beaver Challenge
Message-ID:  <xzpznbsxg5f.fsf@dwp.des.no>
In-Reply-To: <1076348333.b793fda0dkt@digitalme.com> (Dung Patrick's message of "Tue, 10 Feb 2004 01:38:53 %2B0800")
References:  <1076348333.b793fda0dkt@digitalme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dung Patrick <dkt@digitalme.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpznbsxg5f.fsf>