Important: You are required to change your passwords used for Gentoo services and set an email address for your Wiki account if you haven't done so. See the full announcement and Wiki email policy change for more information.

Intel Core 2

From Gentoo Wiki
Jump to: navigation, search

This article describes the setup of an Intel Core 2 Solo/Duo/Quad processor.

32-bit vs 64-bit

This processor supports both the 32-bit and 64-bit mode. You read about general pros and cons at the Wikipedia. By now only very few applications don't 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 your BIOS.

Kernel

You need to activate the following kernel options:

  • For a single-core processor:
Kernel configuration

Processor type and features  --->
    Subarchitecture Type ()  --->
        (X) PC-compatible
    Processor family ()  --->
        (X) Core 2/newer Xeon
  • For a dual- or quad-core processor:
Kernel configuration

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

File/etc/portage/make.conf

USE="... mmx sse sse2 sse3 ssse3 ..."

# Penryn and newer
USE="... mmx sse sse2 sse3 ssse3 sse4 sse4a sse4_1..."

# 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}"

# Intel Core 2 Solo
MAKEOPTS="-j2"

# Intel Core 2 Duo
MAKEOPTS="-j3"

# Intel Core 2 Quad
MAKEOPTS="-j5"


→ Information about USE flags
USE flag Default Recommended Description
mmx Yes Yes Adds support for optimizations for Pentium MMX and Athlon class processors
sse Yes Yes fast floating point optimization for PentiumIII+ class chips
sse2 Yes Yes faster floating point optimization for SSE2 capable chips
sse3 No Yes Streaming SIMD Extensions 3
ssse3 No Yes Supplemental Streaming SIMD Extensions 3
sse4 No Yes Streaming SIMD Extensions 4

Advanced Configuration

Temperature sensor

See the lm sensors article and activate the kernel driver coretemp.

Virtualization

Most of these processors support Intel VT. Exceptions are:

  • Merom <T5600
  • Allendale E4xxx
  • E7xxx

See the Category:Virtualization.