Skip to contentSkip to conversation

Xeon 5500 series support in kernel

DISCUSSION xb 4 participants 6 messages Jul 2, 2009 – Jul 5, 2009

lore
Share & tools
lore

xb

author
#0 lore raw

Hi all,

I wonder if there are specific kernel configuration parameters that allow to optimize performances on the recent Xeon 5500 processors (aka Nehalem). In particular, should we set CONFIG_GENERIC_CPU or CONFIG_MCORE2 on such processors ?
Thanks in advance.
Xavier

#1 lore raw
Quoted 3 lines · xb

I wonder if there are specific kernel configuration parameters that allow to optimize performances on the recent Xeon 5500 processors (aka Nehalem).

The most important optimization is to use a 64bit kernel with NUMA support enabled (even if you use 32bit userland)

Quoted 2 lines

In particular, should we set CONFIG_GENERIC_CPU or CONFIG_MCORE2 on such processors ?

The kernel doesn't really care about compiler optimizations, so it shouldn't make any difference. CONFIG_GENERIC_CPU is fine.

-Andi

Signature · 1 line
[email protected] -- Speaking for myself only.
#2 lore raw

On 2 Jul 2009, Andi Kleen outgrape:

Quoted 8 lines
Quoted 3 lines · xb

I wonder if there are specific kernel configuration parameters that allow to optimize performances on the recent Xeon 5500 processors (aka Nehalem).

The most important optimization is to use a 64bit kernel with NUMA support enabled (even if you use 32bit userland)

Surely NUMA only benefits you if you have a >1 socket system? Where's the nonuniform access on a 1-socket machine? Every core is as far from all the RAM as every other core, isn't it?

#3 lore raw
Quoted 4 lines · Nix

On 2 Jul 2009, Andi Kleen outgrape:

Quoted 2 lines

xb <[email protected]> writes:

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

I wonder if there are specific kernel configuration parameters that allow to optimize performances on the recent Xeon 5500 processors (aka Nehalem).

The most important optimization is to use a 64bit kernel with NUMA support enabled (even if you use 32bit userland)

Surely NUMA only benefits you if you have a >1 socket system? Where's

Xeons are typically multi socket. On single socket the overhead of a NUMA kernel is negligible, so it's best to enable it always.

There are actually some use cases of NUMA kernel code for single socket too, e.g. it is sometimes used to isolate different applications on the VM level.

-Andi

Signature · 1 line
[email protected] -- Speaking for myself only.
#4 lore raw

Hi Andi,

a general question with regard to the new intel nehalem platform:

Which linux version is needed for an intel nehalem based xeon in view of the new intel 5500/5520 chipset drivers?

Does it work with 2.6.18? (Debian Etch)

thanks

--

Morten

#5 lore raw
Quoted 7 lines · Morten P.D. Stevens

Hi Andi,

a general question with regard to the new intel nehalem platform:

Which linux version is needed for an intel nehalem based xeon in view of the new intel 5500/5520 chipset drivers?

Does it work with 2.6.18? (Debian Etch)

You would need backported drivers for Ethernet etc; the plain integrated drivers in 2.6.18 will not work. The e1000 project at sourceforge has driver backports for Ethernet.

I don't know if Debian does regular backports of drivers, some other distributions with support for old kernels do.

Also some power saving features and performance features
which are related to power saving (turbo mode) will not work in that old a kernel. For full performance it's better to use newer kernels or kernels with appropiate backports.

-Andi

Signature · 1 line
[email protected] -- Speaking for myself only.