This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Intel Core 2
This article describes the setup of an Intel Core 2 Solo/Duo/Quad processor.
The Intel Core 2 line of processors supports both the 32-bit and 64-bit mode. The general pros and cons can be read about in the Wikipedia article. By now only very few applications do not support 64-bit mode or work in a 32-bit compatibility mode.
Installation
BIOS
With a dual or quad core check first, if all of them are enabled:
user $
cat /proc/cpuinfo
If not, enable options like APIC
, MultiCore
, etc. in the BIOS.
Kernel
Activate the following kernel options.
For a single-core processor:
Processor type and features ---> Subarchitecture Type () ---> (X) PC-compatible Processor family () ---> (X) Core 2/newer Xeon
For a dual- or quad-core processor:
Processor type and features ---> [*] Symmetric multi-processing support Subarchitecture Type () ---> (X) PC-compatible Processor family () ---> (X) Core 2/newer Xeon dual-core (2) Maximum number of CPUs (2-256) quad-core (4) Maximum number of CPUs (2-256)
Software
CPU_FLAGS_X86="mmx sse sse2 sse3 ssse3"
/etc/portage/make.conf
Penryn and newerCPU_FLAGS_X86="mmx sse sse2 sse3 ssse3 sse4 sse4a sse4_1"
/etc/portage/make.conf
CFLAGS# Note: -fomit-frame-pointer only makes a difference on x86 since it is included in -O2 on amd64 CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}"
/etc/portage/make.conf
MAKEOPTS (Intel Core 2 Solo)MAKEOPTS="-j2"
/etc/portage/make.conf
MAKEOPTS (Intel Core 2 Duo)MAKEOPTS="-j3"
/etc/portage/make.conf
MAKEOPTS (Intel Core 2 Quad)MAKEOPTS="-j5"
Temperature sensor
See the lm sensors article and activate the kernel driver coretemp.
Virtualization
Most of these processors support Intel VT. Exceptions include:
- Merom <T5600
- Allendale E4xxx
- E7xxx
See the Virtualization category.
See also
- Intel microcode — describes the process of updating the microcode on Intel processors.
- Power management/Processor — describes the setup of power management for processors
- CPU_FLAGS_X86 — an USE_EXPAND variable containing instruction set and other CPU-specific features