Date: Sat, 24 Jul 1999 17:17:05 -0700 (PDT) From: Tani Hosokawa <unknown@riverstyx.net> To: Francisco Reyes <freyes@inch.com> Cc: Evren Yurtesen <yurtesen@ispro.net.tr>, FreeBSD questions <questions@FreeBSD.ORG> Subject: Re: By default, FreeBSD kernels are not optimized.??? Message-ID: <Pine.LNX.4.10.9907241715330.2175-100000@avarice.riverstyx.net> In-Reply-To: <199907250011.UAA21784@arutam.inch.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 24 Jul 1999, Francisco Reyes wrote: > On Sun, 25 Jul 1999 01:22:07 +0300, Evren Yurtesen wrote: > > >what does this text mean exactly, which is referenced from > >http://www.freebsd.org/handbook/internals-vm.html > > > >By default, FreeBSD kernels are not optimized. > > makeoptions DEBUG="-g" > > makeoptions COPTFLAGS="-O2 -pipe" > > That refers to the C compiler optimizations. > There are different levels and types of optimizations that the compiler > can do and by default FreeBSD IS NOT compiled with any of them. Those optimizations aren't guaranteed to produce any performance increases... in fact, with some of the loop unrolling that some of those optimizations will enable, you may even see performance drops in certain programs. I'd be interested in seeing what kind of gains you'd actually get from 3+. Also, some of those higher optimization levels have been known to product instability and buggy code. --- tani hosokawa river styx internet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.9907241715330.2175-100000>