Date: Thu, 15 Mar 2007 02:47:42 +0100 From: Karol Kwiatkowski <karol.kwiat@gmail.com> To: Gary Kline <kline@tao.thought.org> Cc: freebsd-questions@freebsd.org Subject: Re: Optimizationn questions? Message-ID: <45F8A5BE.20704@gmail.com> In-Reply-To: <20070315011651.GA1524@thought.org> References: <20070315011651.GA1524@thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC2D711D706CAB3D6A10F0EF7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Gary Kline wrote: > Two quick one for kernel and/or compiler wizards: first, is > a 400Mz processor considered a 586 (for my KERNELCONF file)? That depends on processor architecture rather than clock frequency. Have a look at dmesg output - for example, Intel Celeron 400Mhz is a 686 class processor (I686_CPU in the kernel configuration file): % dmesg % [...] % CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU) % [...] > Second, is it safe to do a buildworld with -O3? If there are > stability concerns, I'll go with the default when I rebuild my > 6.2 systems. If you're going to do stability/performance/compatibility tests go ahead. In any other situation just stick with the defaults, which on 6.2-RELEASE for my Celeron are: # (cd /usr/src && make -V CFLAGS ) -O2 -fno-strict-aliasing -pipe -march=3Dpentiumpro Note that '-march=3Dpentiumpro' comes from setting 'CPUTYPE=3Di686' in /etc/make.conf (examples in /usr/share/examples/etc/make.conf). HTH, Karol --=20 Karol Kwiatkowski <karol.kwiat at gmail dot com> OpenPGP 0x06E09309 --------------enigC2D711D706CAB3D6A10F0EF7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF+KXGezeoPAwGIYsRCMfbAKCqzt9ptH6LWvu4yc3YrCRwSKl86wCgl2PN mkDWllebiYTciqKLLMmo5LM= =bSsW -----END PGP SIGNATURE----- --------------enigC2D711D706CAB3D6A10F0EF7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45F8A5BE.20704>