12.07.2015 Views

download

download

download

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 6You do not have to enable the kern.polling.enable sysctl variablethat is obsolete. Setting this variable to 1 will enable polling on allcapable interfaces.The /etc/make.conf fileWhen you compile something from the source code in FreeBSD, the default setof parameters will be passed to the compiler. As you can change some of theseparameters globally, they can be applied to most applications that you compile onyour machine.A good example of this would be the CPU optimizations and hardware specificparameters that may lead your compiler to produce more efficient and optimizedbinary code. This is especially useful when using ports or rebuilding world.Most of these settings can be controlled from the /etc/make.conf file. There area few variables that can be set in this file, which have a direct effect on yourcompiler behavior.CPUTYPEThe CPUTYPE variable specifies your processor type so that the compiler will producethe optimized binary code for your specific processor. A list of supported processorscan be found in the /usr/share/examples/etc/make.conf file.If you are using an Intel Core Duo processor, you will want to set this variable to"core2" in the /etc/make.conf file:CPUTYPE?=core2Make sure you choose the correct processor type by reviewing boot messages (ordmesg(8) output). Otherwise, the binary code may not run properly on your system.A list of currently supported processor optimizations that are available can be foundin the following table:Processor FamilyIntel IA32Intel IA64AMDCPUTYPE valuecore2, core, Nocona, pentium4m, pentium4, prescott,pentium3m, pentium3, Pentium-m, pentium2itanium, itanium2opteron, athlon64, athlon-mp, athlon-xp, athlon-4,athlon-tbird, athlon, k8, k6-3, k6-2, k6, k5[ 97 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!