OpenMP - Thread Affinity

Thread Affinity

Some vendors recommend setting the processor affinity on OpenMP threads to associate them with particular processor cores. This minimizes thread migration and context-switching cost among cores. It also improves the data locality and reduces the cache-coherency traffic among the cores (or processors).

Read more about this topic:  OpenMP

Famous quotes containing the word thread:

    We construct a narrative for ourselves, and that’s the thread that we follow from one day to the next. People who disintegrate as personalities are the ones who lose that thread.
    Paul Auster (b. 1947)