Download Intel(R) Math Kernel Library for Linux* OS User's Guide

Transcript
6
Intel® Math Kernel Library User’s Guide
FFT Functions
Additional conditions can improve performance of the FFT functions.
Applications based on the IA-32 or Intel® 64 architecture. The addresses of the first
elements of arrays and the leading dimension values, in bytes (n*element_size), of
two-dimensional arrays should be divisible by cache line size, which equals:
•
32 bytes for the Intel® Pentium® III processors
•
64 bytes for the Intel® Pentium® 4 processors and processors using Intel® 64
architecture
Applications based on the IA-64 architecture. Leading dimension values, in bytes
(n*element_size), of two-dimensional arrays should not be a power of two.
Hardware Configuration Tips
Dual-Core Intel® Xeon® processor 5100 series systems. To get the best Intel MKL
performance on Dual-Core Intel® Xeon® processor 5100 series systems, enable the
Hardware DPL (streaming data) Prefetcher functionality of this processor. To configure this
functionality, use the appropriate BIOS settings, as described in your BIOS documentation.
The use of Hyper-Threading Technology. Hyper-Threading Technology (HT Technology) is
especially effective when each thread performs different types of operations and when
there are under-utilized resources on the processor. However, Intel MKL fits neither of
these criteria because the threaded portions of the library execute at high efficiencies using
most of the available resources and perform identical operations on each thread. You may
obtain higher performance by disabling HT Technology. See Using the Intel® MKL
Parallelism for information on the default number of threads, changing this number, and
other relevant details.
If you run with HT enabled, performance may be especially impacted if you run on fewer
threads than physical cores. Moreover, if, for example, there are two threads to every
physical core, the thread scheduler may assign two threads to some cores and ignore the
other cores altogether. If you are using the OpenMP* library of the Intel Compiler, read the
respective User Guide on how to best set the thread affinity interface to avoid this
situation. For Intel MKL, you are recommended to set
KMP_AFFINITY=granularity=fine,compact,1,0.
Managing Multi-core Performance
You can obtain best performance on systems with multi-core processors by requiring that
threads do not migrate from core to core. To do this, bind threads to the CPU cores by
setting an affinity mask to threads. Use one of the following options:
6-16